erigon-pulse/consensus/parlia
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
..
abi.go BSC main net Euler fork (#4461) 2022-06-16 15:32:32 +01:00
api.go More efficient header verification of headers for Parlia when snapshots are used (#3998) 2022-04-29 07:10:31 +01:00
parlia.go evm t8n to use ExecuteBlockEphemerally api (#4642) 2022-07-07 12:47:00 +01:00
ramanujanfork.go Full BSC support with validator mode (#3233) 2022-01-14 19:06:35 +00:00
snapshot_test.go Full BSC support with validator mode (#3233) 2022-01-14 19:06:35 +00:00
snapshot.go fix linter warning (#4133) 2022-05-12 12:03:25 +07:00
utils.go Full BSC support with validator mode (#3233) 2022-01-14 19:06:35 +00:00