Skip to content

Commit

Permalink
Fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinonard committed Dec 20, 2023
1 parent 55c2dd5 commit a45e52d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/integration/src/proxy_new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
// along with Astar. If not, see <http://www.gnu.org/licenses/>.

use crate::setup::*;
use astar_primitives::dapp_staking::SmartContractHandle;
use pallet_dapp_staking_v3::ForcingType;

#[test]
Expand Down Expand Up @@ -179,7 +180,9 @@ fn test_staker_reward_claim_proxy_works() {
0
));

let contract = SmartContract::Evm(H160::repeat_byte(0x01));
let contract = <Runtime as pallet_dapp_staking_v3::Config>::SmartContract::evm(
H160::repeat_byte(0x01),
);
let staker_reward_claim_call =
RuntimeCall::DappStaking(DappStakingCall::Call::claim_staker_rewards {});
let call = Box::new(staker_reward_claim_call);
Expand Down

0 comments on commit a45e52d

Please sign in to comment.