Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.18.0 #1826

Merged
merged 294 commits into from
Feb 17, 2024
Merged

3.18.0 #1826

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
294 commits
Select commit Hold shift + click to select a range
07d98ad
Merge branch 'v3.18.0' into bug/SKALED-1623-sigterm-at-exit
dimalit Oct 19, 2023
685fd91
1702 add owner field to nodes in chain params
olehnikolaiev Oct 20, 2023
8f52a83
Merge branch 'v3.18.0' into 1700_push_zero
kladkogex Oct 24, 2023
68978ab
1700 clang format
kladkogex Oct 24, 2023
1a4c7a9
1700 clang format
kladkogex Oct 24, 2023
a733b76
1702 use historicGroupIndex
olehnikolaiev Oct 24, 2023
80c2e44
1700 fix test
kladkogex Oct 24, 2023
4d59da9
#1700 Fast forward consensus
kladkogex Oct 24, 2023
b7cd5a5
1702 update precompiled to work with oracle
olehnikolaiev Oct 24, 2023
4c87471
Merge pull request #1709 from skalenetwork/1700_push_zero
kladkogex Oct 24, 2023
295b850
1702 improve tests
olehnikolaiev Oct 30, 2023
786882f
1702 improve tests
olehnikolaiev Oct 31, 2023
e9b63e9
1702 remove unnecessary changes
olehnikolaiev Oct 31, 2023
e7c9f4f
Merge branch 'v3.18.0' into bug/SKALED-1623-sigterm-at-exit
dimalit Oct 31, 2023
4f22ffb
Merge branch 'v3.18.0' into bug/1702-adopt-precompiled-oracle
olehnikolaiev Oct 31, 2023
a348f52
1702 fix tests
olehnikolaiev Nov 1, 2023
c200761
Update VERSION
DmytroNazarenko Nov 2, 2023
e412fa1
Merge pull request #1716 from skalenetwork/update-version
DmytroNazarenko Nov 2, 2023
3815c22
1702 introduce PrecompiledConfigPatch
olehnikolaiev Nov 3, 2023
f013fac
#1526 Make net_version returns decimal number
DmytroNazarenko Nov 3, 2023
ee9c48a
#1702 renamed owner to nodeAddress
kladkogex Nov 6, 2023
aa4c0d8
#1702 changed [] to at() for safe vector access
kladkogex Nov 6, 2023
95215c7
#1702 added param validation
kladkogex Nov 6, 2023
4d55443
#1702 added a log record if node info is empty in config
kladkogex Nov 6, 2023
7f136c5
#1702 changed assertion to runtime error
kladkogex Nov 6, 2023
ea28913
#1702 changed assertion to runtime error
kladkogex Nov 6, 2023
3652a82
#1702 changed to standard boost library
kladkogex Nov 6, 2023
68798a7
Add unit test
DmytroNazarenko Nov 6, 2023
238665d
#1526 Update test
DmytroNazarenko Nov 6, 2023
41ddce9
1702 fix build
olehnikolaiev Nov 6, 2023
399e9b1
1702 deny access to some config fields from precompileds for security…
olehnikolaiev Nov 6, 2023
cfbd435
1702 fix tests
olehnikolaiev Nov 7, 2023
1289b6c
Merge pull request #1723 from skalenetwork/stable
DmytroNazarenko Nov 7, 2023
3608d12
Merge pull request #1724 from skalenetwork/beta
DmytroNazarenko Nov 7, 2023
4861254
Merge pull request #1717 from skalenetwork/enhancement/net-version-nu…
DmytroNazarenko Nov 7, 2023
80618dd
#1702 improve code quality
olehnikolaiev Nov 7, 2023
582b526
#1702 use common approach to access config variables
olehnikolaiev Nov 8, 2023
ea694fc
#1702 improve code quality
olehnikolaiev Nov 8, 2023
ca16ebf
#1702 improve input proccessing for precompileds
olehnikolaiev Nov 13, 2023
4995613
#1702 add more checks
olehnikolaiev Nov 13, 2023
edd62d4
#1702 improve tests
olehnikolaiev Nov 13, 2023
e47968b
SKALED-1623 Remove coloring
dimalit Nov 15, 2023
b9ff4bb
Merge branch 'v3.18.0' into develop-to-3.18
DmytroNazarenko Nov 16, 2023
112dd40
Merge pull request #1727 from skalenetwork/develop-to-3.18
DmytroNazarenko Nov 16, 2023
0c2e1e7
Merge branch 'v3.18.0' into bug/SKALED-1623-sigterm-at-exit
dimalit Nov 16, 2023
4fd0edd
Merge branch 'v3.18.0' into enhancement/sync-node-broadcast-txs
DmytroNazarenko Nov 16, 2023
22eed15
SKALED-1623 Use new branch in skale-ci
dimalit Nov 20, 2023
aaab497
Merge branch 'v3.18.0' into bug/1702-adopt-precompiled-oracle
olehnikolaiev Nov 21, 2023
7571104
Merge pull request #1695 from skalenetwork/bug/SKALED-1623-sigterm-at…
DmytroNazarenko Nov 21, 2023
3b122e5
Merge branch 'v3.18.0' into bug/1702-adopt-precompiled-oracle
olehnikolaiev Nov 21, 2023
4b51081
#1702 pass historic publicKey instead of address
olehnikolaiev Nov 22, 2023
e411718
Merge branch 'bug/1702-adopt-precompiled-oracle' of github.com:skalen…
olehnikolaiev Nov 22, 2023
a504090
#1702 fix tests
olehnikolaiev Nov 22, 2023
1a67380
#1702 add more tests
olehnikolaiev Nov 22, 2023
7700738
#1702 change [] to at()
olehnikolaiev Nov 22, 2023
c8921f6
#1702 change [] to at()
olehnikolaiev Nov 22, 2023
23a5437
#1702 change [] to at()
olehnikolaiev Nov 22, 2023
9339f77
fix build all option
olehnikolaiev Nov 23, 2023
c33639d
Merge pull request #1730 from skalenetwork/bug/fix-build
olehnikolaiev Nov 23, 2023
d301345
Merge branch 'v3.18.0' into bug/1702-adopt-precompiled-oracle
olehnikolaiev Nov 23, 2023
0893864
#1135 Remove txs from queue
DmytroNazarenko Nov 23, 2023
1de9f45
Merge pull request #1713 from skalenetwork/bug/1702-adopt-precompiled…
olehnikolaiev Nov 23, 2023
e5ea3e3
Fix linter
DmytroNazarenko Nov 23, 2023
67276dd
Merge branch 'v3.18.0' into enhancement/sync-node-broadcast-txs
DmytroNazarenko Nov 23, 2023
eab5678
Merge branch 'v3.17.2' into develop-merge
DmytroNazarenko Nov 28, 2023
5428e3f
Merge pull request #1733 from skalenetwork/develop-merge
DmytroNazarenko Nov 28, 2023
e3c44ce
#813 update consensus
kladkogex Dec 1, 2023
55fc623
#813 update consensus
kladkogex Dec 1, 2023
658bf22
Merge remote-tracking branch 'origin/v3.18.0' into 813_eth_sync
kladkogex Dec 1, 2023
661bb2d
Merge branch 'v3.18.0' into 3.17.2-merge
DmytroNazarenko Dec 1, 2023
8569d6f
Merge pull request #1739 from skalenetwork/3.17.2-merge
DmytroNazarenko Dec 1, 2023
0aa534f
Merge branch 'v3.18.0' into 813_eth_sync
DmytroNazarenko Dec 1, 2023
1419be9
Merge pull request #1738 from skalenetwork/813_eth_sync
kladkogex Dec 1, 2023
6960ca5
#1433 delete partially downloaded snapshots
olehnikolaiev Dec 4, 2023
40b0ebb
Merge branch 'v3.18.0' into bug/1433-unlock-shared-space-if-unsuccess…
olehnikolaiev Dec 4, 2023
b3bd08b
#1433 fix logs
olehnikolaiev Dec 5, 2023
bcc75a5
Merge branch 'bug/1433-unlock-shared-space-if-unsuccessful-download' …
olehnikolaiev Dec 5, 2023
1c975d5
Merge pull request #1740 from skalenetwork/bug/1433-unlock-shared-spa…
olehnikolaiev Dec 5, 2023
0c807ea
#1199 eth syncing
olehnikolaiev Dec 5, 2023
164b7ca
#1199 add comments
olehnikolaiev Dec 5, 2023
21d04f2
SKALED-1600 Use correct fork in gas estimation
dimalit Dec 6, 2023
7ffc59a
Merge branch 'v3.18.0' into bug/SKALED-1600-estimateGas
dimalit Dec 6, 2023
640b77b
#1199 add more exceptions
olehnikolaiev Dec 6, 2023
b721cec
#1199 add more exceptions
olehnikolaiev Dec 6, 2023
35f4f65
#1199 format
olehnikolaiev Dec 6, 2023
1af8e4d
#1199 fix build
olehnikolaiev Dec 7, 2023
88bdc87
SKALED-1600 Make 2nd parameter of estimateGas optional
dimalit Dec 7, 2023
d467308
SKALED-1600 Exclude changes related to external gas and add unit test…
dimalit Dec 7, 2023
c1cbb38
Merge branch 'bug/SKALED-1600-estimateGas' of github.com:/skalenetwor…
dimalit Dec 7, 2023
1a962d8
SKALED-1600 Formatting
dimalit Dec 7, 2023
2fcb104
Merge pull request #1742 from skalenetwork/bug/1199-eth-syncing
DmytroNazarenko Dec 8, 2023
885fb52
Merge branch 'v3.18.0' into bug/SKALED-1600-estimateGas
dimalit Dec 8, 2023
0fd8783
IS 779 add logs
olehnikolaiev Dec 12, 2023
f7c560a
SKALED-1600 Use correct fork in gas estimation
dimalit Dec 12, 2023
26118bf
Revert "SKALED-1600 Exclude changes related to external gas and add u…
dimalit Dec 12, 2023
9d5b16c
SKALED-1745 Initial implementation of correct fork in external gsa
dimalit Dec 12, 2023
430e686
SKALED-1431 debug_getFutureTransactions call
dimalit Dec 13, 2023
d387c77
#1135 Add unit test
DmytroNazarenko Dec 13, 2023
828b196
Merge branch 'v3.18.0' into enhancement/sync-node-broadcast-txs
DmytroNazarenko Dec 13, 2023
34212e8
#1135 Update unit test
DmytroNazarenko Dec 14, 2023
e725930
Reload rotation timestamp in isTimeToRotate
badrogger Dec 14, 2023
a3d1389
IS 779 remove mutex
olehnikolaiev Dec 14, 2023
b483366
#1651 Fix logs and vars naming
DmytroNazarenko Dec 14, 2023
25ec622
#1135 Improve exceptions handling
DmytroNazarenko Dec 14, 2023
f70bd4e
#1135 Fix linter
DmytroNazarenko Dec 14, 2023
f8b75f0
#1135 Fix naming
DmytroNazarenko Dec 14, 2023
5d8a88d
Rename getRotationTimestamp -> rotationTimestamp
badrogger Dec 14, 2023
4940f26
IS 779 remove debug logs
olehnikolaiev Dec 15, 2023
b18045a
Merge branch 'v3.18.0' into bug/IS-779-call-historic-block
olehnikolaiev Dec 15, 2023
778a37d
Not finished CorrectForkInPowPatch
dimalit Dec 15, 2023
c1ea3cd
SKALED-1745 Add CorrectForkInPowPatch
dimalit Dec 15, 2023
76b963c
#1135 Remove transaction deletion logic
DmytroNazarenko Dec 18, 2023
36e943a
#1135 Code cleanup
DmytroNazarenko Dec 18, 2023
761de60
#1135 Update consensus
DmytroNazarenko Dec 18, 2023
9a54941
SKALED-1745 Patch
dimalit Dec 19, 2023
fb82296
SKALED-1745 Patch for correct fork in PoW
dimalit Dec 19, 2023
66b14bf
SKALED-1431 remove data from transactions
dimalit Dec 19, 2023
85c1b31
Add logs
badrogger Dec 19, 2023
d68d6a7
SKALED-1745 Unit test
dimalit Dec 20, 2023
dac25b6
SKALED-1745 Fixing tests
dimalit Dec 21, 2023
dd6fdae
Fix Net tests
badrogger Dec 21, 2023
3147f34
Fix net_version test
DmytroNazarenko Dec 21, 2023
9e259e9
SKALED-1745 Fix unit tests
dimalit Dec 23, 2023
94255ca
SKALED-1745 Test rename
dimalit Dec 23, 2023
f6ce808
SKALED-1745 Fix tests in historic build
dimalit Dec 23, 2023
843277c
Merge branch 'v3.18.0' into bug/1640-slow-catchup
olehnikolaiev Dec 26, 2023
a2d5363
fix old tests names
olehnikolaiev Dec 26, 2023
c05c9b6
SKALED-1745 check external gas again after consensus
dimalit Dec 28, 2023
b88c175
SKALED-1745 Comments changes
dimalit Dec 28, 2023
2feff86
SKALED-1745 Cancel second PoW gas check
dimalit Dec 28, 2023
460ebb0
SKALED-1714 testeth on historic build
dimalit Dec 29, 2023
4881ccd
SKALED-1714 Temporarily disable normal build
dimalit Dec 29, 2023
6a8e6c9
SKALED-1714 Fix ChainParams& in Net.h
dimalit Dec 29, 2023
c18ad39
Merge pull request #1651 from skalenetwork/enhancement/sync-node-broa…
DmytroNazarenko Dec 29, 2023
bb6e81a
Merge branch 'v3.18.0' into bug/IS-779-call-historic-block
DmytroNazarenko Dec 29, 2023
f59f486
Merge branch 'v3.18.0' into reload-rotation-timestamp
badrogger Jan 3, 2024
b3f1c07
Handle malformed/missing rotationInfoFile
badrogger Jan 3, 2024
573f3c0
Rename rotation.txt -> rotation.json
badrogger Jan 4, 2024
1600857
Add error logger in InstanceMonitor
badrogger Jan 4, 2024
5bcc898
SKALED-1714 Proper handling of LatestBlock in GappedTransactionIndexC…
dimalit Jan 4, 2024
cd06cd2
Merge branch 'enhancement/SKALED-1714-unit-tests-historic' into bug/S…
dimalit Jan 4, 2024
a600e09
SKALED-1714 Extended tests
dimalit Jan 4, 2024
1785847
Rename m_info_logger -> m_infoLogger
badrogger Jan 5, 2024
c157fe1
SKALED-1431 Rename DEBUG and fix in tests
dimalit Jan 5, 2024
ea6a0e2
Merge remote-tracking branch 'origin/v3.18.0' into enhancement/SKALED…
dimalit Jan 5, 2024
bff8299
SKALED-1714 Assume that PendingBlock = latest+1
dimalit Jan 5, 2024
b66157e
SKALED-1714 Get back normal build
dimalit Jan 5, 2024
0fd0b87
Merge pull request #1756 from skalenetwork/bug/IS-779-call-historic-b…
DmytroNazarenko Jan 5, 2024
53ecf1e
Merge branch 'v3.18.0' into reload-rotation-timestamp
DmytroNazarenko Jan 5, 2024
68b6b1f
Merge branch 'v3.18.0' into bug/SKALED-1714-testeth-in-historic
dimalit Jan 8, 2024
be228b1
Merge branch 'v3.18.0' into enhancement/SKALED-1431-ftq-rpc-call
dimalit Jan 8, 2024
2e61e8b
Merge branch 'v3.18.0' into bug/1640-slow-catchup
olehnikolaiev Jan 8, 2024
e38ef4f
fix boost build
olehnikolaiev Jan 8, 2024
6183faf
fix boost build
olehnikolaiev Jan 8, 2024
e415c9d
Merge pull request #1779 from skalenetwork/fix-boost-build
DmytroNazarenko Jan 8, 2024
22b5063
Merge branch 'v3.18.0' into bug/1640-slow-catchup
olehnikolaiev Jan 8, 2024
9ce9d5c
Merge branch 'v3.18.0' into reload-rotation-timestamp
badrogger Jan 8, 2024
08b6296
#1640 increase timeout to reject old transaction through broadcast
olehnikolaiev Jan 9, 2024
bfa5a20
Merge pull request #1757 from skalenetwork/reload-rotation-timestamp
DmytroNazarenko Jan 9, 2024
de021a0
Merge branch 'v3.18.0' into bug/1640-slow-catchup
olehnikolaiev Jan 9, 2024
9ea6dc7
Merge branch 'v3.18.0' into bug/SKALED-1714-testeth-in-historic
dimalit Jan 9, 2024
9124e3a
Merge branch 'v3.18.0' into enhancement/SKALED-1431-ftq-rpc-call
dimalit Jan 9, 2024
efc99e2
Merge branch 'v3.18.0' into bug/SKALED-1745-invalid-fork-in-pow-gas
dimalit Jan 9, 2024
8ed937b
SKALED-1745 Add missing re-check of external gas
dimalit Jan 9, 2024
8c0473c
SKALED-1745 Updated libconsensus
dimalit Jan 9, 2024
8e735e5
SLALED-1745 Update eth_estimateGas only after patch timestamp
dimalit Jan 9, 2024
a9067bd
SKALED-1431 Test
dimalit Jan 9, 2024
a93c503
Merge branch 'v3.18.0' into bug/SKALED-1745-invalid-fork-in-pow-gas
dimalit Jan 9, 2024
9f1de09
SKALED-1745 Adjust tests
dimalit Jan 10, 2024
7377dc7
Merge pull request #1768 from skalenetwork/bug/SKALED-1745-invalid-fo…
DmytroNazarenko Jan 10, 2024
3372716
Merge branch 'v3.18.0' into enhancement/SKALED-1431-ftq-rpc-call
dimalit Jan 10, 2024
f08f134
#1588 change snapshot hash computation
olehnikolaiev Jan 10, 2024
1eb0eb1
Merge branch 'v3.18.0' into bug/SKALED-1714-testeth-in-historic
dimalit Jan 10, 2024
a2f6782
Revert "Bug/skaled 1745 invalid fork in pow gas"
dimalit Jan 10, 2024
a3dd9cc
Merge pull request #1781 from skalenetwork/revert-1768-bug/SKALED-174…
DmytroNazarenko Jan 10, 2024
1e79fdf
Merge branch 'v3.18.0' into enhancement/SKALED-1431-ftq-rpc-call
DmytroNazarenko Jan 10, 2024
6a14d05
SKALED-1745 Init patch timestamp in Client::init (to prevent failure)
dimalit Jan 10, 2024
026d174
Merge pull request #1776 from skalenetwork/enhancement/SKALED-1431-ft…
DmytroNazarenko Jan 10, 2024
89fb0a0
Merge branch 'v3.18.0' into bug/1640-slow-catchup
olehnikolaiev Jan 11, 2024
f925fbb
Merge branch 'v3.18.0' into bug/SKALED-1745-invalid-fork-in-pow-gas
dimalit Jan 11, 2024
0fd27d0
Merge remote-tracking branch 'origin/bug/SKALED-1745-invalid-fork-in-…
dimalit Jan 11, 2024
7469839
#1588 fix new snapshot hash calculation
olehnikolaiev Jan 11, 2024
5cc740e
Merge branch 'v3.18.0' into bug/SKALED-1714-testeth-in-historic
dimalit Jan 11, 2024
bba2a8a
Merge pull request #1770 from skalenetwork/bug/1640-slow-catchup
olehnikolaiev Jan 11, 2024
1bf2cd7
#1588 change snapshot hash computation
olehnikolaiev Jan 12, 2024
e1a7450
Merge branch 'v3.18.0' into bug/SKALED-1714-testeth-in-historic
dimalit Jan 12, 2024
d026bcb
Merge branch 'v3.18.0' into bug/SKALED-1745-invalid-fork-in-pow-gas
dimalit Jan 12, 2024
fc5b582
Merge pull request #1782 from skalenetwork/bug/SKALED-1745-invalid-fo…
kladkogex Jan 12, 2024
0921108
Merge branch 'v3.18.0' into bug/SKALED-1714-testeth-in-historic
dimalit Jan 12, 2024
9431fab
IS-902 check block number to download snapshot
olehnikolaiev Jan 12, 2024
15cb6a8
Merge pull request #1778 from skalenetwork/bug/SKALED-1714-testeth-in…
kladkogex Jan 15, 2024
b4a849d
Merge branch 'v3.18.0' into bug/IS-902-allow-uploading-only-one-snapshot
olehnikolaiev Jan 16, 2024
aab2420
IS 902 handle wrong snapshot block number request for signatures
olehnikolaiev Jan 16, 2024
c4cffb1
#1588 change snapshot hash computation
olehnikolaiev Jan 16, 2024
53160e7
Merge branch 'bug/IS-902-allow-uploading-only-one-snapshot' of github…
olehnikolaiev Jan 16, 2024
99a645a
fix tests
olehnikolaiev Jan 17, 2024
886c695
fix tests
olehnikolaiev Jan 17, 2024
2b7cf66
#1785 fix unittests
olehnikolaiev Jan 17, 2024
a20069c
#1785 fix SkaleHostSuite tests
olehnikolaiev Jan 17, 2024
a17da41
Merge branch 'v3.18.0' into bug/1785-fix-unittests
olehnikolaiev Jan 17, 2024
2a3fadd
#1785 fix EstimateGasSuite unittests
olehnikolaiev Jan 17, 2024
5253168
#1785 build historic mode in different folder
olehnikolaiev Jan 17, 2024
d6427e7
#1785 fix JsonRpcSuite tests
olehnikolaiev Jan 17, 2024
85146a0
Merge pull request #1786 from skalenetwork/bug/1785-fix-unittests
olehnikolaiev Jan 17, 2024
04298fe
Merge branch 'v3.18.0' into bug/IS-902-allow-uploading-only-one-snapshot
olehnikolaiev Jan 17, 2024
9ea8a42
SKALED-1693 Run functional test twice - for both original and histori…
dimalit Jan 17, 2024
678f59b
Merge pull request #1784 from skalenetwork/bug/IS-902-allow-uploading…
olehnikolaiev Jan 17, 2024
2d0e3d5
Merge branch 'v3.18.0' into bug/1640-change-snapshot-hash-computation
olehnikolaiev Jan 17, 2024
7c67a04
#1588 rename variables
olehnikolaiev Jan 18, 2024
b8cdd8d
#1588 rename variables and remove colored logs
olehnikolaiev Jan 18, 2024
ac6490e
#1588 move batchCHunkSize to class field
olehnikolaiev Jan 18, 2024
a79c45d
#1588 bool flag to continue db hash computation
olehnikolaiev Jan 18, 2024
46bbdbd
Merge pull request #1787 from skalenetwork/bug/1640-change-snapshot-h…
DmytroNazarenko Jan 18, 2024
bde0c84
SKALED-1693 Run functional tests for orig and historic builds
dimalit Jan 18, 2024
db160ec
Merge branch 'v3.18.0' into enhancement/SKALED-1693-func-tests-on-bot…
dimalit Jan 18, 2024
bd6fa93
Merge branch 'v3.18.0' into enhancement/SKALED-1693-func-tests-on-bot…
dimalit Jan 18, 2024
92bb424
IS-902 fix 0 zero snapshot case
olehnikolaiev Jan 19, 2024
fce0fd1
Merge pull request #1788 from skalenetwork/enhancement/SKALED-1693-fu…
DmytroNazarenko Jan 19, 2024
484421e
Merge branch 'v3.18.0' into bug/IS-902-zero-snapshot
olehnikolaiev Jan 19, 2024
4880e19
Merge pull request #1790 from skalenetwork/bug/IS-902-zero-snapshot
DmytroNazarenko Jan 22, 2024
5a45a19
SKALED-1693 More logs and cleaner names for functional-tests github a…
dimalit Jan 22, 2024
f7f2d13
Merge pull request #1791 from skalenetwork/v3.18.0
DmytroNazarenko Jan 22, 2024
cb58c6d
Merge pull request #1797 from skalenetwork/develop
DmytroNazarenko Jan 22, 2024
0690047
Merge branch 'develop' into enhancement/SKALED-1693-func-tests-on-bot…
dimalit Jan 23, 2024
2dd4550
Merge pull request #1799 from skalenetwork/enhancement/SKALED-1693-fu…
DmytroNazarenko Jan 23, 2024
dcc9e4a
SKALED-1431 Added debug_getFutureTransactions again
dimalit Jan 25, 2024
0ffa238
SKALED-1431 Tests for debug_getFutureTransactions
dimalit Jan 25, 2024
ac4f86a
Update custom_build.yml
DmytroNazarenko Jan 25, 2024
5b673d7
Update custom_build.yml
DmytroNazarenko Jan 25, 2024
7796f4a
SKALED-1431 Added back lost changes related to Future Transaction Que…
dimalit Jan 25, 2024
51d9429
Merge branch 'develop' into release-for-custom-build
DmytroNazarenko Jan 25, 2024
ff99472
Update custom_build.yml
DmytroNazarenko Jan 25, 2024
aa56bfb
Update custom_build.yml
DmytroNazarenko Jan 26, 2024
17fe1c1
Update custom_build.yml
DmytroNazarenko Jan 26, 2024
921adbe
Update custom_build.yml
DmytroNazarenko Jan 26, 2024
08ea1e6
Merge pull request #1801 from skalenetwork/release-for-custom-build
DmytroNazarenko Jan 26, 2024
d072f44
Merge branch 'beta' into develop
DmytroNazarenko Feb 7, 2024
6061db7
Merge pull request #1806 from skalenetwork/develop
DmytroNazarenko Feb 7, 2024
68a3b76
#1807 Update test.yml
DmytroNazarenko Feb 13, 2024
ed3a385
#1807 Update publish.yml
DmytroNazarenko Feb 13, 2024
a411894
Update test.yml
DmytroNazarenko Feb 13, 2024
dce16a4
#1807 Update test.yml
DmytroNazarenko Feb 13, 2024
280f32b
#1807 Create PULL_REQUEST_TEMPLATE.md
DmytroNazarenko Feb 13, 2024
a3220ce
#1807 Remove extra steps in custom_build
DmytroNazarenko Feb 14, 2024
d0aeedb
#1807 Update custom_build.yml
DmytroNazarenko Feb 14, 2024
daffaa1
Merge pull request #1816 from skalenetwork/optimize-github-workflows
DmytroNazarenko Feb 15, 2024
8a6df97
Update functional-tests.yml
DmytroNazarenko Feb 15, 2024
04f7543
Merge pull request #1822 from skalenetwork/bump-node-js
DmytroNazarenko Feb 16, 2024
bdf0230
Merge branch 'beta' into develop
DmytroNazarenko Feb 16, 2024
d03ca0f
Merge pull request #1824 from skalenetwork/develop
DmytroNazarenko Feb 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Description

_Please provide a brief summary of your changes here. Replace this comment with your summary._

## Tests

_Describe how you tested the changes made in this pull request. Include specific tests you have added. Replace this comment with your testing methodology._

## Performance Impact

_Describe any potential impact on performance due to your changes. Include any benchmarks you performed, if applicable, and compare the results with and without your changes. Replace this comment with your performance analysis._
30 changes: 20 additions & 10 deletions .github/workflows/custom_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ on:
description: 'Additional cmake options'
default: ''
required: false
build_type:
description: 'Build type of skaled binary'
type: choice
required: true
options:
- Debug
- RelWithDebInfo
default: RelWithDebInfo

jobs:
main_job:
Expand All @@ -23,14 +31,16 @@ jobs:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
BUILD_TYPE: ${{ github.event.inputs.build_type }}
steps:
- name: update apt
run: sudo add-apt-repository ppa:ubuntu-toolchain-r/test; sudo apt-get update
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test || true
sudo apt-get update || true
- name: install packages
run: |
sudo apt-get -y remove libzmq* || true
sudo apt-get -y install software-properties-common
sudo apt-get -y install gcc-9 g++-9
sudo apt-get -y install software-properties-common gcc-9 g++-9 || true

- name: Use g++-9 and gcov-9 by default
run: |
Expand Down Expand Up @@ -74,8 +84,6 @@ jobs:
rm -rf ./libconsensus || true
ls -1
git submodule update --init --recursive
- name: update apt
run: sudo add-apt-repository ppa:ubuntu-toolchain-r/test;

- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand All @@ -95,18 +103,19 @@ jobs:
export CC=gcc-9
export CXX=g++-9
export TARGET=all
export CMAKE_BUILD_TYPE=Debug
export CMAKE_BUILD_TYPE=$BUILD_TYPE
[[ $CMAKE_BUILD_TYPE = "Debug" ]] && export DEBUG_FLAG=1 || export DEBUG_FLAG=0
cd deps
./clean.sh
rm -f ./libwebsockets-from-git.tar.gz
./build.sh PARALLEL_COUNT=$(nproc) DEBUG=1
./build.sh PARALLEL_COUNT=$(nproc) DEBUG=$DEBUG_FLAG
cd ..
- name: Configure all
run: |
export CC=gcc-9
export CXX=g++-9
export TARGET=all
export CMAKE_BUILD_TYPE=Debug
export CMAKE_BUILD_TYPE=$BUILD_TYPE
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE ${{ github.event.inputs.cmake_options }} ..
Expand All @@ -116,7 +125,7 @@ jobs:
export CC=gcc-9
export CXX=g++-9
export TARGET=all
export CMAKE_BUILD_TYPE=Debug
export CMAKE_BUILD_TYPE=$BUILD_TYPE
cd build
make skaled -j$(nproc)
#echo "Ensure release mode skaled does not have any debug markers"
Expand All @@ -127,7 +136,8 @@ jobs:
run: |
cp build/skaled/skaled scripts/skale_build/executable/
export BRANCH=${{ github.event.inputs.branch_name }}
export VERSION=${{ github.event.inputs.image_version }}
[[ $BUILD_TYPE = "Debug" ]] && export VERSION_SUFFIX=debug || export VERSION_SUFFIX=release
export VERSION=${{ github.event.inputs.image_version }}-$VERSION_SUFFIX
echo "Version $VERSION"
export RELEASE=true
bash ./scripts/build_and_publish.sh
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

jobs:
functional-tests:
name: Functional tests
name: Functional tests for ${{ inputs.version }}
runs-on: ubuntu-20.04
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
Expand All @@ -24,11 +24,12 @@
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
repository: skalenetwork/skale-ci-integration_tests
ref: v3.18.0
submodules: recursive
- name: Set up Node
uses: actions/[email protected]
with:
node-version: 16
node-version: 18
- name: Install packages
run: |
sudo apt-get update
Expand Down Expand Up @@ -65,8 +66,8 @@
- name: skaled+load_python+all
run: SKALED_PROVIDER=skaled_providers/binary_from_container ./run_tests.sh skaled+load_python+all

# - name: skaled+load_js+run_angry_cats
# run: SKALED_PROVIDER=skaled_providers/endpoint_by_container ./run_tests.sh skaled+load_js+run_angry_cats
- name: skaled+load_js+run_angry_cats
run: SKALED_PROVIDER=skaled_providers/endpoint_by_container ./run_tests.sh skaled+load_js+run_angry_cats

- name: skaled+internals+test_snapshot_api
run: SKALED_PROVIDER=skaled_providers/binary_from_container ./run_tests.sh skaled+internals+test_snapshot_api
Expand All @@ -86,11 +87,12 @@
if: ${{ always() }}
continue-on-error: true
with:
name: debug
name: debug-${{ inputs.version }}
path: |
skaled_providers
!skaled_providers/**/skaled
/tmp/tmp*
/tmp/*log
*.log
./integration_tests/skaled/internals/third_party/skale-node-tests/btrfs
!**/.env
24 changes: 18 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
steps:
- name: update apt
run: sudo add-apt-repository ppa:ubuntu-toolchain-r/test; sudo apt-get update
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test || true
sudo apt-get update || true
- name: install packages
run: |
sudo apt-get -y remove libzmq* || true
sudo apt-get -y install software-properties-common
sudo apt-get -y install gcc-9 g++-9
sudo apt-get -y install software-properties-common gcc-9 g++-9 || true

- name: Use g++-9 and gcov-9 by default
run: |
Expand Down Expand Up @@ -150,6 +151,7 @@ jobs:
export VERSION=$(cat VERSION)
export VERSION=$(bash ./scripts/calculate_version.sh $BRANCH $VERSION)
echo "::set-env name=VERSION::$VERSION"
echo "::set-env name=VERSION_ORIG::$VERSION"
echo "Version $VERSION"
( test $BRANCH = "stable" && export PRERELEASE=false ) || export PRERELEASE=true
echo "PRERELEASE=$PRERELEASE" >> $GITHUB_ENV
Expand Down Expand Up @@ -191,6 +193,7 @@ jobs:
echo "Branch $BRANCH"
export VERSION=$VERSION-historic
echo "::set-env name=VERSION::$VERSION"
echo "::set-env name=VERSION_HISTORIC::$VERSION"
echo "Version $VERSION"
export RELEASE=true
echo "::set-env name=RELEASE::$RELEASE"
Expand All @@ -214,12 +217,21 @@ jobs:
asset_name: skaled-debug-historic
asset_content_type: application/octet-stream
outputs:
version: ${{ env.VERSION }}
version_orig: ${{ env.VERSION_ORIG }}
version_historic: ${{ env.VERSION_HISTORIC }}

functional-tests:
uses: ./.github/workflows/functional-tests.yml
name: Functional testing for build
name: Functional testing for orig build
needs: [build]
with:
version: ${{ needs.build.outputs.version }}
version: ${{ needs.build.outputs.version_orig }}
secrets: inherit

functional-tests-historic:
uses: ./.github/workflows/functional-tests.yml
name: Functional testing for historic build
needs: [build]
with:
version: ${{ needs.build.outputs.version_historic }}
secrets: inherit
Loading
Loading