aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/StateTests/EIP150
Commit message (Collapse)AuthorAgeFilesLines
* core, core/state, trie: Hardfork EIP155, EIP161, EIP170Jeffrey Wilcke2016-11-1523-1011/+4205
| | | | | | | | | | | | | | | This commit implements EIP158 part 1, 2, 3 & 4 1. If an account is empty it's no longer written to the trie. An empty account is defined as (balance=0, nonce=0, storage=0, code=0). 2. Delete an empty account if it's touched 3. An empty account is redefined as either non-existent or empty. 4. Zero value calls and zero value suicides no longer consume the 25k reation costs. params: moved core/config to params Signed-off-by: Jeffrey Wilcke <jeffrey@ethereum.org>
* [release/1.4.18] core, core/vm: added gas price variance tableJeffrey Wilcke2016-10-1521-0/+74099
This implements 1b & 1c of EIP150 by adding a new GasTable which must be returned from the RuleSet config method. This table is used to determine the gas prices for the current epoch. Please note that when the CreateBySuicide gas price is set it is assumed that we're in the new epoch phase. In addition this PR will serve as temporary basis while refactorisation in being done in the EVM64 PR, which will substentially overhaul the gas price code. (cherry picked from commit 64af2aafdaf16d0bab4c2b89573324b076602bab)