Skip to content

chore: remove internal precompile call - #3

Merged
kevaundray merged 1 commit into
mainfrom
kw/spec-integration
Mar 9, 2026
Merged

chore: remove internal precompile call#3
kevaundray merged 1 commit into
mainfrom
kw/spec-integration

Conversation

@kevaundray

Copy link
Copy Markdown
Contributor

No description provided.

@kevaundray
kevaundray marked this pull request as ready for review March 9, 2026 19:22
@github-actions

github-actions Bot commented Mar 9, 2026

Copy link
Copy Markdown

Gas Snapshot Diff

━ Blake2bBenchmarkTest::test_blake2b256_32bytes_precompile() (gas: 43438 → 43438 | 0 0.000%)
━ Blake2bBenchmarkTest::test_blake2b256_medium_precompile() (gas: 68713 → 68713 | 0 0.000%)
━ Blake2bBenchmarkTest::test_blake2b256_short_precompile() (gas: 41344 → 41344 | 0 0.000%)
━ Blake2fBenchmarkTest::test_precompile_100rounds() (gas: 50344 → 50344 | 0 0.000%)
━ Blake2fBenchmarkTest::test_precompile_12rounds() (gas: 50036 → 50036 | 0 0.000%)
━ Blake2fBenchmarkTest::test_precompile_1round() (gas: 50113 → 50113 | 0 0.000%)
━ IdentityBenchmarkTest::test_identity_32bytes_precompile() (gas: 10449 → 10449 | 0 0.000%)
━ IdentityBenchmarkTest::test_identity_32bytes_pure() (gas: 10429 → 10429 | 0 0.000%)
━ IdentityBenchmarkTest::test_identity_medium_precompile() (gas: 11918 → 11918 | 0 0.000%)
━ IdentityBenchmarkTest::test_identity_medium_pure() (gas: 12595 → 12595 | 0 0.000%)
━ IdentityBenchmarkTest::test_identity_short_precompile() (gas: 14614 → 14614 | 0 0.000%)
━ IdentityBenchmarkTest::test_identity_short_pure() (gas: 14396 → 14396 | 0 0.000%)
━ ModexpBenchmarkTest::test_modexp_precompile_2048() (gas: 18978 → 18978 | 0 0.000%)
━ ModexpBenchmarkTest::test_modexp_precompile_4096() (gas: 35937 → 35937 | 0 0.000%)
━ RSABenchmarkTest::test_rsa2048_verify() (gas: 124268 → 124268 | 0 0.000%)
━ RSABenchmarkTest::test_rsa2048_verify_oz() (gas: 125911 → 125911 | 0 0.000%)
━ RSABenchmarkTest::test_rsa4096_verify() (gas: 269633 → 269633 | 0 0.000%)
━ RSABenchmarkTest::test_rsa4096_verify_oz() (gas: 271166 → 271166 | 0 0.000%)
━ PointEvalBenchmarkTest::test_benchmark_precompile() (gas: 59089 → 59089 | 0 0.000%)
━ Ripemd160BenchmarkTest::test_ripemd160_32bytes_precompile() (gas: 10488 → 10488 | 0 0.000%)
━ Ripemd160BenchmarkTest::test_ripemd160_medium_precompile() (gas: 12772 → 12772 | 0 0.000%)
━ Ripemd160BenchmarkTest::test_ripemd160_short_precompile() (gas: 9283 → 9283 | 0 0.000%)
━ Sha256BenchmarkTest::test_sha256_32bytes_builtin() (gas: 8947 → 8947 | 0 0.000%)
━ Sha256BenchmarkTest::test_sha256_32bytes_precompile() (gas: 9293 → 9293 | 0 0.000%)
━ Sha256BenchmarkTest::test_sha256_medium_builtin() (gas: 9653 → 9653 | 0 0.000%)
━ Sha256BenchmarkTest::test_sha256_medium_precompile() (gas: 9911 → 9911 | 0 0.000%)
━ Sha256BenchmarkTest::test_sha256_short_builtin() (gas: 7835 → 7835 | 0 0.000%)
━ Sha256BenchmarkTest::test_sha256_short_precompile() (gas: 8247 → 8247 | 0 0.000%)
↑ Blake2fBenchmarkTest::test_pure_1round() (gas: 44397 → 44926 | 529 1.192%)
↑ RSABenchmarkTest::test_rsa4096_verify_pure() (gas: 3210673 → 3326248 | 115575 3.600%)
↑ RSABenchmarkTest::test_rsa4096_verify_montgomery() (gas: 3209291 → 3324866 | 115575 3.601%)
↑ ModexpBenchmarkTest::test_modexp_montgomery_4096() (gas: 2976058 → 3091635 | 115577 3.884%)
↑ RSABenchmarkTest::test_rsa2048_verify_pure() (gas: 969936 → 1024703 | 54767 5.646%)
↑ RSABenchmarkTest::test_rsa2048_verify_montgomery() (gas: 968752 → 1023519 | 54767 5.653%)
↑ ModexpBenchmarkTest::test_modexp_montgomery_2048() (gas: 863416 → 918184 | 54768 6.343%)
↑ Blake2fBenchmarkTest::test_pure_12rounds() (gas: 84630 → 90505 | 5875 6.942%)
↑ Blake2bBenchmarkTest::test_blake2b256_32bytes_pure() (gas: 77835 → 83710 | 5875 7.548%)
↑ Blake2bBenchmarkTest::test_blake2b256_short_pure() (gas: 75543 → 81418 | 5875 7.777%)
↓ Sha256BenchmarkTest::test_sha256_short_pure() (gas: 147273 → 135657 | -11616 -7.887%)
↓ Sha256BenchmarkTest::test_sha256_32bytes_pure() (gas: 147923 → 136249 | -11674 -7.892%)
↓ Sha256BenchmarkTest::test_sha256_medium_pure() (gas: 700033 → 642466 | -57567 -8.223%)
↑ Blake2bBenchmarkTest::test_blake2b256_medium_pure() (gas: 137544 → 149294 | 11750 8.543%)
↑ Blake2fBenchmarkTest::test_pure_100rounds() (gas: 406456 → 455099 | 48643 11.968%)
↑ PointEvalBenchmarkTest::test_benchmark_bls() (gas: 7199237 → 8164282 | 965045 13.405%)
↓ RSABenchmarkTest::test_rsa4096_verify_barrett() (gas: 4188495 → 3381157 | -807338 -19.275%)
↓ ModexpBenchmarkTest::test_modexp_barrett_4096() (gas: 3954901 → 3147561 | -807340 -20.414%)
↓ RSABenchmarkTest::test_rsa2048_verify_barrett() (gas: 1633251 → 1207396 | -425855 -26.074%)
↓ ModexpBenchmarkTest::test_modexp_barrett_2048() (gas: 1527731 → 1101876 | -425855 -27.875%)
↓ Ripemd160BenchmarkTest::test_ripemd160_32bytes_pure() (gas: 213300 → 144134 | -69166 -32.427%)
↓ Ripemd160BenchmarkTest::test_ripemd160_short_pure() (gas: 211897 → 142789 | -69108 -32.614%)
↓ Ripemd160BenchmarkTest::test_ripemd160_medium_pure() (gas: 1024478 → 678975 | -345503 -33.725%)
Total tests: 51, ↑ 13, ↓ 10, ━ 28
Overall gas change: -1476401 (-4.177%)

@kevaundray
kevaundray merged commit dd9604c into main Mar 9, 2026
3 of 4 checks passed
kevaundray added a commit that referenced this pull request Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant