lotus/itests
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
..
contracts tests: itests: blocktest properties (#10304) 2023-02-17 14:32:54 -08:00
fixtures Add tests cementing the DM-level behavior on simple paths 2021-11-24 15:31:15 +01:00
kit feat: eth: encode eth tx input as solidity ABI (#11402) 2023-11-17 20:46:49 +01:00
multisig more fixes 2022-09-10 12:37:03 -04:00
specs change rpc types from uint to hash to match fevm implementation 2023-02-16 17:55:04 -07:00
api_test.go stop using go-libp2p deprecated peer.ID.Pretty 2023-09-12 13:13:34 +08:00
batch_deal_test.go sealing pipeline: Fix unit tests 2023-08-29 13:47:18 +02:00
cli_test.go fix make gen 2022-08-29 16:25:30 +02:00
deadlines_test.go itests: Port deadline-toggling itest to nv20 2023-08-29 13:47:20 +02:00
deals_512mb_test.go fix make gen 2022-08-29 16:25:30 +02:00
deals_anycid_test.go chore: migrate to boxo 2023-06-19 14:45:05 -07:00
deals_concurrent_test.go feat(deps): update to go-data-transfer v2, still wip 2023-03-07 11:44:29 -08:00
deals_invalid_utf8_label_test.go chore: fix imports 2022-06-14 17:00:51 +02:00
deals_max_staging_deals_test.go fix make gen 2022-08-29 16:25:30 +02:00
deals_offline_test.go review fixes 2022-10-06 11:06:21 -04:00
deals_padding_test.go add integration test to catch tipset CID flakiness. (#10071) 2023-01-19 18:25:23 +00:00
deals_partial_retrieval_dm-level_test.go feat: deflake TestDMLevelPartialRetrieval (#10972) 2023-06-12 16:49:13 -07:00
deals_partial_retrieval_test.go chore: all: migrate from go-libipfs to boxo 2023-04-18 17:22:18 +02:00
deals_power_test.go add integration test to catch tipset CID flakiness. (#10071) 2023-01-19 18:25:23 +00:00
deals_pricing_test.go fix make gen 2022-08-29 16:25:30 +02:00
deals_publish_test.go fix make gen 2022-08-29 16:25:30 +02:00
deals_remote_retrieval_test.go netbs: Add an integration test 2022-11-08 13:38:28 +01:00
deals_retry_deal_no_funds_test.go deflake TestRetryDealsNoFunds: increase wait 10x 2022-09-23 12:43:00 -04:00
deals_test.go itests: Use Must-Post mining in TestDealsWithSealingAndRPC 2023-08-01 16:34:21 +02:00
decode_params_test.go Review fixes 2023-02-02 16:46:08 -05:00
doc.go pacify gotestsum by adding a normal go file. 2021-06-10 00:15:29 +01:00
dup_mpool_messages_test.go Add stateWaitMsg before checking last balance 2022-08-17 14:48:44 -04:00
eth_account_abstraction_test.go eth: FIP-0055: implement final version of transitory delegated signature. (#10239) 2023-02-12 21:08:42 +00:00
eth_api_test.go fix imports. 2023-03-12 00:42:56 +00:00
eth_balance_test.go Refactor EthBlockNumberOrHash and remove the number field 2023-06-22 17:18:50 +00:00
eth_block_hash_test.go test: eth: deflake multiblock lookup test (#10769) 2023-04-26 15:10:43 -07:00
eth_bytecode_test.go Refactor EthBlockNumberOrHash and remove the number field 2023-06-22 17:18:50 +00:00
eth_config_test.go itests: Fix TestEthFilterAPIDisabledViaConfig 2023-02-02 15:59:55 +01:00
eth_conformance_test.go Refactor EthBlockNumberOrHash and remove the number field 2023-06-22 17:18:50 +00:00
eth_deploy_test.go fix: itest: fix eth deploy test flake 2023-05-04 14:51:25 -07:00
eth_fee_history_test.go feat: deflake TestEthFeeHistory 2023-05-04 10:01:40 -04:00
eth_filter_test.go eth_filter flake debug 2023-09-08 11:17:51 -05:00
eth_hash_lookup_test.go feat: eth: encode eth tx input as solidity ABI (#11402) 2023-11-17 20:46:49 +01:00
eth_transactions_test.go fix: eth: handle unresolvable addresses (#11433) 2023-11-29 16:12:18 +04:00
fevm_address_test.go feat: eth: encode eth tx input as solidity ABI (#11402) 2023-11-17 20:46:49 +01:00
fevm_events_test.go test: fevm: add in tests for deploying, destroying contracts, recursive calls, sending value (#10082) 2023-01-31 19:13:13 -10:00
fevm_test.go fix recursive test 2023-09-23 14:32:53 -04:00
gas_estimation_test.go fix: gas: update ffi & correct the message inclusion cost in nv18 (#10228) 2023-02-10 12:48:20 +00:00
gateway_test.go gateway: eth_subscribe support 2023-01-31 10:28:12 +01:00
get_messages_in_ts_test.go fix make gen 2022-08-29 16:25:30 +02:00
lite_migration_test.go Drop actor keys from chain/actors/manifest.go 2022-12-13 18:02:34 -05:00
lookup_robust_address_test.go chore: fix imports 2022-06-14 17:00:51 +02:00
mempool_test.go fix make gen 2022-08-29 16:25:30 +02:00
migration_test.go Add more post-migration sanity checks 2023-08-14 18:11:47 -04:00
mpool_msg_uuid_test.go cleanup 2022-09-13 16:52:47 -04:00
mpool_push_with_uuid_test.go Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes 2022-09-13 17:41:06 -04:00
msgindex_test.go feat: deflake: Use MockProofs 2023-07-10 10:26:51 -04:00
multisig_test.go NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
net_test.go itests: Deflake TestNetBlockIPAddr 2023-05-10 22:35:36 +02:00
nonce_test.go fix make gen 2022-08-29 16:25:30 +02:00
path_detach_redeclare_test.go Fix lotus-miner proving check 2022-11-14 15:29:50 -05:00
path_type_filters_test.go make repo not depend on ffi 2022-11-08 09:37:43 +00:00
paych_api_test.go feat: deflake paych_api_test 2023-05-08 14:36:43 -04:00
paych_cli_test.go chore: deps: update to go-jsonrpc 0.1.8 2022-09-27 15:34:01 +00:00
pending_deal_allocation_test.go more linter 2022-11-25 17:05:41 -05:00
raft_messagesigner_test.go Skip TestGoRPCAuth until Raft is fixed 2022-12-15 18:57:58 -05:00
remove_verifreg_datacap_test.go feat: FVM: do not error on unsuccessful implicit messages 2023-07-31 15:37:54 -04:00
sealing_resources_test.go fix: sched: Address GET_32G_MAX_CONCURRENT regression (#10850) 2023-05-10 15:43:42 -04:00
sector_finalize_early_test.go feat: deflake TestDealsWithFinalizeEarly 2023-06-14 11:29:14 -04:00
sector_import_full_test.go Synthetic PoRep Impl 2023-07-13 15:47:59 +02:00
sector_import_simple_test.go Synthetic PoRep Impl 2023-07-13 15:47:59 +02:00
sector_miner_collateral_test.go sealing pipeline: Fix unit tests 2023-08-29 13:47:18 +02:00
sector_numassign_test.go numassigner: SectorNumReserveCount 2022-08-24 11:25:37 -04:00
sector_pledge_test.go itests: TestSectorsSummary 2023-11-27 18:30:46 +01:00
sector_terminate_test.go fix make gen 2022-08-29 16:25:30 +02:00
sector_unseal_test.go fix: itests: Add missing task type in TestUnsealPiece 2022-11-29 13:02:45 +01:00
self_sent_txn_test.go Address moar comments 2022-09-22 16:27:15 -04:00
splitstore_test.go Update splitstore test helpers usage of create miner 2023-04-23 12:14:52 -06:00
verifreg_test.go feat: test: Test that verified clients can directly transfer datacap, creating allocations 2023-08-17 09:40:29 -04:00
wdpost_config_test.go feat: proving: Introduce manual sector fault recovery (#9144) 2022-09-06 21:17:30 +05:30
wdpost_dispute_test.go fix: stmgr: make the tipset and height agree when estimating gas (#10216) 2023-02-10 20:49:26 +00:00
wdpost_no_miner_storage_test.go Increase blocktime in test 2022-12-20 10:52:47 -05:00
wdpost_test.go itests: Drop sealing itests for legacy network versions 2023-08-29 13:47:20 +02:00
wdpost_worker_config_test.go netbs: Fix lint 2022-11-08 09:37:43 +00:00
worker_test.go sealing pipeline: Fix unit tests 2023-08-08 15:06:43 +02:00
worker_upgrade_test.go snapdeals cleanup: address review 2022-11-28 23:03:07 +01:00