erigon-pulse/turbo/adapter
lupin012 a442293be1
ChainId conditional in Legacy transaction (#5856)
impacted API:
     eth_getTransactionByHash()
     eth_getTransactionByNumber()
     eth_getTransactionByBlockHashAndIndex()
     eth_getTransactionByBlockNumberAndIndex()
     eth_getBlockByHash()
     eth_getBlockByNumber()

1) In case of legacy transitions the chainId field should be inserted
only if V is not 27/28.
This seems also the Geth/v1.10.23 behaviour via infura

2) In case of dynamicFee/AccessList transaction the access_list should
be inserted in the response also if empty
This is done correctly in cmd/rpcdaemon/commands/eth_api.go and NOT in
internal/ethapi/api.go
This seems also the Geth/v1.10.23 behaviour via infura
2022-11-18 03:15:32 +03:00
..
ethapi ChainId conditional in Legacy transaction (#5856) 2022-11-18 03:15:32 +03:00
block_propagator.go rename (#1978) 2021-05-20 19:25:53 +01:00
reader.go RPC: small optimizations (#2564) 2021-08-24 08:28:58 +01:00