lotus/chain/types/ethtypes
Mikers 6408709018
feat: eth: support "safe" and "finalized" for eth_getBlockByNumber (#12110)
* add support for eth_getBlockByNumber to accept the term safe which we are using as 30 blocks

* fix lint catch of unnecessary cast

* add finalized to get block by number

* Update chain/types/ethtypes/eth_types.go

Co-authored-by: Rod Vagg <rod@vagg.org>

* add test for eth get block by number to accept latest and safe and finalized as arguments

---------

Co-authored-by: Rod Vagg <rod@vagg.org>
2024-06-21 11:38:21 +10:00
..
eth_1559_transactions_test.go feat: ETH compatibility in Filecoin : Support Homestead and EIP-155 Ethereum transactions("legacy" transactions) in Filecoin (#11969) 2024-06-05 09:25:50 +04:00
eth_1559_transactions.go feat: ETH compatibility in Filecoin : Support Homestead and EIP-155 Ethereum transactions("legacy" transactions) in Filecoin (#11969) 2024-06-05 09:25:50 +04:00
eth_legacy_155_transactions_test.go feat: ETH compatibility in Filecoin : Support Homestead and EIP-155 Ethereum transactions("legacy" transactions) in Filecoin (#11969) 2024-06-05 09:25:50 +04:00
eth_legacy_155_transactions.go feat: ETH compatibility in Filecoin : Support Homestead and EIP-155 Ethereum transactions("legacy" transactions) in Filecoin (#11969) 2024-06-05 09:25:50 +04:00
eth_legacy_homestead_transactions_test.go feat: ETH compatibility in Filecoin : Support Homestead and EIP-155 Ethereum transactions("legacy" transactions) in Filecoin (#11969) 2024-06-05 09:25:50 +04:00
eth_legacy_homestead_transactions.go feat: ETH compatibility in Filecoin : Support Homestead and EIP-155 Ethereum transactions("legacy" transactions) in Filecoin (#11969) 2024-06-05 09:25:50 +04:00
eth_transactions_test.go feat: ETH compatibility in Filecoin : Support Homestead and EIP-155 Ethereum transactions("legacy" transactions) in Filecoin (#11969) 2024-06-05 09:25:50 +04:00
eth_transactions.go feat: ETH compatibility in Filecoin : Support Homestead and EIP-155 Ethereum transactions("legacy" transactions) in Filecoin (#11969) 2024-06-05 09:25:50 +04:00
eth_types_test.go fix: Eth API: accept input data in call arguments under field 'input' (#11505) 2024-01-06 15:42:52 -08:00
eth_types.go feat: eth: support "safe" and "finalized" for eth_getBlockByNumber (#12110) 2024-06-21 11:38:21 +10:00
rlp_test.go feat: ETH compatibility in Filecoin : Support Homestead and EIP-155 Ethereum transactions("legacy" transactions) in Filecoin (#11969) 2024-06-05 09:25:50 +04:00
rlp.go fix: ethtypes: handle length overflow case 2023-07-21 12:26:29 -04:00