go-pulse/core
Felix Lange be12392fba core/vm: track 63/64 call gas off stack (#15563)
* core/vm: track 63/64 call gas off stack

Gas calculations in gasCall* relayed the available gas for calls by
replacing it on the stack. This lead to inconsistent traces, which we
papered over by copying the pre-execution stack in trace mode.

This change relays available gas using a temporary variable, off the
stack, and allows removing the weird copy.

* core/vm: remove stackCopy

* core/vm: pop call gas into pool

* core/vm: to -> addr
2017-11-28 21:05:49 +02:00
..
asm core/asm: use ContainsRune instead of IndexRune (#15098) 2017-09-07 23:11:48 +02:00
bloombits core/bloombits: handle non 8-bit boundary section matches 2017-11-15 14:10:35 +02:00
state core/state: copy trie too, not just content 2017-11-24 14:20:49 +02:00
types core/types: fix test for TransactionsByPriceAndNonce 2017-10-11 11:35:44 +01:00
vm core/vm: track 63/64 call gas off stack (#15563) 2017-11-28 21:05:49 +02:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
bench_test.go core, light: send chain events using event.Feed (#14865) 2017-08-18 12:58:36 +02:00
block_validator_test.go core, light: send chain events using event.Feed (#14865) 2017-08-18 12:58:36 +02:00
block_validator.go core/state: access trie through Database interface, track errors (#14589) 2017-06-27 15:57:06 +02:00
blockchain_test.go params: enable Byzantium on Ropsten/tests, fix failures 2017-09-14 10:59:05 +03:00
blockchain.go core: split same-td blocks on block height 2017-11-13 17:07:05 +02:00
blocks.go core: typos and comments improve 2017-05-25 17:14:33 +03:00
chain_indexer_test.go core, eth, les: fix messy code (#15367) 2017-10-25 12:18:44 +03:00
chain_indexer.go all: fix code comment typos (#15547) 2017-11-24 11:20:01 +02:00
chain_makers_test.go core, light: send chain events using event.Feed (#14865) 2017-08-18 12:58:36 +02:00
chain_makers.go cmd, consensus, core, miner: instatx clique for --dev (#15323) 2017-10-24 13:40:42 +03:00
dao_test.go params: enable Byzantium on Ropsten/tests, fix failures 2017-09-14 10:59:05 +03:00
database_util_test.go core/types, internal: swap Receipt.Failed to Status 2017-10-02 14:04:22 +03:00
database_util.go les, light: LES/2 protocol version (#14970) 2017-10-24 15:19:09 +02:00
error.go core: make txpool operate on immutable state 2017-09-05 13:34:41 +03:00
events.go core: remove unused events 2017-06-23 10:39:38 +08:00
evm.go all: update license information 2017-04-14 10:29:00 +02:00
fees.go core: typos and comments improve 2017-05-25 17:14:33 +03:00
gaspool.go consensus, core: drop all the legacy custom core error types 2017-04-06 17:34:19 +03:00
gen_genesis_account.go tests: update tests and implement general state tests (#14734) 2017-07-11 13:49:14 +02:00
gen_genesis.go core: blocknumber in genesis as hex (#14812) 2017-07-17 10:33:13 +02:00
genesis_alloc.go cmd, consensus, core, miner: instatx clique for --dev (#15323) 2017-10-24 13:40:42 +03:00
genesis_test.go cmd, consensus, core, miner: instatx clique for --dev (#15323) 2017-10-24 13:40:42 +03:00
genesis.go all: gofmt -w -s (#15419) 2017-11-08 11:45:52 +01:00
headerchain.go core, eth/downloader: commit block data using batches (#15115) 2017-09-09 19:03:07 +03:00
helper_test.go core: typos and comments improve 2017-05-25 17:14:33 +03:00
mkalloc.go core: refactor genesis handling 2017-03-23 15:58:43 +01:00
state_processor.go consensus, core, params: rebrand Metro to Byzantium 2017-09-14 10:10:46 +03:00
state_transition.go core: make txpool operate on immutable state 2017-09-05 13:34:41 +03:00
tx_journal.go core, swarm: typo fixes 2017-10-30 01:23:23 +01:00
tx_list_test.go cmd, core, eth: configurable txpool parameters 2017-05-29 11:29:46 +03:00
tx_list.go core: respect price bump threshold (#15401) 2017-10-30 13:05:00 +02:00
tx_pool_test.go all: fix code comment typos (#15547) 2017-11-24 11:20:01 +02:00
tx_pool.go all: gofmt -w -s (#15419) 2017-11-08 11:45:52 +01:00
types.go core, consensus: pluggable consensus engines (#3817) 2017-04-05 00:16:29 +02:00