lotus/chain
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
..
actors feat: chain: light-weight patch to fix calibrationnet (#11363) 2023-10-31 18:29:09 -04:00
beacon test: drand: switch tests to drand testnet (from devnet) (#11359) 2023-10-30 17:05:02 -07:00
consensus feat: chain: light-weight patch to fix calibrationnet again by removing move_partitions from built-in actors (#11409) 2023-11-15 13:07:26 -05:00
ethhashlookup simplify transaction hash db queries, prevent fd leaks 2023-01-30 11:03:12 -05:00
events Fix/texts (#11298) 2023-10-27 11:32:42 -07:00
exchange Fix/texts (#11298) 2023-10-27 11:32:42 -07:00
gen Merge branch 'feat/nv21' into asr/merge-feat-nv21 2023-10-16 11:13:33 -04:00
index Fix/texts (#11298) 2023-10-27 11:32:42 -07:00
market add go linter - "unused" (#11235) 2023-09-05 12:19:43 -10:00
messagepool Record currentSize on addLocked 2023-11-03 08:59:01 +01:00
messagesigner fix: Don't call WalletExport in msg signing flows 2023-02-10 02:37:59 +01:00
rand refactor: move vm.Rand to rand.Rand 2023-08-22 12:32:43 -04:00
state Fix/texts (#11298) 2023-10-27 11:32:42 -07:00
stmgr skip migration cache correctly 2023-11-09 14:14:46 -05:00
store Fix/texts (#11298) 2023-10-27 11:32:42 -07:00
sub Fix/texts (#11298) 2023-10-27 11:32:42 -07:00
types fix: eth: use the correct state-tree when resolving addresses (#11387) 2023-11-17 18:20:31 +01:00
vectors Revert "stop using deprecated functions from the math/rand package" 2023-08-21 15:02:06 +07:00
vm fix: nv21fix migration: correctly upgrade system actor 2023-11-09 14:14:41 -05:00
wallet NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
badtscache.go update go-libp2p v0.30.0 2023-08-21 10:44:37 +07:00
block_receipt_tracker.go refactor: update cache to the new generic version (#10463) 2023-03-13 15:29:09 -07:00
checkpoint.go chore: fix imports 2022-06-14 17:00:51 +02:00
sync_manager_test.go fix make gen 2022-08-29 16:25:30 +02:00
sync_manager.go Address review 2023-08-09 19:28:24 -04:00
sync_test.go add go linter - "unused" (#11235) 2023-09-05 12:19:43 -10:00
sync.go fix: sync: iterate over returned messages directly (#11373) 2023-11-01 15:08:23 -07:00
syncstate.go Expose WorkerID 2020-10-28 20:22:07 +01:00
types_test.go fix make gen 2022-08-29 16:25:30 +02:00