go-ethereum/core/vm
Martin Holst Swende c7664b0636 core, cmd/puppeth: implement constantinople fix, disable EIP-1283 (#18486)
This PR adds a new fork which disables EIP-1283. Internally it's called Petersburg,
but the genesis/config field is ConstantinopleFix.

The block numbers are:

    7280000 for Constantinople on Mainnet
    7280000 for ConstantinopleFix on Mainnet
    4939394 for ConstantinopleFix on Ropsten
    9999999 for ConstantinopleFix on Rinkeby (real number decided later)

This PR also defaults to using the same ConstantinopleFix number as whatever
Constantinople is set to. That is, it will default to mainnet behaviour if ConstantinopleFix
is not set.This means that for private networks which have already transitioned
to Constantinople, this PR will break the network unless ConstantinopleFix is
explicitly set!
2019-01-29 17:49:27 +01:00
..
runtime core/vm: faster create/create2 (#17806) 2018-10-04 18:15:37 +03:00
analysis.go core/vm: faster create/create2 (#17806) 2018-10-04 18:15:37 +03:00
analysis_test.go core/vm: faster create/create2 (#17806) 2018-10-04 18:15:37 +03:00
common.go core/vm: optimize copy-less data retrievals 2017-08-14 17:08:49 +03:00
contract.go core/vm: faster create/create2 (#17806) 2018-10-04 18:15:37 +03:00
contracts.go core/vm: fix typo in cryptographic hash function name (#17285) 2018-07-31 13:27:51 +03:00
contracts_test.go all: update license information (#16089) 2018-02-14 13:49:11 +01:00
doc.go core/vm: remove JIT VM codes (#16362) 2018-03-26 13:48:04 +03:00
errors.go core/vm: support for multiple interpreters (#17093) 2018-07-25 08:56:39 -04:00
evm.go tests, core: update tests and make STATICCALL cause touch-delete (#18187) 2018-11-29 10:51:57 +02:00
gas.go core/vm: clear linter warnings (#17057) 2018-06-26 15:56:25 +03:00
gas_table.go core, cmd/puppeth: implement constantinople fix, disable EIP-1283 (#18486) 2019-01-29 17:49:27 +01:00
gas_table_test.go core/vm : fix testcase for gas calculation 2017-06-28 10:47:07 +02:00
gen_structlog.go core/vm: adds refund as part of the json standard trace (#17910) 2018-10-23 16:28:18 +02:00
instructions.go vendor, crypto, swarm: switch over to upstream sha3 package 2019-01-04 09:26:07 +02:00
instructions_test.go core/vm: reuse Keccak-256 hashes across opcode executions (#17863) 2018-10-08 13:14:29 +02:00
int_pool_verifier.go all: update license information 2017-04-14 10:29:00 +02:00
int_pool_verifier_empty.go all: update license information 2017-04-14 10:29:00 +02:00
interface.go core/state: simplify proof methods (#17965) 2018-10-23 21:51:41 +02:00
interpreter.go core/vm: reuse Keccak-256 hashes across opcode executions (#17863) 2018-10-08 13:14:29 +02:00
intpool.go core/vm: reuse bigint pools across transactions (#17070) 2018-07-03 13:06:42 +03:00
intpool_test.go core/vm: reuse bigint pools across transactions (#17070) 2018-07-03 13:06:42 +03:00
jump_table.go core, params: polish net gas metering PR a bit 2018-09-18 16:29:51 +03:00
logger.go core/vm: adds refund as part of the json standard trace (#17910) 2018-10-23 16:28:18 +02:00
logger_json.go core, cmd/puppeth: implement constantinople fix, disable EIP-1283 (#18486) 2019-01-29 17:49:27 +01:00
logger_test.go core/vm, eth/tracers: use pointer receiver for GetRefund (#18018) 2018-11-08 13:07:15 +01:00
memory.go all: fix various comment typos (#17748) 2018-09-25 12:26:35 +02:00
memory_table.go core, crypto, params: implement CREATE2 evm instrction (#17196) 2018-07-24 17:22:03 +03:00
opcodes.go core/vm, params: implement EXTCODEHASH opcode (#17202) 2018-07-24 18:06:40 +03:00
stack.go core/vm: clear linter warnings (#17057) 2018-06-26 15:56:25 +03:00
stack_table.go all: update license information 2017-04-14 10:29:00 +02:00