nim-eth/tests/common
Jacek Sieka 4ea11b9fb9
transaction signing helpers (#742)
Transaction signing is something that happens in a lot of places - this
PR introduces primitives for transaction signing in `transaction_utils`
such that we can use the same logic across web3/eth1/etc for this simple
operation.

`transaction_utils` also contains a few more "spec-derived" helpers for
working with transactions, such as the computation of a contract address
etc that cannot easily be introduced in `transactions` itself without
bringing in dependencies like secp and rlp, so they end up in a separate
module.

Finally, since these modules collect "versions" of these transaction
types across different eips, some tests are moved to follow the same
structure.
2024-10-04 13:46:58 +02:00
..
eip2718 Move Ethereum specific RLP encoding tests under tests/common (#673) 2024-02-09 17:30:24 +01:00
rlps Move Ethereum specific RLP encoding tests under tests/common (#673) 2024-02-09 17:30:24 +01:00
all_tests.nim transaction signing helpers (#742) 2024-10-04 13:46:58 +02:00
test_common.nim transaction signing helpers (#742) 2024-10-04 13:46:58 +02:00
test_eth_types.nim prevRandao -> Bytes32 (#740) 2024-10-02 13:00:10 +02:00
test_eth_types_rlp.nim transaction signing helpers (#742) 2024-10-04 13:46:58 +02:00
test_keys.nim Align core types with execution spec (#733) 2024-09-29 10:52:19 +02:00
test_receipts.nim transaction signing helpers (#742) 2024-10-04 13:46:58 +02:00
test_transactions.nim transaction signing helpers (#742) 2024-10-04 13:46:58 +02:00