Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update crowdloan and emergencyshutdown
  • Loading branch information
mclyk committed Nov 24, 2022
commit 51cb07a81563bc35da4a0bbcc700c76d9683b350
2 changes: 1 addition & 1 deletion integration-tests/src/kusama_call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn liquidate_staking_call_should_work() {
Heiko::execute_with(|| {
use heiko_runtime::{LiquidStaking, Origin};
assert_ok!(LiquidStaking::stake(
Origin::signed(AccountId::from(ALICE)),
RuntimeOrigin::signed(AccountId::from(ALICE)),
amount
));
assert_ok!(with_transaction(
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/src/kusama_transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use crate::{kusama_test_net::*, setup::*};
fn transfer_from_relay_chain() {
KusamaNet::execute_with(|| {
assert_ok!(kusama_runtime::XcmPallet::reserve_transfer_assets(
kusama_runtime::Origin::signed(ALICE.into()),
kusama_runtime::RuntimeOrigin::signed(ALICE.into()),
Box::new(VersionedMultiLocation::V1(X1(Parachain(2085)).into())),
Box::new(VersionedMultiLocation::V1(
X1(Junction::AccountId32 {
Expand All @@ -53,7 +53,7 @@ fn transfer_to_relay_chain() {
use heiko_runtime::{Origin, XTokens};
Heiko::execute_with(|| {
assert_ok!(XTokens::transfer(
Origin::signed(ALICE.into()),
RuntimeOrigin::signed(ALICE.into()),
KSM,
ksm(1f64),
Box::new(xcm::VersionedMultiLocation::V1(MultiLocation::new(
Expand Down
8 changes: 4 additions & 4 deletions integration-tests/src/polkadot_transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use crate::{polkadot_test_net::*, setup::*};
fn transfer_from_relay_chain() {
PolkadotNet::execute_with(|| {
assert_ok!(polkadot_runtime::XcmPallet::reserve_transfer_assets(
polkadot_runtime::Origin::signed(ALICE.into()),
polkadot_runtime::RuntimeOrigin::signed(ALICE.into()),
Box::new(VersionedMultiLocation::V1(X1(Parachain(2012)).into())),
Box::new(VersionedMultiLocation::V1(
X1(Junction::AccountId32 {
Expand All @@ -53,7 +53,7 @@ fn transfer_to_relay_chain() {
use parallel_runtime::{Origin, XTokens};
Parallel::execute_with(|| {
assert_ok!(XTokens::transfer(
Origin::signed(ALICE.into()),
RuntimeOrigin::signed(ALICE.into()),
DOT,
dot(10f64),
Box::new(xcm::VersionedMultiLocation::V1(MultiLocation::new(
Expand Down Expand Up @@ -87,7 +87,7 @@ fn transfer_sibling_chain_asset() {

MockSibling::execute_with(|| {
assert_ok!(PolkadotXcm::reserve_transfer_assets(
Origin::signed(ALICE.into()).clone(),
RuntimeOrigin::signed(ALICE.into()).clone(),
Box::new(MultiLocation::new(1, X1(Parachain(2012))).into()),
Box::new(
Junction::AccountId32 {
Expand Down Expand Up @@ -121,7 +121,7 @@ fn transfer_sibling_chain_asset() {

Parallel::execute_with(|| {
assert_ok!(XTokens::transfer(
Origin::signed(ALICE.into()),
RuntimeOrigin::signed(ALICE.into()),
PARA,
10_000_000_000_000,
Box::new(
Expand Down
Loading