erigon-pulse/tests
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
..
contracts rename (#1978) 2021-05-20 19:25:53 +01:00
fuzzers Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
solidity tests/solidity: add contract to test every opcode (#19283) 2019-09-26 10:30:33 +02:00
testdata@a380655e5f Update consensus tests to 10.4 (#4287) 2022-05-30 14:56:07 +02:00
.gitignore Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
block_test_util.go Avoid redundant Block.Header() deep-copy (#3050) 2021-11-29 08:52:36 +00:00
block_test.go Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
difficulty_test_util.go Update consensus tests to 10.2. EIP-2681 (#3103) 2021-12-07 18:24:59 +01:00
difficulty_test.go Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
gen_btheader.go Upgrade tests to 9.0.2 (#2147) 2021-06-13 14:01:11 +01:00
gen_difficultytest.go Update consensus tests to 10.2. EIP-2681 (#3103) 2021-12-07 18:24:59 +01:00
gen_stenv.go Upgrade tests to 9.0.2 (#2147) 2021-06-13 14:01:11 +01:00
init_test.go Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
init.go TangerineWhistle instead of EIP150 & SpuriousDragon instead of EIP155/158 (#4273) 2022-05-26 12:08:59 +02:00
rlp_test_util.go Inner errors (#2774) 2021-10-04 22:16:52 +07:00
rlp_test.go Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
state_test_util.go evm t8n to use ExecuteBlockEphemerally api (#4642) 2022-07-07 12:47:00 +01:00
state_test.go Fix genesis storage collision state tests (#4462) 2022-06-15 21:17:16 +01:00
statedb_chain_test.go TangerineWhistle instead of EIP150 & SpuriousDragon instead of EIP155/158 (#4273) 2022-05-26 12:08:59 +02:00
statedb_insert_chain_transaction_test.go TangerineWhistle instead of EIP150 & SpuriousDragon instead of EIP155/158 (#4273) 2022-05-26 12:08:59 +02:00
transaction_test_util.go Update consensus tests to 10.4 (#4287) 2022-05-30 14:56:07 +02:00
transaction_test.go Update consensus tests to 10.4 (#4287) 2022-05-30 14:56:07 +02:00