erigon-pulse/turbo/adapter/ethapi
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
..
api.go ChainId conditional in Legacy transaction (#5856) 2022-11-18 03:15:32 +03:00
backend.go move all packages from "internal" folder - to simplify users live (#5857) 2022-10-25 09:58:25 +07:00
get_proof.go move all packages from "internal" folder - to simplify users live (#5857) 2022-10-25 09:58:25 +07:00
internal.go move all packages from "internal" folder - to simplify users live (#5857) 2022-10-25 09:58:25 +07:00
state_overrides.go move all packages from "internal" folder - to simplify users live (#5857) 2022-10-25 09:58:25 +07:00