Skip to content

Commit 9f08459

Browse files
authored
Add comment for dummy Movement address, remove unneeded Eth tests
1 parent cdc4b41 commit 9f08459

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

protocol-units/bridge/integration-tests/tests/client_l1move_l2move.rs

+1-26
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ async fn test_movement_client_complete_transfer(
9292
faucet_client.fund(movement_client_signer.address(), 100_000_000).await?;
9393
faucet_client.fund(AccountAddress::from_hex_literal("0xface")?, 100_000_000).await?;
9494
faucet_client.fund(AccountAddress::from_hex_literal("0x1")?, 100_000_000).await?;
95+
// This address is the recipient in test_movement_client_complete_transfer, so it needs an AptosCoin store
9596
faucet_client.fund(AccountAddress::from_hex_literal("0x3078303030303030303030303030303030303030303030303030303066616365")?, 100_000_000).await?;
9697

9798
}
@@ -251,32 +252,6 @@ async fn test_movement_client_abort_transfer(
251252

252253
test_result
253254
}
254-
#[tokio::test]
255-
async fn test_eth_client_should_build_and_fetch_accounts() {
256-
let config = Config::default();
257-
let (eth_client_harness, _config, _anvil) = TestHarness::new_only_eth(config).await;
258-
259-
let expected_accounts = [
260-
address!("f39fd6e51aad88f6f4ce6ab8827279cfffb92266"),
261-
address!("70997970c51812dc3a010c7d01b50e0d17dc79c8"),
262-
address!("3c44cdddb6a900fa2b585dd299e03d12fa4293bc"),
263-
address!("90f79bf6eb2c4f870365e785982e1f101e93b906"),
264-
address!("15d34aaf54267db7d7c367839aaf71a00a2c6a65"),
265-
address!("9965507d1a55bcc2695c58ba16fb37d819b0a4dc"),
266-
address!("976ea74026e726554db657fa54763abd0c3a0aa9"),
267-
address!("14dc79964da2c08b23698b3d3cc7ca32193d9955"),
268-
address!("23618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f"),
269-
address!("a0ee7a142d267c1f36714e4a8f75612f20a79720"),
270-
];
271-
272-
let provider = eth_client_harness.rpc_provider().await;
273-
let accounts = provider.get_accounts().await.expect("Failed to get accounts");
274-
assert_eq!(accounts.len(), expected_accounts.len());
275-
276-
for (account, expected) in accounts.iter().zip(expected_accounts.iter()) {
277-
assert_eq!(account, expected);
278-
}
279-
}
280255

281256
#[tokio::test]
282257
async fn test_eth_client_should_deploy_initiator_contract() {

0 commit comments

Comments
 (0)