lotus/chain/types
Steven Allen 9b4df6a4d0
fix: eth: use the correct state-tree when resolving addresses (#11387)
We need to always use the state-tree from the tipset _after_ the message
executed. If we use any other state-tree, we might not find the address
we're trying to resolve.

This change also has some implication for pending messages: there's no
guarantee we'll be able to generate a 0x-style address for a pending
native message. So, instead of trying, I've removed support for pending
native messages from the Eth API. Messages from EthAccounts will still
work, and native messages will still show up in blocks/traces, they just
won't show up as "pending". Which should affect exactly nobody.

I'm also taking this opportunity to cleanup some edge-cases:

1. Pass contexts where appropriate.
2. Remove all state access from `ethTxHashFromSignedMessage`.

Part of #11355
2023-11-17 18:20:31 +01:00
..
ethtypes fix: eth: use the correct state-tree when resolving addresses (#11387) 2023-11-17 18:20:31 +01: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.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 make gen 2023-09-23 17:54:44 -04: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 feat: fvm: apply a max length when decoding events 2023-07-08 11:05:01 -04:00
execresult.go fix exec traces with new ffi 2023-09-19 11:58:13 +02:00
fil_test.go fix make gen 2022-08-29 16:25:30 +02:00
fil.go Fix some more linter errors 2022-11-25 16:19:20 -05: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 fix make gen 2022-08-29 16:25:30 +02: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