Skip to content

Commit 6dffc0d

Browse files
authored
Preparatory calls for token allocations (#457)
1 parent c108009 commit 6dffc0d

11 files changed

Lines changed: 492 additions & 11 deletions

File tree

Cargo.lock

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

modules/ismp/clients/ismp-arbitrum/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ use ismp::{
3737
host::{IsmpHost, StateMachine},
3838
messaging::StateCommitmentHeight,
3939
};
40-
use primitive_types::H256;
4140

4241
pub const ARBITRUM_CONSENSUS_CLIENT_ID: ConsensusClientId = *b"ARBC";
4342

modules/ismp/clients/ismp-optimism/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ use op_verifier::{
3838
OptimismDisputeGameProof, OptimismPayloadProof, verify_optimism_dispute_game_proof,
3939
verify_optimism_payload,
4040
};
41-
use primitive_types::H256;
4241

4342
pub const OPTIMISM_CONSENSUS_CLIENT_ID: ConsensusClientId = *b"OPTC";
4443

parachain/runtimes/gargantua/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
239239
spec_name: Cow::Borrowed("gargantua"),
240240
impl_name: Cow::Borrowed("gargantua"),
241241
authoring_version: 1,
242-
spec_version: 3_700,
242+
spec_version: 3_800,
243243
impl_version: 0,
244244
apis: RUNTIME_API_VERSIONS,
245245
transaction_version: 1,
@@ -696,7 +696,7 @@ impl pallet_bridge_airdrop::Config for Runtime {
696696
}
697697

698698
parameter_types! {
699-
pub const MinVestedTransfer: Balance = EXISTENTIAL_DEPOSIT * 1000;
699+
pub const MinVestedTransfer: Balance = EXISTENTIAL_DEPOSIT;
700700
pub UnvestedFundsAllowedWithdrawReasons: WithdrawReasons =
701701
WithdrawReasons::except(WithdrawReasons::TRANSFER | WithdrawReasons::RESERVE);
702702
}

parachain/runtimes/nexus/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ impl pallet_multisig::Config for Runtime {
739739
}
740740

741741
parameter_types! {
742-
pub const MinVestedTransfer: Balance = EXISTENTIAL_DEPOSIT * 1000;
742+
pub const MinVestedTransfer: Balance = EXISTENTIAL_DEPOSIT;
743743
pub UnvestedFundsAllowedWithdrawReasons: WithdrawReasons =
744744
WithdrawReasons::except(WithdrawReasons::TRANSFER | WithdrawReasons::RESERVE);
745745
}

parachain/simtests/Cargo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ trie-db = { workspace = true }
3939
hash-db = { workspace = true }
4040
hex-literal = { workspace = true }
4141
hex = { workspace = true }
42+
serde = { version = "1.0.219", features = ["derive"] }
43+
serde_json = "1.0.140"
44+
subxt-signer = "0.41.0"
45+
nexus-runtime = { workspace = true, default-features = true}
46+
gargantua-runtime = { workspace = true, default-features = true}
47+
pallet-bridge-airdrop = { workspace = true, default-features = true}
4248

4349
[dependencies.polkadot-sdk]
4450
workspace = true
@@ -49,6 +55,10 @@ features = [
4955
"sp-keyring",
5056
"sc-consensus-manual-seal",
5157
"sp-mmr-primitives",
58+
"pallet-sudo",
59+
"pallet-utility",
60+
"pallet-vesting",
61+
"pallet-balances"
5262
]
5363

5464
[features]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[
2+
{
3+
"beneficiary": "14E5nqKAp3oAJcmzgZhUD2RcptBeUBScxKHgJKU4HPNcKVf3",
4+
"amount": 21000000000000000
5+
},
6+
{
7+
"beneficiary": "15oF4uVJwmo4TdGW7VfQxNLavjCXviqxT9S1MgbjMNHr6Sp5",
8+
"amount": 500000000000000
9+
},
10+
{
11+
"beneficiary": "12GyGD3QhT4i2JJpNzvMf96sxxBLWymz4RdGCxRH5Rj5agKW",
12+
"amount": 2000000000000000
13+
}
14+
]

0 commit comments

Comments
 (0)