lotus/node/impl
Steven Allen a34cc5e4e9
fix: eth: handle unresolvable addresses (#11433)
Correctly handle "unresolvable" to/from addresses in top-level messages in the Ethereum API. Specifically:

1. Fail if we can't resolve the from address. As far as I can tell, this should be impossible (the message statically couldn't have been included in the block if the sender didn't exist).
2. If we can't resolve the "to" address to an ID, use "max uint64" as the ID (`0xff0000000000000000000000ffffffffffffffff`). This will only happen if the transaction was reverted. It'll be a little confusing, but the alternative is to (a) use an empty address (will look like a contract creation, which is definitely wrong) or (b) use a random/hashed address which will likely be more confusing as it won't be "obviously weird".
2023-11-29 16:12:18 +04:00
..
client Merge branch 'feat/nv21' into asr/merge-feat-nv21 2023-10-16 11:13:33 -04:00
common feat: Add node uptime rpc / output in info command 2022-10-11 10:11:09 +02:00
full fix: eth: handle unresolvable addresses (#11433) 2023-11-29 16:12:18 +04:00
market chore: fix imports 2022-06-14 17:00:51 +02:00
net stop using go-libp2p deprecated peer.ID.Pretty 2023-09-12 13:13:34 +08:00
paych chore: fix imports 2022-06-14 17:00:51 +02:00
backup.go Plumb contexts through 2021-12-11 17:04:00 -05:00
full.go Refactor eth.go 2023-08-28 17:48:22 +00:00
remoteworker.go storage: Move extern/sector-storage to storage/sealer 2022-06-14 20:03:38 +02:00
storminer.go fix: add lk.Lock() and move the map copy to avoid miner crash 2023-11-03 15:38:20 +01:00