lotus/node
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
..
bundle feat: chain: light-weight patch to fix calibrationnet (#11363) 2023-10-31 18:29:09 -04:00
config Merge branch 'feat/nv21' into asr/merge-feat-nv21 2023-10-16 11:13:33 -04:00
hello make gen 2023-09-23 17:54:44 -04:00
impl fix: eth: use the correct state-tree when resolving addresses (#11387) 2023-11-17 18:20:31 +01:00
modules Handle errors from Close() in CheckUDPBufferSize 2023-10-30 09:59:59 +00:00
repo refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
builder_chain.go Refactor eth.go 2023-08-28 17:48:22 +00:00
builder_miner.go fix: Add lotus-miner legacy-markets alert 2023-05-15 13:13:06 +02:00
builder.go Check UDP-buffer-size 2023-10-30 09:36:15 +00:00
fxlog.go chore: fix imports 2022-06-14 17:00:51 +02:00
health.go Don't use go-libp2p-core 2022-08-25 14:20:41 -04:00
options.go fix linter 2022-10-14 11:23:05 +02:00
rpc.go fix: should not serve non v0 api in v1 2023-01-31 17:06:02 -05:00
shutdown_test.go fix make gen 2022-08-29 16:25:30 +02:00
shutdown.go Set notifications for SIGTERM and SIGINT when we start the cli 2022-12-15 12:54:41 -05:00
testopts.go enable libp2p options 2021-06-30 12:55:43 +02:00