mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 00:28:01 +00:00
Remove deprecated pallet_balances's set_balance_deprecated and transfer dispatchables (#1226)
* remove deprecated dispatchables * update test * update tests * update tests * add prdocs * add prdoc * Update docs/prdoc/pr_1226.prdoc Co-authored-by: Chevdor <chevdor@users.noreply.github.com> * move prdoc file --------- Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
This commit is contained in:
@@ -1389,7 +1389,11 @@ fn cannot_block_pool_creation() {
|
||||
let pool_account =
|
||||
AssetConversion::get_pool_account(&AssetConversion::get_pool_id(token_2, token_1));
|
||||
// And transfers the ED to that pool account
|
||||
assert_ok!(Balances::transfer(RuntimeOrigin::signed(attacker), pool_account, ed));
|
||||
assert_ok!(Balances::transfer_allow_death(
|
||||
RuntimeOrigin::signed(attacker),
|
||||
pool_account,
|
||||
ed
|
||||
));
|
||||
// Then, the attacker creates 14 tokens and sends one of each to the pool account
|
||||
for i in 10..25 {
|
||||
create_tokens(attacker, vec![NativeOrAssetId::Asset(i)]);
|
||||
|
||||
Reference in New Issue
Block a user