go-ethereum/core/vm/testdata/precompiles
Martin Holst Swende a3cd8a040a
core/vm: fix benchmark overflow + prep for precompile repricings (#21530)
* core/vm/testdata: add gascost expectations to testcases

* core/vm: verify expected gas in tests for precompiles

* core/vm: fix overflow flaw in gas/s calculation
2020-09-10 09:19:30 +02:00
..
blake2F.json core/vm: fix benchmark overflow + prep for precompile repricings (#21530) 2020-09-10 09:19:30 +02:00
blsG1Add.json core/vm: fix benchmark overflow + prep for precompile repricings (#21530) 2020-09-10 09:19:30 +02:00
blsG1Mul.json core/vm: fix benchmark overflow + prep for precompile repricings (#21530) 2020-09-10 09:19:30 +02:00
blsG1MultiExp.json core/vm: fix benchmark overflow + prep for precompile repricings (#21530) 2020-09-10 09:19:30 +02:00
blsG2Add.json core/vm: fix benchmark overflow + prep for precompile repricings (#21530) 2020-09-10 09:19:30 +02:00
blsG2Mul.json core/vm: fix benchmark overflow + prep for precompile repricings (#21530) 2020-09-10 09:19:30 +02:00
blsG2MultiExp.json core/vm: fix benchmark overflow + prep for precompile repricings (#21530) 2020-09-10 09:19:30 +02:00
blsMapG1.json core/vm: fix benchmark overflow + prep for precompile repricings (#21530) 2020-09-10 09:19:30 +02:00
blsMapG2.json core/vm: fix benchmark overflow + prep for precompile repricings (#21530) 2020-09-10 09:19:30 +02:00
blsPairing.json core/vm: fix benchmark overflow + prep for precompile repricings (#21530) 2020-09-10 09:19:30 +02:00
bn256Add.json core/vm: fix benchmark overflow + prep for precompile repricings (#21530) 2020-09-10 09:19:30 +02:00
bn256Pairing.json core/vm: fix benchmark overflow + prep for precompile repricings (#21530) 2020-09-10 09:19:30 +02:00
bn256ScalarMul.json core/vm: fix benchmark overflow + prep for precompile repricings (#21530) 2020-09-10 09:19:30 +02:00
ecRecover.json core/vm: fix benchmark overflow + prep for precompile repricings (#21530) 2020-09-10 09:19:30 +02:00
fail-blake2f.json core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-03 09:44:32 +03:00
fail-blsG1Add.json core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-03 09:44:32 +03:00
fail-blsG1Mul.json core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-03 09:44:32 +03:00
fail-blsG1MultiExp.json core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-03 09:44:32 +03:00
fail-blsG2Add.json core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-03 09:44:32 +03:00
fail-blsG2Mul.json core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-03 09:44:32 +03:00
fail-blsG2MultiExp.json core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-03 09:44:32 +03:00
fail-blsMapG1.json core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-03 09:44:32 +03:00
fail-blsMapG2.json core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-03 09:44:32 +03:00
fail-blsPairing.json core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-03 09:44:32 +03:00
modexp.json core/vm: fix benchmark overflow + prep for precompile repricings (#21530) 2020-09-10 09:19:30 +02:00