lotus/node/impl/full
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
..
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: handle unresolvable addresses (#11433) 2023-11-29 16:12:18 +04: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