aboutsummaryrefslogtreecommitdiffstats
path: root/eth/tracers
Commit message (Collapse)AuthorAgeFilesLines
* core: vm: refactor vm config and contextJhih-Ming Huang2019-05-062-9/+23
| | | | | | | | | | | | | | | | To support multiple VMs, there must be a shared execution environment for each VM, so this pull request moved some shared component to vm.Context and implemented the vm.ExecPack to hold the list of VM, list of VM configures, context and some shared resources. The adjustment includes: * Move NoRecursion, Depth, ReadOnly, RandCallIndex, IntPool and CallGasTemp to Context. * Adjust VM enumeration from byte to uint8, and the VMList from map to array. * Register VM constructor in each VM package's init function. * Initialize all VM instance in NewExecPack. * Remove EVMImplement, and modify EVM, such that EVM can do the same functions with EVMImplement.
* remove dexon/crypto/sha3 pkg.Jhih-Ming Huang2019-05-061-1/+1
|
* core: vm: vm interface (#164)JM2019-05-061-2/+57
|
* core: vm: extract stateDB and contract outjm2019-05-063-12/+14
| | | | | Extract stateDB and contract out from core/vm/evm to core/vm, such that other vm type can use the common modules.
* core: vm: refactor file structurejm2019-05-063-15/+16
| | | | | For support other vm types, this pr modified the core/vm file structures.
* core: set extended round block reward to zero (#298)Wei-Ning Huang2019-04-091-0/+1
| | | | | To discourage DKG set from prolonging the round indefinitely, we set the block reward of the extended round to 0. The gas fee is send to the DEXON governance owner for safe keeping and later used by the foundation.
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-04-094-21/+21
|
* eth/tracer: extend create2 (#18318)gary rong2019-01-066-10/+122
| | | | | | | | | | * eth/tracer: extend create2 * eth/tracers: fix create2-flaw in prestate_tracer * eth/tracers: fix test * eth/tracers: update assets
* eth/tracers: fixed incorrect storage from prestate_tracer (#18253)Max Sistemich2018-12-102-17/+14
| | | | | | * eth: fixed incorrect storage from prestate_tracer * eth/tracers: updated assets.go
* core/vm, eth/tracers: use pointer receiver for GetRefund (#18018)Corey Lin2018-11-081-1/+1
|
* core/vm: adds refund as part of the json standard trace (#17910)Martin Holst Swende2018-10-232-7/+20
| | | | | | | This adds the global accumulated refund counter to the standard json output as a numeric json value. Previously this was not very interesting since it was not used much, but with the new sstore gas changes the value is a lot more interesting from a consensus investigation perspective.
* all: simplify s[:] to s where s is a slice (#17673)Emil2018-09-151-4/+4
|
* core/vm: Hide read only flag from Interpreter interface (#17461)Paweł Bylica2018-09-081-1/+1
| | | | | Makes Interface interface a bit more stateless and abstract. Obviously this change is dictated by EVMC design. The EVMC tries to keep the responsibility for EVM features totally inside the VMs, if feasible. This makes VM "stateless" because VM does not need to pass any information between executions, all information is included in parameters of the execute function.
* all: simplify switches (#17267)Oleg Kovalov2018-07-301-6/+1
| | | | | | * all: simplify switches * silly mistake
* eth/tracers: fix noop tracer (#17220)emile2018-07-232-3/+3
|
* tracers: fix err in 4byte, add some opcode analysis toolsMartin Holst Swende2018-06-205-3/+214
|
* eth/tracers: fix minor off-by-one error (#16879)Martin Holst Swende2018-06-052-15/+56
| | | | | | * tracing: fix minor off-by-one error * tracers: go generate
* all: get rid of error when creating memory database (#16716)gary rong2018-05-091-2/+1
| | | | | | | | * all: get rid of error when create mdb * core: clean up variables definition * all: inline mdb definition
* all: update license information (#16089)Felix Lange2018-02-142-2/+2
|
* all: update generated code (#15808)Felix Lange2018-01-081-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * core/types, core/vm, eth, tests: regenerate gencodec files * Makefile: update devtools target Install protoc-gen-go and print reminders about npm, solc and protoc. Also switch to github.com/kevinburke/go-bindata because it's more maintained. * contracts/ens: update contracts and regenerate with solidity v0.4.19 The newer upstream version of the FIFSRegistrar contract doesn't set the resolver anymore. The resolver is now deployed separately. * contracts/release: regenerate with solidity v0.4.19 * contracts/chequebook: fix fallback and regenerate with solidity v0.4.19 The contract didn't have a fallback function, payments would be rejected when compiled with newer solidity. References to 'mortal' and 'owned' use the local file system so we can compile without network access. * p2p/discv5: regenerate with recent stringer * cmd/faucet: regenerate * dashboard: regenerate * eth/tracers: regenerate * internal/jsre/deps: regenerate * dashboard: avoid sed -i because it's not portable * accounts/usbwallet/internal/trezor: fix go generate warnings
* all: switch gas limits from big.Int to uint64Péter Szilágyi2018-01-031-2/+2
|
* cmd, core, eth/tracers: support fancier js tracing (#15516)Péter Szilágyi2017-12-2121-0/+2951
* cmd, core, eth/tracers: support fancier js tracing * eth, internal/web3ext: rework trace API, concurrency, chain tracing * eth/tracers: add three more JavaScript tracers * eth/tracers, vendor: swap ottovm to duktape for tracing * core, eth, internal: finalize call tracer and needed extras * eth, tests: prestate tracer, call test suite, rewinding * vendor: fix windows builds for tracer js engine * vendor: temporary duktape fix * eth/tracers: fix up 4byte and evmdis tracer * vendor: pull in latest duktape with my upstream fixes * eth: fix some review comments * eth: rename rewind to reexec to make it more obvious * core/vm: terminate tracing using defers