lotus/node
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
..
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: handle unresolvable addresses (#11433) 2023-11-29 16:12:18 +04:00
modules fix: chain: make failure to load the chain state fatal (#11426) 2023-11-29 16:01:26 +04: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