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

Develop to beta merge as requested by QA team #1881

Merged
merged 479 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
479 commits
Select commit Hold shift + click to select a range
8416726
#1751 multiple transactions
kladkogex Jan 15, 2024
689b7e2
#1751 multiple transactions
kladkogex Jan 15, 2024
31c4e62
#1751 multiple transactions
kladkogex Jan 15, 2024
8f51d17
#1751 multiple transactions
kladkogex Jan 15, 2024
028f6ba
#1751 multiple transactions
kladkogex Jan 15, 2024
e6f7572
#1751 multiple transactions
kladkogex Jan 15, 2024
3995d47
#1751 multiple transactions
kladkogex Jan 15, 2024
d7d2274
#1751 case where no contract is called
kladkogex Jan 15, 2024
8f3a34c
#1751 case where no contract is called
kladkogex Jan 15, 2024
7f92009
#1751 case where no contract is called
kladkogex Jan 15, 2024
238fe85
#1751 case where no contract is called
kladkogex Jan 15, 2024
fb7493b
#1751 case where no contract is called
kladkogex Jan 16, 2024
bce8a66
#1751 case where no contract is called
kladkogex Jan 16, 2024
6c8d897
#1751 case where no contract is called
kladkogex Jan 16, 2024
4174a67
#1751 case where no contract is called
kladkogex Jan 16, 2024
99a7d3d
#1751 case where no contract is called
kladkogex Jan 16, 2024
2a87706
#1751 case where no contract is called
kladkogex Jan 16, 2024
385c049
#1751 case where no contract is called
kladkogex Jan 16, 2024
4f2ea73
#1751 case where no contract is called
kladkogex Jan 17, 2024
5843bc4
#1751 case where no contract is called
kladkogex Jan 17, 2024
64f4b5b
#1751 case where no contract is called
kladkogex Jan 17, 2024
51d2ce6
#1751 case where no contract is called
kladkogex Jan 17, 2024
e557439
#1751 case where no contract is called
kladkogex Jan 17, 2024
706cd92
#1751 case where no contract is called
kladkogex Jan 17, 2024
a557989
#1751 case where no contract is called
kladkogex Jan 17, 2024
d620e7c
#1751 case where no contract is called
kladkogex Jan 17, 2024
940d5dc
#1751 case where no contract is called
kladkogex Jan 17, 2024
94fd7c1
#1751 case where no contract is called
kladkogex Jan 17, 2024
64be1d1
#1751 case where no contract is called
kladkogex Jan 17, 2024
ec245b0
#1751 case where no contract is called
kladkogex Jan 17, 2024
8f6e7b1
#1751 case where no contract is called
kladkogex Jan 17, 2024
1a06864
#1751 case where no contract is called
kladkogex Jan 22, 2024
cd21227
#1751 case where no contract is called
kladkogex Jan 22, 2024
da9bf68
Merge pull request #1783 from skalenetwork/1751_trace_transaction_fro…
kladkogex Jan 22, 2024
36a18b3
#1751 case where no contract is called
kladkogex Jan 22, 2024
966169e
#1767 enforce transactions in block and refactor for clarity
kladkogex Jan 22, 2024
c586bc6
#1767 enforce transactions in block and refactor for clarity
kladkogex Jan 22, 2024
80d5bd0
#1767 enforce transactions in block and refactor for clarity
kladkogex Jan 22, 2024
e2de353
#1767 enforce transactions in block and refactor for clarity
kladkogex Jan 22, 2024
a75f38e
#1767 fix exception log
kladkogex Jan 23, 2024
5bbe977
#1767 add error printing for call trace
kladkogex Jan 23, 2024
0620b0f
#1767 make error message same as geth
kladkogex Jan 23, 2024
603fa9c
#1767 make error message same as geth
kladkogex Jan 23, 2024
ee78dc4
#1767 fixed default tracer
kladkogex Jan 23, 2024
499208a
#1767 cleaing up API
kladkogex Jan 24, 2024
4c045ca
#1767 cleaing up API
kladkogex Jan 24, 2024
2b25746
#1749 Fix tests
kladkogex Jan 26, 2024
353869b
#1749 Fix tests
kladkogex Jan 26, 2024
8b1ec08
#1767 Add tests
kladkogex Jan 26, 2024
d9aeb6f
#1767 Add tests
kladkogex Jan 26, 2024
db5c06c
#1767 Add tests
kladkogex Jan 26, 2024
d1458a1
#1767 Add tests
kladkogex Jan 26, 2024
5f73aba
#1767 Add tests
kladkogex Jan 26, 2024
d734268
#1767 Add tests
kladkogex Jan 26, 2024
ab2364f
#1767 Figured out the case for contract nonce
kladkogex Jan 26, 2024
b98da94
#1767 Figured out the case for contract nonce
kladkogex Jan 26, 2024
5eb5947
#1767 Figured out the case for contract nonce
kladkogex Jan 26, 2024
08be2f3
#1767 Adding deploy tests
kladkogex Jan 28, 2024
91b9372
#1767 Figured out the case for contract nonce
kladkogex Jan 28, 2024
2e28252
#1767 Figured out the case for contract nonce
kladkogex Jan 28, 2024
2dd28e2
#1767 Figured out the case for contract nonce
kladkogex Jan 28, 2024
8e2dce1
#1767 Figured out the case for contract nonce
kladkogex Jan 28, 2024
f279b35
#1767 Call trace for deploy
kladkogex Jan 28, 2024
93be658
#1767 fixed call tracer for deploy
kladkogex Jan 29, 2024
c148e32
#1767 fixed call tracer for deploy
kladkogex Jan 29, 2024
d8d7658
#1767 fixed call tracer for deploy
kladkogex Jan 29, 2024
2b6076a
#1767 fixed fourbyte tracer diffs
kladkogex Jan 29, 2024
959960e
#1767 fixing tests
kladkogex Jan 29, 2024
124d7c0
#1767 fix prestate trace for contract deployment
kladkogex Jan 30, 2024
4c72c56
#1767 fix prestate trace for contract deployment
kladkogex Jan 30, 2024
898077a
#1767 fix prestate diff trace for contract deployment
kladkogex Jan 30, 2024
6a87833
#1767 fix prestate diff trace for contract deployment
kladkogex Jan 30, 2024
5cf9371
#1767 fix prestate diff trace for contract deployment
kladkogex Jan 30, 2024
abef9a4
#1767 fix prestate diff trace for contract deployment
kladkogex Jan 30, 2024
d3d9e25
#1767 fix prestate diff trace for contract deployment
kladkogex Jan 30, 2024
e27d988
#1767 fix prestate diff trace for contract deployment
kladkogex Jan 30, 2024
46e41ff
#1767 fix prestate diff trace for contract deployment
kladkogex Jan 30, 2024
03002b9
#1767 fix prestate diff trace for contract deployment
kladkogex Jan 31, 2024
39c4028
#1767 fix prestate diff trace for contract deployment
kladkogex Jan 31, 2024
0356762
#1767 fix prestate diff trace for contract deployment
kladkogex Jan 31, 2024
47bcff1
#1767 fix prestate diff trace for contract deployment
kladkogex Jan 31, 2024
1574ee4
#1767 fix prestate diff trace for contract deployment
kladkogex Jan 31, 2024
c9857e1
#1767 fix prestate diff trace for contract deployment
kladkogex Jan 31, 2024
e7e6776
#1767 fix prestate diff trace for contract deployment
kladkogex Jan 31, 2024
4f6c417
#1767 fix prestate diff trace for contract deployment
kladkogex Jan 31, 2024
36d4ab6
#1767 fix prestate diff trace for contract deployment
kladkogex Jan 31, 2024
7c62b78
#1767 fix from balance
kladkogex Feb 1, 2024
a6dcfc6
#1767 fix from balance
kladkogex Feb 1, 2024
eb4feaa
#1767 fix from balance
kladkogex Feb 1, 2024
4c0d3c5
#1767 fix from balance
kladkogex Feb 1, 2024
92d7d49
#1767 fix from balance
kladkogex Feb 1, 2024
e18f6cb
#1767 fix from balance
kladkogex Feb 1, 2024
8c888fd
#1767 fix from balance
kladkogex Feb 1, 2024
ed10fae
#1767 fix from balance
kladkogex Feb 1, 2024
019e0cf
#1767 fix from balance
kladkogex Feb 1, 2024
7b025f7
#1767 fix second mint
kladkogex Feb 1, 2024
2ae83b3
#1767 fix to in create contract
kladkogex Feb 2, 2024
8f7dfdf
#1767 fix to in create contract
kladkogex Feb 2, 2024
f1ee327
#1767 fix input output in create create2
kladkogex Feb 2, 2024
a70849b
#1767 fix 4byte trace for constructor
kladkogex Feb 2, 2024
48e937b
#1767 fix default trace verification
kladkogex Feb 2, 2024
997010a
#1767 fix default trace verification
kladkogex Feb 2, 2024
475134a
#1767 fix default trace
kladkogex Feb 2, 2024
8dff539
#1767 prestate diff for newly created contract
kladkogex Feb 2, 2024
088bd9e
#1767 prestate diff for newly created contract
kladkogex Feb 2, 2024
718bca5
#1767 prestate diff for newly created contract
kladkogex Feb 2, 2024
81e5915
#1767 prestate diff for newly created contract
kladkogex Feb 2, 2024
9bc01ed
#1767 prestate diff for newly created contract
kladkogex Feb 2, 2024
6068c80
#1767 prestate diff for newly created contract
kladkogex Feb 2, 2024
4ebe0f0
#1767 prestate diff for newly created contract
kladkogex Feb 2, 2024
f9a9b4e
#1767 fix clang format
kladkogex Feb 2, 2024
babfd62
#1767 fix clang format
kladkogex Feb 2, 2024
659e8cb
#1767 fix clang format
kladkogex Feb 2, 2024
fad2815
#1767 fix clang format
kladkogex Feb 2, 2024
224291c
#1767 fix clang format
kladkogex Feb 2, 2024
de133d7
#1767 fix clang format
kladkogex Feb 2, 2024
4843beb
#1767 fix clang format
kladkogex Feb 2, 2024
7f44620
#1767 fix clang format
kladkogex Feb 2, 2024
ab8105b
#1780 disable default parameter validation
kladkogex Feb 7, 2024
0a284b0
1780 allow empty tracer
kladkogex Feb 8, 2024
e13e53e
1780 Fix test
kladkogex Feb 8, 2024
bf1abf0
1780 fix test
kladkogex Feb 8, 2024
d9f5881
1780 Fix clang format
kladkogex Feb 9, 2024
b136489
1760 fix test
kladkogex Feb 10, 2024
0bb359e
#1760 fix test
kladkogex Feb 11, 2024
577af8c
#1760 re structure code
kladkogex Feb 11, 2024
42782ad
#1760 re structure code
kladkogex Feb 11, 2024
ba0cc3f
#1760 re structure code
kladkogex Feb 11, 2024
7ebac20
#1760 re structure code
kladkogex Feb 11, 2024
836c092
#1760 re structure code
kladkogex Feb 11, 2024
2810f85
#1760 re structure code
kladkogex Feb 11, 2024
f145f8f
#1760 re structure code
kladkogex Feb 11, 2024
b429e65
#1760 re structure code
kladkogex Feb 11, 2024
9c07838
#1760 re structure code
kladkogex Feb 11, 2024
ac873dd
#1760 re structure code
kladkogex Feb 11, 2024
eb5fd54
#1760 re structure code
kladkogex Feb 11, 2024
2227f58
#1760 re structure code
kladkogex Feb 11, 2024
d26eca2
#1760 re structure code
kladkogex Feb 11, 2024
9515aad
IS-900 Better checks for invalid transactions in Eth.cpp (again)
dimalit Feb 12, 2024
cf43d21
SKALED-1811 Fix net_version call error
dimalit Feb 12, 2024
394cfee
SKALED-1812 Use _enablePrivilegedApis in jsonrpc's Debug
dimalit Feb 12, 2024
4743776
IS-900 Remove old fix for privileges in tests
dimalit Feb 12, 2024
753a1a3
#1760 fix test
kladkogex Feb 13, 2024
d5bbb6c
#1760 fix CREATE and CREATE2 gas cost
kladkogex Feb 13, 2024
873f25b
IS-900 Removed exclamation marks from comments
dimalit Feb 13, 2024
b0a81e4
SKALED-1812 Remove dead code
dimalit Feb 13, 2024
375de15
SKLAED-1812 Revert consensus
dimalit Feb 14, 2024
cbdbd79
SKALED-1812 Remove .get()
dimalit Feb 14, 2024
3f59722
Merge pull request #1813 from skalenetwork/bug/SKALED-1812-no-permiss…
DmytroNazarenko Feb 14, 2024
1379936
Merge branch 'v3.17.2' into bug/IS-900-wrong-response-if-latest
DmytroNazarenko Feb 14, 2024
26b585a
1760 Fix function gas cost
kladkogex Feb 15, 2024
f74f24e
1760 fix gas used by a call
kladkogex Feb 15, 2024
8406240
1760 fixing gas cost
kladkogex Feb 15, 2024
6368da2
1760 add test
kladkogex Feb 20, 2024
1aa717e
1760 add test
kladkogex Feb 20, 2024
579253f
Adding test
kladkogex Feb 20, 2024
e44c75c
#1760 Fix revert reason formatting
kladkogex Feb 20, 2024
ad3ef90
1760 fixintg revert reason output
kladkogex Feb 21, 2024
a61fb5c
1760 revert reasons
kladkogex Feb 21, 2024
9bb7731
1760 revert test
kladkogex Feb 21, 2024
bf48d36
1760 Fixing geth compatibility
kladkogex Feb 21, 2024
75655a8
#1760 Fix revert reason formatting
kladkogex Feb 21, 2024
4e5ad12
Merge pull request #1810 from skalenetwork/bug/IS-900-wrong-response-…
DmytroNazarenko Feb 21, 2024
20dd548
Merge branch 'v3.17.2' into bug/SKALED-1811-broken-net_version
DmytroNazarenko Feb 21, 2024
69ce41a
1760 Clang format check
kladkogex Feb 23, 2024
35892f2
1760 Clang format check
kladkogex Feb 23, 2024
6325d48
Merge branch 'v3.17.2' into 1767_tracer_fields
kladkogex Feb 23, 2024
3e8b8fe
Merge pull request #1814 from skalenetwork/bug/SKALED-1811-broken-net…
DmytroNazarenko Feb 23, 2024
026ce59
1767 Fixed test crash
kladkogex Feb 23, 2024
dbac33c
Merge branch 'v3.17.2' into 1767_tracer_fields
kladkogex Feb 23, 2024
9de940a
Merge pull request #1804 from skalenetwork/1767_tracer_fields
kladkogex Feb 26, 2024
deb50a4
Merge branch 'v3.17.2' into 1780_absence_tracer_in_params
kladkogex Feb 26, 2024
1bfcf60
Merge branch 'v3.17.2' into 1760_inconsistent_revert_reason
kladkogex Feb 26, 2024
46eb605
#1780 Better string match
kladkogex Feb 26, 2024
516c05d
#1780 remove typo
kladkogex Feb 26, 2024
50de3ec
#1780 Used another approach
kladkogex Feb 28, 2024
74a88e9
1780 Fix clang format
kladkogex Feb 28, 2024
e35ee3a
1780 Clang format v
kladkogex Feb 28, 2024
5147506
Merge pull request #1809 from skalenetwork/1780_absence_tracer_in_params
kladkogex Feb 28, 2024
e114741
Merge branch 'v3.17.2' into 1760_inconsistent_revert_reason
kladkogex Feb 28, 2024
88bba68
1760 Fixed clang format
kladkogex Feb 28, 2024
41d4f92
Add const
kladkogex Feb 28, 2024
f34f2a9
#1760 Fix test
kladkogex Feb 28, 2024
709e6d5
#1760 Remove unneeded function
kladkogex Feb 28, 2024
5683b0a
#1760 Remove ifdef
kladkogex Feb 28, 2024
ecc5124
Merge pull request #1831 from skalenetwork/1760_inconsistent_revert_r…
kladkogex Feb 29, 2024
da63e05
Merge branch 'v3.17.2' into HEAD
kladkogex Feb 29, 2024
72fbd53
Merge pull request #1840 from skalenetwork/detached
kladkogex Feb 29, 2024
b9a9bbf
Merge: fix clangformat
kladkogex Feb 29, 2024
1b7c765
Fixed merge typo
kladkogex Feb 29, 2024
c0165a1
Fix historic build
kladkogex Feb 29, 2024
216009a
Update VERSION
kladkogex Feb 29, 2024
1f45d6a
Merge pull request #1839 from skalenetwork/develop_to_3_17_merge
kladkogex Mar 1, 2024
5ba97a5
1850_db_add_periodic_restart
kladkogex Mar 18, 2024
91d9165
1850_db_add_periodic_restart
kladkogex Mar 18, 2024
4229153
1850_db_add_periodic_restart
kladkogex Mar 18, 2024
63c8e43
1850_db_add_periodic_restart
kladkogex Mar 18, 2024
7e91ae8
1850_db_add_periodic_restart
kladkogex Mar 20, 2024
5cc6b60
1850_db_add_periodic_restart
kladkogex Mar 20, 2024
9374ed2
1850_db_add_periodic_restart
kladkogex Mar 20, 2024
edfa9db
1850_db_add_periodic_restart
kladkogex Mar 20, 2024
8478f3b
1850_db_add_periodic_restart
kladkogex Mar 20, 2024
fc2e751
1850_db_add_periodic_restart
kladkogex Mar 20, 2024
bde8355
1850_db_add_periodic_restart
kladkogex Mar 20, 2024
267e474
1850_db_add_periodic_restart fix build
kladkogex Mar 21, 2024
f85b452
1850_db_add_periodic_restart fix build
kladkogex Mar 21, 2024
80bd1da
1850_db_add_periodic_restart fix build
kladkogex Mar 21, 2024
429070d
1850_db_add_periodic_restart fix build
kladkogex Mar 21, 2024
f590865
1850_db_add_periodic_restart fix build
kladkogex Mar 21, 2024
3ef1bab
1850_db_add_periodic_restart fix build
kladkogex Mar 21, 2024
66f9eda
1850_db_add_periodic_restart fix build
kladkogex Mar 21, 2024
162a825
1850_db_add_periodic_restart fix build
kladkogex Mar 21, 2024
e1cd679
1850_db_add_periodic_restart fix build
kladkogex Mar 21, 2024
b7ce5d4
Merge pull request #1854 from skalenetwork/1850_historic_node_reset_db
DmytroNazarenko Apr 8, 2024
1eb27a8
Merge pull request #1862 from skalenetwork/v3.17.2
DmytroNazarenko Apr 9, 2024
b4279a4
SKALED-1863 Enable back debug API
dimalit Apr 9, 2024
d881577
Merge pull request #1864 from skalenetwork/bug/SKALED-1863-debug-api
dimalit Apr 10, 2024
ac87d8e
1856_checkout_external_gas
kladkogex Apr 10, 2024
f3b977a
1856 fix clang format
kladkogex Apr 10, 2024
622187a
Merge pull request #1867 from skalenetwork/1856_checkout_external_gas
kladkogex Apr 11, 2024
c12ddd9
#1859 added test contract
kladkogex Apr 22, 2024
6da373d
#1859 added test contract
kladkogex Apr 22, 2024
4a912bf
#1859 added test contract
kladkogex Apr 22, 2024
335b66e
#1859 added test contract
kladkogex Apr 22, 2024
9215805
#1859 added test contract
kladkogex Apr 22, 2024
7eaa960
#1859 added test contract
kladkogex Apr 22, 2024
d62cfc8
#1859 added test contract
kladkogex Apr 22, 2024
a3c26d7
#1859 added test contract
kladkogex Apr 22, 2024
a203036
#1859 added test contract
kladkogex Apr 22, 2024
f3eb1a1
#1859 added test contract
kladkogex Apr 22, 2024
9b538c7
#1859 added test contract
kladkogex Apr 22, 2024
961fff1
#1859 added test contract
kladkogex Apr 22, 2024
b1a0519
#1859 added test contract
kladkogex Apr 23, 2024
46627eb
#1859 added test contract
kladkogex Apr 23, 2024
2f588b4
#1859 added test contract
kladkogex Apr 23, 2024
f98c5e0
#1859 added test contract
kladkogex Apr 23, 2024
86fc325
#1859 added test contract
kladkogex Apr 23, 2024
ab1679f
#1859 added test contract
kladkogex Apr 23, 2024
aeceb04
#1859 added test contract
kladkogex Apr 23, 2024
d66c3fd
#1859 added test contract
kladkogex Apr 23, 2024
a8f1f97
#1859 added test contract
kladkogex Apr 23, 2024
94a859a
#1859 added test contract
kladkogex Apr 23, 2024
80685dd
#1859 added test contract
kladkogex Apr 23, 2024
7e5335a
#1859 added test contract
kladkogex Apr 23, 2024
c0da15e
#1859 added test contract
kladkogex Apr 23, 2024
b8d4e83
#1859 added test contract
kladkogex Apr 23, 2024
d702d90
#1859 added test contract
kladkogex Apr 23, 2024
567659f
#1859 added test contract
kladkogex Apr 23, 2024
de3973a
Merge pull request #1875 from skalenetwork/1859_trace_failed_transaction
kladkogex Apr 29, 2024
2fc8164
Merge branch 'beta' into develop
kladkogex Apr 29, 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
2 changes: 1 addition & 1 deletion .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: DoozyX/clang-format-lint-action@v0.14
- uses: DoozyX/clang-format-lint-action@v0.16.2
with:
source: '.'
exclude: './CMakeFiles ./cmake ./deps ./build ./skaled_ssl_test ./newer_lcov'
Expand Down
170 changes: 85 additions & 85 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,56 +161,56 @@ jobs:
- name: Print ccache stats after full build
run : |
ccache --show-stats
# first run with verbosity 1. If test fails, rerun with verbosity 4
# we specifically run each test for easier log review
- name: Testeth verbosity 1
run : |
mkdir -p /tmp/tests/
sudo rm -rf /tmp/tests/*
#first run with verbosity 1. If test fails, rerun with verbosity 4
cd build/test
export NO_NTP_CHECK=1
export NO_ULIMIT_CHECK=1
# we specifically run each test for easier log review
./testeth -t BlockchainTests -- --express && touch /tmp/tests/BlockchainTestsPassed
./testeth -t TransitionTests -- --express && touch /tmp/tests/TransitionTestsPassed
./testeth -t TransactionTests -- --express && touch /tmp/tests/TransactionTestsPassed
./testeth -t VMTests -- --express && touch /tmp/tests/VMTestsPassed
./testeth -t LevelDBTests -- --express && touch /tmp/tests/LevelDBTestsPassed
./testeth -t CoreLibTests -- --express && touch /tmp/tests/CoreLibTestsPassed
./testeth -t RlpTests -- --express && touch /tmp/tests/RlpTestsPassed
./testeth -t SharedSpaceTests -- --express && touch /tmp/tests/SharedSpaceTestsPassed
./testeth -t EthashTests -- --express && touch /tmp/tests/EthashTestsPassed
./testeth -t SealEngineTests -- --express && touch /tmp/tests/SealEngineTestsPassed
./testeth -t DifficultyTests -- --express && touch /tmp/tests/DifficultyTestsPassed
./testeth -t BlockSuite -- --express && touch /tmp/tests/BlockSuitePassed
./testeth -t BlockChainMainNetworkSuite -- --express && touch /tmp/tests/BlockChainMainNetworkSuitePassed
./testeth -t BlockChainFrontierSuite -- --express && touch /tmp/tests/BlockChainFrontierSuitePassed
./testeth -t BlockQueueSuite -- --express && touch /tmp/tests/BlockQueueSuitePassed
./testeth -t ClientBase -- --express && touch /tmp/tests/ClientBasePassed
./testeth -t EstimateGas -- --express && touch /tmp/tests/EstimateGasPassed
./testeth -t getHistoricNodesData -- --express && touch /tmp/tests/getHistoricNodesDataPassed
./testeth -t ExtVmSuite -- --express && touch /tmp/tests/ExtVmSuitePassed
./testeth -t GasPricer -- --express && touch /tmp/tests/GasPricerPassed
./testeth -t BasicTests -- --express && touch /tmp/tests/BasicTestsPassed
./testeth -t InstanceMonitorSuite -- --express && touch /tmp/tests/InstanceMonitorSuitePassed
./testeth -t PrecompiledTests -- --express && touch /tmp/tests/PrecompiledTestsPassed
./testeth -t SkaleHostSuite -- --express && touch /tmp/tests/SkaleHostSuitePassed
./testeth -t StateUnitTests -- --express && touch /tmp/tests/StateUnitTestsPassed
./testeth -t libethereum -- --express && touch /tmp/tests/libethereumPassed
./testeth -t TransactionQueueSuite -- --express && touch /tmp/tests/TransactionQueueSuitePassed
./testeth -t LegacyVMSuite -- --express && touch /tmp/tests/LegacyVMSuitePassed
./testeth -t SkaleInterpreterSuite -- --express && touch /tmp/tests/SkaleInterpreterSuitePassed
./testeth -t SnapshotSigningTestSuite -- --express && touch /tmp/tests/SnapshotSigningTestSuitePassed
./testeth -t SkUtils -- --express && touch /tmp/tests/SkUtilsPassed
./testeth -t BlockChainTestSuite -- --express && touch /tmp/tests/BlockChainTestSuitePassed
./testeth -t TestHelperSuite -- --express && touch /tmp/tests/TestHelperSuitePassed
./testeth -t LevelDBHashBase -- --express && touch /tmp/tests/LevelDBHashBasePassed
./testeth -t memDB -- --express && touch /tmp/tests/memDBPassed
./testeth -t OverlayDBTests -- --express && touch /tmp/tests/OverlayDBTestsPassed
./testeth -t AccountHolderTest -- --express && touch /tmp/tests/AccountHolderTestPassed
./testeth -t ClientTests -- --express && touch /tmp/tests/ClientTestsPassed
./testeth -t JsonRpcSuite -- --express && touch /tmp/tests/JsonRpcSuitePassed
./testeth -t SingleConsensusTests -- --express && touch /tmp/tests/SingleConsensusTestsPassed
./testeth -t ConsensusTests -- --express && touch /tmp/tests/ConsensusTestsPassed
export NO_ULIMIT_CHECK=1
function run_test() { ./testeth --report_level=detailed -t "$1" -- --express && touch "/tmp/tests/${1}Passed"; }
run_test TransitionTests
run_test TransactionTests
run_test VMTests
run_test LevelDBTests
run_test CoreLibTests
run_test RlpTests
run_test SharedSpaceTests
run_test EthashTests
run_test SealEngineTests
run_test DifficultyTests
run_test BlockSuite
run_test BlockChainMainNetworkSuite
run_test BlockChainFrontierSuite
run_test BlockQueueSuite
run_test ClientBase
run_test EstimateGas
run_test getHistoricNodesData
run_test ExtVmSuite
run_test GasPricer
run_test BasicTests
run_test InstanceMonitorSuite
run_test PrecompiledTests
run_test SkaleHostSuite
run_test StateUnitTests
run_test libethereum
run_test TransactionQueueSuite
run_test LegacyVMSuite
run_test SkaleInterpreterSuite
run_test SnapshotSigningTestSuite
run_test SkUtils
run_test BlockChainTestSuite
run_test TestHelperSuite
run_test LevelDBHashBase
run_test memDB
run_test OverlayDBTests
run_test AccountHolderTest
run_test ClientTests
run_test JsonRpcSuite
run_test SingleConsensusTests
run_test ConsensusTests
sudo ./testeth -t BtrfsTestSuite -- --all && touch /tmp/tests/BtrfsTestSuitePassed
sudo ./testeth -t HashSnapshotTestSuite -- --all && touch /tmp/tests/HashSnapshotTestSuitePassed
sudo ./testeth -t ClientSnapshotsSuite -- --all && touch /tmp/tests/ClientSnapshotsSuitePassed
Expand All @@ -221,47 +221,47 @@ jobs:
cd build/test
export NO_NTP_CHECK=1
export NO_ULIMIT_CHECK=1
ls /tmp/tests/BlockchainTestsPassed || ./testeth -t BlockchainTests -- --express --verbosity 4
ls /tmp/tests/TransitionTestsPassed || ./testeth -t TransitionTests -- --express --verbosity 4
ls /tmp/tests/TransactionTestsPassed || ./testeth -t TransactionTests -- --express --verbosity 4
ls /tmp/tests/VMTestsPassed || ./testeth -t VMTests -- --express --verbosity 4
ls /tmp/tests/LevelDBTestsPassed || ./testeth -t LevelDBTests -- --express --verbosity 4
ls /tmp/tests/CoreLibTestsPassed || ./testeth -t CoreLibTests -- --express --verbosity 4
ls /tmp/tests/RlpTestsPassed || ./testeth -t RlpTests -- --express --verbosity 4
ls /tmp/tests/SharedSpaceTestsPassed || ./testeth -t SharedSpaceTests -- --express --verbosity 4
ls /tmp/tests/EthashTestsPassed || ./testeth -t EthashTests -- --express --verbosity 4
ls /tmp/tests/SealEngineTestsPassed || ./testeth -t SealEngineTests -- --express --verbosity 4
ls /tmp/tests/DifficultyTestsPassed || ./testeth -t DifficultyTests -- --express --verbosity 4
ls /tmp/tests/BlockSuitePassed || ./testeth -t BlockSuite -- --express --verbosity 4
ls /tmp/tests/BlockChainMainNetworkSuitePassed || ./testeth -t BlockChainMainNetworkSuite -- --express --verbosity 4
ls /tmp/tests/BlockChainFrontierSuitePassed || ./testeth -t BlockChainFrontierSuite -- --express --verbosity 4
ls /tmp/tests/BlockQueueSuitePassed || ./testeth -t BlockQueueSuite -- --express --verbosity 4
ls /tmp/tests/ClientBasePassed || ./testeth -t ClientBase -- --express --verbosity 4
ls /tmp/tests/EstimateGasPassed || ./testeth -t EstimateGas -- --express --verbosity 4
ls /tmp/tests/getHistoricNodesDataPassed || ./testeth -t getHistoricNodesData -- --express --verbosity 4
ls /tmp/tests/ExtVmSuitePassed || ./testeth -t ExtVmSuite -- --express --verbosity 4
ls /tmp/tests/GasPricerPassed || ./testeth -t GasPricer -- --express --verbosity 4
ls /tmp/tests/BasicTestsPassed || ./testeth -t BasicTests -- --express --verbosity 4
ls /tmp/tests/InstanceMonitorSuitePassed || ./testeth -t InstanceMonitorSuite -- --express --verbosity 4
ls /tmp/tests/PrecompiledTestsPassed || ./testeth -t PrecompiledTests -- --express --verbosity 4
ls /tmp/tests/SkaleHostSuitePassed || ./testeth -t SkaleHostSuite -- --express --verbosity 4
ls /tmp/tests/StateUnitTestsPassed || ./testeth -t StateUnitTests -- --express --verbosity 4
ls /tmp/tests/libethereumPassed || ./testeth -t libethereum -- --express --verbosity 4
ls /tmp/tests/TransactionQueueSuitePassed || ./testeth -t TransactionQueueSuite -- --express --verbosity 4
ls /tmp/tests/LegacyVMSuitePassed || ./testeth -t LegacyVMSuite -- --express --verbosity 4
ls /tmp/tests/SkaleInterpreterSuitePassed || ./testeth -t SkaleInterpreterSuite -- --express --verbosity 4
ls /tmp/tests/SnapshotSigningTestSuitePassed || ./testeth -t SnapshotSigningTestSuite -- --express --verbosity 4
ls /tmp/tests/SkUtilsPassed || ./testeth -t SkUtils -- --express --verbosity 4
ls /tmp/tests/BlockChainTestSuitePassed || ./testeth -t BlockChainTestSuite -- --express --verbosity 4
ls /tmp/tests/TestHelperSuitePassed || ./testeth -t TestHelperSuite -- --express --verbosity 4
ls /tmp/tests/LevelDBHashBasePassed || ./testeth -t LevelDBHashBase -- --express --verbosity 4
ls /tmp/tests/memDBPassed || ./testeth -t memDB -- --express --verbosity 4
ls /tmp/tests/OverlayDBTestsPassed || ./testeth -t OverlayDBTests -- --express --verbosity 4
ls /tmp/tests/AccountHolderTestPassed || ./testeth -t AccountHolderTest -- --express --verbosity 4
ls /tmp/tests/ClientTestsPassed || ./testeth -t ClientTests -- --express --verbosity 4
ls /tmp/tests/JsonRpcSuitePassed || ./testeth -t JsonRpcSuite -- --express --verbosity 4
ls /tmp/tests/SingleConsensusTestsPassed || ./testeth -t SingleConsensusTests -- --express --verbosity 4
ls /tmp/tests/ConsensusTestsPassed || ./testeth -t ConsensusTests -- --express --verbosity 4
function rerun_test() { ls "/tmp/tests/${1}Passed" 2>/dev/null || ./testeth --report_level=detailed -t "$1" -- --express --verbosity 4; }
rerun_test TransitionTests
rerun_test TransactionTests
rerun_test VMTests
rerun_test LevelDBTests
rerun_test CoreLibTests
rerun_test RlpTests
rerun_test SharedSpaceTests
rerun_test EthashTests
rerun_test SealEngineTests
rerun_test DifficultyTests
rerun_test BlockSuite
rerun_test BlockChainMainNetworkSuite
rerun_test BlockChainFrontierSuite
rerun_test BlockQueueSuite
rerun_test ClientBase
rerun_test EstimateGas
rerun_test getHistoricNodesData
rerun_test ExtVmSuite
rerun_test GasPricer
rerun_test BasicTests
rerun_test InstanceMonitorSuite
rerun_test PrecompiledTests
rerun_test SkaleHostSuite
rerun_test StateUnitTests
rerun_test libethereum
rerun_test TransactionQueueSuite
rerun_test LegacyVMSuite
rerun_test SkaleInterpreterSuite
rerun_test SnapshotSigningTestSuite
rerun_test SkUtils
rerun_test BlockChainTestSuite
rerun_test TestHelperSuite
rerun_test LevelDBHashBase
rerun_test memDB
rerun_test OverlayDBTests
rerun_test AccountHolderTest
rerun_test ClientTests
rerun_test JsonRpcSuite
rerun_test SingleConsensusTests
rerun_test ConsensusTests
ls /tmp/tests/BtrfsTestSuitePassed || sudo NO_ULIMIT_CHECK=1 NO_NTP_CHECK=1 ./testeth -t BtrfsTestSuite -- --all --verbosity 4
ls /tmp/tests/HashSnapshotTestSuitePassed || sudo NO_ULIMIT_CHECK=1 NO_NTP_CHECK=1 ./testeth -t HashSnapshotTestSuite -- --all --verbosity 4
ls /tmp/tests/ClientSnapshotsSuitePassed || sudo NO_ULIMIT_CHECK=1 NO_NTP_CHECK=1 ./testeth -t ClientSnapshotsSuite -- --all --verbosity 4
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@
[submodule "cmake/cable"]
path = cmake/cable
url = https://github.com/ethereum/cable.git
[submodule "test/historicstate/hardhat/tracely"]
path = test/historicstate/hardhat/tracely
url = https://github.com/DenrianWeiss/tracely
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ If you have already cloned the repo and forgot to pass `--recurse-submodules`, e
sudo apt update
sudo apt install autoconf build-essential cmake libprocps-dev libtool texinfo wget yasm flex bison btrfs-progs python3 python3-pip gawk git vim doxygen
sudo apt install make build-essential cmake pkg-config libgnutls28-dev libssl-dev unzip zlib1g-dev libgcrypt20-dev docker.io gcc-9 g++-9 gperf clang-format-11 gnutls-dev
sudo apt install nettle-dev libhiredis-dev redis-server google-perftools libgoogle-perftools-dev lcov
sudo apt install nettle-dev libhiredis-dev redis-server google-perftools libgoogle-perftools-dev lcov sudo apt-get install libv8-dev
```


Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.18.0
3.18.1
61 changes: 61 additions & 0 deletions docs/tracing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Tracing API

## API calls

SKALE tracing API implements the following Geth tracing API calls

```angular2html

debug_traceTransaction
debug_traceCall
debug_traceBlockByNumber
debug_traceBlockByHash
```

The calls a fully compatible with Geth API. If there is
an incompatibility, its a bug.

Geth API is documented here

https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-debug

Also see here for live examples

https://www.quicknode.com/docs/ethereum/debug_traceTransaction
https://www.quicknode.com/docs/ethereum/debug_traceBlockByNumber
https://www.quicknode.com/docs/ethereum/debug_traceBlockByHash
https://www.quicknode.com/docs/ethereum/debug_traceCall


## Tracer config and types implemented

All tracer config options documented here are implemented

https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-debug#traceconfig

The following Geth Tracer types are implemented:

* "4byteTracer"
* "callTracer"
* "prestateTracer"
* "noopTracer"

In addition the following Parity tracer is implemented

* replayTracer

See here for documentation of replayTracer

https://openethereum.github.io/JSONRPC-trace-module
https://www.quicknode.com/docs/ethereum/trace_replayTransaction
https://docs.alchemy.com/reference/trace-replaytransaction

Note, that we do not implement Parity "trace_replayTransaction"
API call. Instead, "replayTracer" parameter needs to be
passed to Geth API calls.


## All Tracer

* allTracer has beeen added to help QA, it prints results of all supported traces at once

2 changes: 1 addition & 1 deletion libconsensus
10 changes: 10 additions & 0 deletions libdevcore/CommonData.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,16 @@ inline std::string toCompactHexPrefixed( u256 _val, unsigned _min = 0 ) {
return toHexPrefixed( toCompactBigEndian( _val, _min ) );
}


inline std::string toHex( u256 _val ) {
return toHex( toBigEndian( _val ) );
}

inline std::string toHexPrefixed( u256 _val ) {
return toHexPrefixed( toBigEndian( _val ) );
}


// Algorithms for string and string-like collections.

/// Escapes a string into the C-string representation.
Expand Down
21 changes: 16 additions & 5 deletions libdevcore/DBFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@
#include "DBFactory.h"
#include "FileSystem.h"
#include "LevelDB.h"
#include "MemoryDB.h"
#include "libethcore/Exceptions.h"

namespace dev {
namespace db {
namespace dev::db {
namespace fs = boost::filesystem;
namespace po = boost::program_options;

Expand Down Expand Up @@ -132,6 +130,18 @@ std::unique_ptr< DatabaseFace > DBFactory::create( DatabaseKind _kind, fs::path
switch ( _kind ) {
case DatabaseKind::LevelDB:
return std::unique_ptr< DatabaseFace >( new LevelDB( _path ) );
default:
assert( false );
return {};
}
}

std::unique_ptr< DatabaseFace > DBFactory::createHistoric(
DatabaseKind _kind, fs::path const& _path ) {
switch ( _kind ) {
case DatabaseKind::LevelDB:
return std::unique_ptr< DatabaseFace >( new LevelDB( _path, LevelDB::defaultReadOptions(),
LevelDB::defaultWriteOptions(), LevelDB::defaultDBOptions(), s_reopenPeriodMs ) );
break;
default:
assert( false );
Expand All @@ -140,5 +150,6 @@ std::unique_ptr< DatabaseFace > DBFactory::create( DatabaseKind _kind, fs::path
}


} // namespace db
} // namespace dev
std::atomic< int64_t > DBFactory::s_reopenPeriodMs = -1;

} // namespace dev::db
12 changes: 8 additions & 4 deletions libdevcore/DBFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
#include <boost/filesystem.hpp>
#include <boost/program_options/options_description.hpp>

namespace dev {
namespace db {
namespace dev::db {

enum class DatabaseKind { LevelDB };

/// Provide a set of program options related to databases
Expand All @@ -52,8 +52,12 @@ class DBFactory {
static std::unique_ptr< DatabaseFace > create( DatabaseKind _kind );
static std::unique_ptr< DatabaseFace > create(
DatabaseKind _kind, boost::filesystem::path const& _path );
static std::unique_ptr< DatabaseFace > createHistoric(
DatabaseKind _kind, boost::filesystem::path const& _path );

static void setReopenPeriodMs( int64_t _reopenPeriodMs ) { s_reopenPeriodMs = _reopenPeriodMs; }

private:
static std::atomic< int64_t > s_reopenPeriodMs;
};
} // namespace db
} // namespace dev
} // namespace dev::db
Loading
Loading