using keccak from constantine #3723
Draft
+182
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps the
nim-eth
vendor to status-im/nim-eth#816Essentially this replaces the keccak used in the trie, and by hashwriter to the constantine one
Preliminary small import result
ORG-run.csv vs keccak-run.csv bps_x bps_y tps_x tps_y time_x time_y bpsd tpsd timed block_number (499713, 907245] 8,968.52 9,526.92 16,379.64 17,367.89 56s 53s 6.17% 6.17% -5.64% (907245, 1314778] 6,847.63 7,285.70 30,336.99 32,236.76 1m1s 57s 6.40% 6.40% -5.96% (1314778, 1722311] 5,510.92 5,708.39 36,262.85 37,502.07 1m21s 1m18s 3.49% 3.49% -3.28% (1722311, 2129844] 4,321.05 4,579.69 31,596.99 33,474.44 2m25s 2m20s 5.68% 5.68% -5.34% (2129844, 2537377] 2,910.40 3,065.92 22,426.82 23,609.88 14m7s 13m13s 6.18% 6.18% -5.64% (2537377, 2944910] 4,328.41 4,507.38 30,007.38 31,252.14 6m49s 6m42s 3.80% 3.80% -3.62% (2944910, 3352443] 4,119.18 4,282.30 34,362.03 35,754.07 1m41s 1m37s 4.06% 4.06% -3.86% (3352443, 3759976] 2,173.49 2,270.20 34,694.72 36,254.60 3m18s 3m9s 4.56% 4.56% -4.34% (3759976, 4167509] 627.38 653.73 30,560.81 31,844.98 11m51s 11m22s 4.25% 4.25% -4.06% blocks: 3659604, baseline: 43m32s, contender: 41m35s Time (total): -1m57s, -4.50% bpsd = blocks per sec diff (+), tpsd = txs per sec diff, timed = time to process diff (-) + = more is better, - = less is better
Note
nimbus-eth1/execution_chain/evm/evm_errors.nim
Lines 79 to 83 in 1ea6f87