lotus/chain/types
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
..
ethtypes feat: eth: support "safe" and "finalized" for eth_getBlockByNumber (#12110) 2024-06-21 11:38:21 +10:00
mock chore: fix imports 2022-06-14 17:00:51 +02:00
testdata Add golden test for exp function 2020-06-23 16:33:10 +02:00
actor_event_test.go chore: Merge nv22 into master (#11699) 2024-03-12 10:33:58 +01:00
actor_event.go chore: Merge nv22 into master (#11699) 2024-03-12 10:33:58 +01:00
actor.go NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
bigint_test.go fix make gen 2022-08-29 16:25:30 +02:00
bigint.go Adjust various CLI display ratios to arbitrary precision 2021-05-25 14:09:01 +02:00
blockheader_test.go fix make gen 2022-08-29 16:25:30 +02:00
blockheader.go chore: refactor: drop unused IsTicketWinner (#10801) 2023-05-02 11:22:02 -07:00
blockmsg_test.go add go linter - "unused" (#11235) 2023-09-05 12:19:43 -10:00
blockmsg.go Adding extra data check on DecodeBlockMsg 2023-05-12 21:32:44 +02:00
cbor_gen.go chore: Merge nv22 into master (#11699) 2024-03-12 10:33:58 +01:00
electionproof_test.go fix make gen 2022-08-29 16:25:30 +02:00
electionproof.go chore: refactor: drop unused IsTicketWinner (#10801) 2023-05-02 11:22:02 -07:00
event.go chore: Merge nv22 into master (#11699) 2024-03-12 10:33:58 +01:00
execresult.go feat: fvm: update the FVM/FFI to v4.1 (#11608) 2024-02-06 17:22:14 -08:00
fil_test.go fix make gen 2022-08-29 16:25:30 +02:00
fil.go src: lint: bump golangci-lint to 1.59, address unchecked fmt.Fprint* 2024-06-06 19:51:39 +10:00
fullblock.go refactoring to accomodate the bls message changes in the spec 2019-08-01 18:19:22 -07:00
keystore.go NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
logs.go Structure logs 2019-10-11 02:00:04 +02:00
message_fuzz.go feat: expose ChainGetPath on the gateway 2021-08-30 16:43:21 -07:00
message_receipt_cbor.go Fix/texts (#11298) 2023-10-27 11:32:42 -07:00
message_receipt_test.go NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
message_receipt.go NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
message_test.go fix make gen 2022-08-29 16:25:30 +02:00
message.go fix: Eth JSON-RPC api: handle messages with gasFeeCap less than baseFee (#10614) 2023-04-24 16:03:04 +01:00
mpool.go feat: mempool: Reduce minimum replace fee from 1.25x to 1.1x (#10416) 2023-03-09 13:17:17 -08:00
percent_test.go feat: mempool: Reduce minimum replace fee from 1.25x to 1.1x (#10416) 2023-03-09 13:17:17 -08:00
percent.go feat: mempool: Reduce minimum replace fee from 1.25x to 1.1x (#10416) 2023-03-09 13:17:17 -08:00
signature_test.go fix make gen 2022-08-29 16:25:30 +02:00
signedmessage.go chore: all: migrate from go-libipfs to boxo 2023-04-18 17:22:18 +02:00
state.go define StateTreeVersion5 for NetworkVersion18 2022-11-09 08:30:42 +02:00
tipset_key_test.go test(tipsetkey): add tests for derived CID forms 2024-04-15 05:58:31 +10:00
tipset_key.go chore: all: migrate from go-libipfs to boxo 2023-04-18 17:22:18 +02:00
tipset.go feat: stmgr: skip tipset execution when possible 2023-03-10 13:21:17 -08:00
types_test.go fix make gen 2022-08-29 16:25:30 +02:00
vmcontext.go add go linter - "unused" (#11235) 2023-09-05 12:19:43 -10:00