lotus/node
Steven Allen 58c029a63b feat: api: sanity check the "to" address of outgoing messages (#12135)
* feat: api: sanity check the "to" address of outgoing messages

If the "to" address of an outgoing message is a _delegated_ address,
verify that it maps to a valid Ethereum address. This isn't a consensus
critical change, but it'll help prevent client-side address conversion
libraries from directing messages into oblivion (e.g., by
mis-translating `0xff0000....` addresses into `f410f...` addresses
instead of `f0...` addresses.

* tests for invalid delegated addresses

* fix lint

---------

Co-authored-by: aarshkshah1992 <aarshkshah1992@gmail.com>
2024-07-03 08:57:59 +04:00
..
bundle fix circleci and fiximports 2023-11-15 13:06:51 +01:00
config chore: curio: remove forgotten parts of curio config (#12087) 2024-06-14 11:34:36 +10:00
hello fix: hello: avoid dialing when fetching hello tipset (#12032) 2024-05-23 08:44:52 +04:00
impl feat: api: sanity check the "to" address of outgoing messages (#12135) 2024-07-03 08:57:59 +04:00
modules feat: ec: Integrate Fast Finality for Filecoin (#12119) 2024-07-01 10:47:59 +04:00
repo chore: types: remove more items forgotten after markets (#12095) 2024-06-17 10:01:20 +04:00
builder_chain.go feat: ec: Integrate Fast Finality for Filecoin (#12119) 2024-07-01 10:47:59 +04:00
builder_miner.go feat: ec: Integrate Fast Finality for Filecoin (#12119) 2024-07-01 10:47:59 +04:00
builder.go feat: ec: Integrate Fast Finality for Filecoin (#12119) 2024-07-01 10:47:59 +04:00
fxlog.go chore: fix imports 2022-06-14 17:00:51 +02:00
health.go chore: lint: fix lint errors with new linting config 2024-05-13 14:52:09 +10:00
options.go fix circleci and fiximports 2023-11-15 13:06:51 +01:00
rpc.go cleanup: Lotus client: remove markets and deal-making from Lotus Client (#11999) 2024-06-05 09:56:25 +04:00
shutdown_test.go fix circleci and fiximports 2023-11-15 13:06:51 +01:00
shutdown.go Set notifications for SIGTERM and SIGINT when we start the cli 2022-12-15 12:54:41 -05:00
testopts.go fix circleci and fiximports 2023-11-15 13:06:51 +01:00