Skip to content

Commit 47d6015

Browse files
committed
fix: ci
1 parent f695d19 commit 47d6015

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

Cargo.lock

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integration-tests/solidity-abi/sol-encoding/e2e_tests.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ use ink_revive_types::ExecReturnValue;
99
use ink_sandbox::{
1010
DefaultSandbox,
1111
Sandbox,
12-
api::prelude::*,
12+
api::prelude::{
13+
BalanceAPI,
14+
ContractAPI,
15+
},
1316
frame_system::pallet_prelude::OriginFor,
1417
};
1518

@@ -29,7 +32,9 @@ fn call_solidity_encoded_message() {
2932
.mint_into(&caller.public_key().0.into(), 1_000_000_000_000_000u128)
3033
.unwrap_or_else(|_| panic!("Failed to mint tokens"));
3134

32-
sandbox.map_account(origin.clone()).expect("unable to map");
35+
sandbox
36+
.map_account(&DefaultSandbox::default_actor())
37+
.expect("unable to map");
3338

3439
let constructor = SolEncodingRef::new(false);
3540
let params = constructor

0 commit comments

Comments
 (0)