lotus/node/impl/full
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
..
chain.go chore: migrate to boxo 2023-06-19 14:45:05 -07:00
dummy.go Moved tracing types to ethtypes to address circular dependencies 2023-08-28 17:48:22 +00:00
eth_event.go fix: eth: use the correct state-tree when resolving addresses (#11387) 2023-11-17 18:20:31 +01:00
eth_test.go fix: eth: correctly encode and simplify native input/output encoding (#11382) 2023-11-06 09:41:22 -08:00
eth_trace.go fix: eth: use the correct state-tree when resolving addresses (#11387) 2023-11-17 18:20:31 +01:00
eth_utils.go fix: eth: use the correct state-tree when resolving addresses (#11387) 2023-11-17 18:20:31 +01:00
eth.go fix: eth: use the correct state-tree when resolving addresses (#11387) 2023-11-17 18:20:31 +01:00
gas_test.go fix make gen 2022-08-29 16:25:30 +02:00
gas.go Add tests for PCB/PCA batch splitting 2023-04-19 18:44:32 -04:00
mpool.go NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
multisig.go introduce v9 actors and nv17 2022-09-09 21:40:15 -04:00
raft.go Address comments 2022-11-14 15:46:58 -05:00
state.go Merge branch 'feat/nv21' into asr/merge-feat-nv21 2023-10-16 11:13:33 -04:00
sync.go skip migration cache correctly 2023-11-09 14:14:46 -05:00
txhashmanager.go fix: eth: use the correct state-tree when resolving addresses (#11387) 2023-11-17 18:20:31 +01:00
wallet.go fix: Don't call WalletExport in msg signing flows 2023-02-10 02:37:59 +01:00