evm-benchmarks
evm-benchmarks copied to clipboard
A collection of Ethereum Virtual Machine benchmarks
- https://github.com/alembic-tech/P256-verify-signature/blob/main/contracts/OptimizedCurve.sol - https://github.com/rdubois-crypto/FreshCryptoLib/blob/master/solidity/src/FCL_ecdsa.sol#L40
https://github.com/Vectorized/solady/tree/main/src/utils
https://github.com/rdubois-crypto/FreshCryptoLib/blob/master/solidity/src/README.md
Consider benchmarking a addchain of `MULMOD` generated to compute a prime field inverse. E.g. https://github.com/thehubbleproject/hubble-contracts/blob/master/contracts/libs/ModExp.sol.
The code at https://github.com/Vectorized/solady/blob/main/src/utils/Base64.sol can be wrapped with `external` functions add to the test suite.
I noticed in the weierstrudel documentation that it requires a call with exactly 1 wei of value. This is probably to implement "push 1" as `VALUE`. Please confirm and fix...
https://github.com/ethereum-optimism/cannon
https://github.com/ethereum/EIPs/blob/master/assets/eip-5564/EllipticCurve.sol
Use existing EVM in EVM implementations (sometimes partial) for benchmarking. https://twitter.com/PaulRBerg/status/1583454865430224896 - [ ] https://github.com/brockelmore/solvm - [ ] https://github.com/Ohalo-Ltd/solevm - [ ] https://github.com/ricmoo/lurch (this is deployed to Mainnet so we...