Skip to content

Commit

Permalink
Add vest call to WhitelistedLockdropCalls
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreOssun committed May 1, 2024
1 parent 19b60fa commit 354ac8e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions runtime/astar/src/precompiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ impl Contains<RuntimeCall> for WhitelistedLockdropCalls {
RuntimeCall::Balances(pallet_balances::Call::transfer_keep_alive { .. }) => true,
RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { .. }) => true,
RuntimeCall::Assets(pallet_assets::Call::transfer { .. }) => true,
RuntimeCall::Vesting(pallet_vesting::Call::vest { .. }) => true,
_ => false,
}
}
Expand Down
1 change: 1 addition & 0 deletions runtime/local/src/precompiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ impl Contains<RuntimeCall> for WhitelistedLockdropCalls {
RuntimeCall::Balances(pallet_balances::Call::transfer_keep_alive { .. }) => true,
RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { .. }) => true,
RuntimeCall::Assets(pallet_assets::Call::transfer { .. }) => true,
RuntimeCall::Vesting(pallet_vesting::Call::vest { .. }) => true,
_ => false,
}
}
Expand Down
1 change: 1 addition & 0 deletions runtime/shibuya/src/precompiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ impl Contains<RuntimeCall> for WhitelistedCalls {
RuntimeCall::Assets(pallet_assets::Call::transfer { .. }) => true,
RuntimeCall::XTokens(orml_xtokens::Call::transfer_multiasset_with_fee { .. }) => true,
RuntimeCall::XTokens(orml_xtokens::Call::transfer_multiasset { .. }) => true,
RuntimeCall::Vesting(pallet_vesting::Call::vest { .. }) => true,
_ => false,
}
}
Expand Down
1 change: 1 addition & 0 deletions runtime/shiden/src/precompiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ impl Contains<RuntimeCall> for WhitelistedLockdropCalls {
RuntimeCall::Balances(pallet_balances::Call::transfer_keep_alive { .. }) => true,
RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { .. }) => true,
RuntimeCall::Assets(pallet_assets::Call::transfer { .. }) => true,
RuntimeCall::Vesting(pallet_vesting::Call::vest { .. }) => true,
_ => false,
}
}
Expand Down

0 comments on commit 354ac8e

Please sign in to comment.