erigon-pulse/cmd/state/commands
sudeep e13a318e0b
evm t8n to use ExecuteBlockEphemerally api (#4642)
* evm t8n tool to use ExecuteBlockEphemerally api (#4512)

* fix to set V, R, S in legacy transaction

* fix to dump post-execution alloc for evm t8n

* close tx in evm t8n

* populate current difficulty and gas used in output result

- update the ExecutionResult to include corresponding info (like
  Difficulty/GasUsed)

* initial attempt at migrating 'evm t8n' to use ExecuteBlockEphemerally

* using ExecutionResult in ExecuteBlockEphemerally

* bypass validations and integrate with EphemeralExecResult

* fixing output of 'evm t8n'

- remaining bits are "stateRoot" in results.txt and "balance" field for one account in
  alloc.txt (for testdata=1)

* get ExecuteBlockEphemerally to accept getTracer lambda

* fix build failure

* test cases for evm t8n

* more test cases for evm t8n

* fix stateRoot computation in evm t8n

* remove reward argument, as EBE itself takes care of it

* final cleanups for migration to using ExecuteBlockEphemerally

* change EBEforBSC to match EBE

* fix linter issues

* manually revert an unwanted diff

* avoid calculating ReceiptHash twice

* linter check

* minor correction

* remove unnecessary logic in EBEforBsc

* fix integration tests

* fix build
2022-07-07 12:47:00 +01:00
..
calltracer22.go [erigon2.2] Prototype of eth_getLogs (#4437) 2022-06-13 21:25:17 +01:00
check_change_sets.go Erigon2 upgrade 2 prototype (#4341) 2022-06-10 16:18:43 +01:00
check_enc.go Rename Datadir/dataDir to follow conventions. (#3576) 2022-02-22 17:39:48 +00:00
check_index.go Rename Datadir/dataDir to follow conventions. (#3576) 2022-02-22 17:39:48 +00:00
erigon2.go evm t8n to use ExecuteBlockEphemerally api (#4642) 2022-07-07 12:47:00 +01:00
erigon22.go evm t8n to use ExecuteBlockEphemerally api (#4642) 2022-07-07 12:47:00 +01:00
global_flags_vars.go changed syncmode flag to snapshots flag (#4353) 2022-06-05 07:33:55 +01:00
history2.go evm t8n to use ExecuteBlockEphemerally api (#4642) 2022-07-07 12:47:00 +01:00
history22.go evm t8n to use ExecuteBlockEphemerally api (#4642) 2022-07-07 12:47:00 +01:00
index_stats.go Rename Datadir/dataDir to follow conventions. (#3576) 2022-02-22 17:39:48 +00:00
opcode_tracer.go evm t8n to use ExecuteBlockEphemerally api (#4642) 2022-07-07 12:47:00 +01:00
root.go erigon2: implemented chain switching by --chain flag (#3668) 2022-03-10 14:01:37 +00:00
state_recon_1.go evm t8n to use ExecuteBlockEphemerally api (#4642) 2022-07-07 12:47:00 +01:00
state_recon.go evm t8n to use ExecuteBlockEphemerally api (#4642) 2022-07-07 12:47:00 +01:00
state_root.go pass context around hased state stage (#4537) 2022-06-25 20:34:42 +06:00
verify_txlookup.go Rename Datadir/dataDir to follow conventions. (#3576) 2022-02-22 17:39:48 +00:00