nimbus-eth1/tests
Jamie Lokier 78233a4edc
Tests: Explain rules of "to" for call/create, use `ZERO_ADDRESS`
The conditions mentioned in the old TODO comment have been checked.  All
fixtures have either 40 hex digits or empty string for "to".  There is a test
with all-zeros, and it means send to that account, not contract creation.
Empty string means contract creation.

This patch does not change the relaxed parsing where fewer than 40 digits is
accepted.  We should probably be stricter about this.

Signed-off-by: Jamie Lokier <jamie@shareable.org>
2021-05-27 12:15:02 +01:00
..
customgenesis fixes crappy custom genesis and chain config parser 2021-05-13 16:04:08 +07:00
fixtures bump ethereum/tests submodule 2021-05-17 01:30:44 +07:00
graphql add more query fields and resolvers to graphql api 2021-05-18 07:32:03 +07:00
keystore implement more eth rpc and keystore management 2020-07-23 14:54:32 +07:00
rpcclient implement more eth rpc 2020-07-30 14:21:11 +07:00
README.md integrate GeneralStateTest runner into CI with 775 running tests (#153) 2018-09-19 16:46:14 +00:00
all_tests.nim LRU cache tests makeover 2021-05-26 07:58:12 +01:00
macro_assembler.nim Assembler: Make macro_assembler tests use new function asmCallEvm 2021-05-04 01:36:00 +01:00
nim.cfg unittest2 (parallelism disabled) 2019-10-31 06:17:01 +01:00
persistBlockTestGen.nim reduce warnings 2020-07-21 13:15:06 +07:00
test_allowed_to_fail.nim reenable EIP-2565: modExp gas cost 2021-05-17 01:28:31 +07:00
test_blockchain_json.nim add assertion guard in test_blockchain_json's parseBlock function 2021-05-26 15:46:04 +01:00
test_code_stream.nim merge vm_memory, vm_interpreter, and vm_utils_numeric => vm_internals 2021-03-31 18:15:27 +01:00
test_config.nim merge vm_forks and vm_opcode_values => vm_type2 2021-03-31 17:53:15 +01:00
test_difficulty.nim drop PublicNetwork enum usage and replace it with NetworkId 2021-05-20 14:04:16 +07:00
test_forkid.nim drop PublicNetwork enum usage and replace it with NetworkId 2021-05-20 14:04:16 +07:00
test_gas_meter.nim merge vm_memory, vm_interpreter, and vm_utils_numeric => vm_internals 2021-03-31 18:15:27 +01:00
test_generalstate_json.nim fixes `getRecipient`: using `sender` param instead of calculating sender itself 2021-05-04 15:31:47 +07:00
test_genesis.nim fixes crappy custom genesis and chain config parser 2021-05-13 16:04:08 +07:00
test_graphql.nim drop PublicNetwork enum usage and replace it with NetworkId 2021-05-20 14:04:16 +07:00
test_helpers.nim Tests: Explain rules of "to" for call/create, use `ZERO_ADDRESS` 2021-05-27 12:15:02 +01:00
test_lru_cache.nim Deep copy semantics for LRU cache 2021-05-26 11:12:52 +01:00
test_memory.nim merge vm_memory, vm_interpreter, and vm_utils_numeric => vm_internals 2021-03-31 18:15:27 +01:00
test_misc.nim merge vm_memory, vm_interpreter, and vm_utils_numeric => vm_internals 2021-03-31 18:15:27 +01:00
test_op_arith.nim unittest2 (parallelism disabled) 2019-10-31 06:17:01 +01:00
test_op_bit.nim unittest2 (parallelism disabled) 2019-10-31 06:17:01 +01:00
test_op_custom.nim reduce warnings 2020-07-21 13:15:06 +07:00
test_op_env.nim reduce warnings 2020-07-21 13:15:06 +07:00
test_op_memory.nim fix macro_assembler -> add call to acounts_cache.persist 2020-06-01 13:58:14 +07:00
test_op_misc.nim disable EIP-2315: Simple Subroutines for the EVM 2021-05-17 01:29:03 +07:00
test_persistblock_json.nim fixes evmc bug and add github action job to test evmc 2021-01-20 11:50:07 +07:00
test_precompiles.nim disable EIP-2537: Precompile for BLS12-381 curve operations 2021-05-17 01:29:03 +07:00
test_rpc.nim drop PublicNetwork enum usage and replace it with NetworkId 2021-05-20 14:04:16 +07:00
test_rpc_whisper.nim Eth keys (#482) 2020-04-05 15:12:48 +02:00
test_stack.nim merge vm_memory, vm_interpreter, and vm_utils_numeric => vm_internals 2021-03-31 18:15:27 +01:00
test_state_db.nim access list implementation 2021-01-11 14:54:55 +07:00
test_tools_build.nim drop PublicNetwork enum usage and replace it with NetworkId 2021-05-20 14:04:16 +07:00
test_tracer_json.nim reduce unused import warnings 2020-04-15 19:05:57 +07:00
test_transaction_json.nim fixes test codes to deal with eth_tests submodule 2021-01-06 17:02:19 +07:00
tracerTestGen.nim reduce warnings 2020-07-21 13:15:06 +07:00

README.md

tests

TODO: more GeneralStateTest fixtures!