diff options
author | Antonio Salazar Cardozo <savedfastcool@gmail.com> | 2019-08-06 22:12:54 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-08-06 22:12:54 +0800 |
commit | beff5fa578b5349004d146d6e399aa0cca1550e5 (patch) | |
tree | 3939efda97bffbac4dc08f58dcdf27b2735878bb /docs/audits | |
parent | aa6005b469fdd1aa7a95f501ce87908011f43159 (diff) | |
download | go-tangerine-beff5fa578b5349004d146d6e399aa0cca1550e5.tar go-tangerine-beff5fa578b5349004d146d6e399aa0cca1550e5.tar.gz go-tangerine-beff5fa578b5349004d146d6e399aa0cca1550e5.tar.bz2 go-tangerine-beff5fa578b5349004d146d6e399aa0cca1550e5.tar.lz go-tangerine-beff5fa578b5349004d146d6e399aa0cca1550e5.tar.xz go-tangerine-beff5fa578b5349004d146d6e399aa0cca1550e5.tar.zst go-tangerine-beff5fa578b5349004d146d6e399aa0cca1550e5.zip |
params, core/vm: Istanbul EIP-1108 bn256 gas cost reduction (#19904)
* params: add IsIstanbul to config + rules
IstanbulBlock, used to determine if the config IsIstanbul, is currently
left nil until an actual block is chosen.
* params, core/vm: implement EIP-1108
Old gas costs for elliptic curve operations are given the PreIstanbul
prefix, while current gas costs retain the unprefixed names. The actual
precompile implementations are the same, so they are factored out into
common functions that are called by the pre-Istanbul and current
precompile structs. Finally, an Istanbul precompile list is added that
references the new precompile structs, which in turn reference the new
gas costs.
* params: fix fork ordering, add missing chain compatibility check
Diffstat (limited to 'docs/audits')
0 files changed, 0 insertions, 0 deletions