Skip to content

Commit 9f26ac5

Browse files
committed
fixed test
1 parent c3e0f49 commit 9f26ac5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

target_chains/fuel/contracts/pyth-contract/src/main.sw

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -935,3 +935,4 @@ fn verify_governance_vm(encoded_vm: Bytes) -> WormholeVM {
935935
set_last_executed_governance_sequence(vm.sequence);
936936
vm
937937
}
938+

target_chains/fuel/contracts/tests/utils/interface/wormhole_guardians.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,11 @@ pub(crate) async fn submit_new_guardian_set(
5959
contract: &PythOracleContract<WalletUnlocked>,
6060
encoded_vm: Bytes,
6161
) -> CallResponse<()> {
62-
let result = contract
62+
contract
6363
.methods()
6464
.submit_new_guardian_set(encoded_vm)
6565
.call()
6666
.await
67-
.map_err(handle_error).unwrap()
67+
.map_err(handle_error)
68+
.unwrap()
6869
}

0 commit comments

Comments
 (0)