Skip to content

Commit 9dc9964

Browse files
committed
Added missing nonces
1 parent 116cec1 commit 9dc9964

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

bittensor_cli/src/commands/stake/move.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,7 @@ async def move_stake(
593593
era={"period": era},
594594
proxy=proxy,
595595
mev_protection=mev_protection,
596+
nonce=next_nonce,
596597
)
597598

598599
ext_id = await response.get_extrinsic_identifier() if response else ""
@@ -805,6 +806,7 @@ async def transfer_stake(
805806
era={"period": era},
806807
proxy=proxy,
807808
mev_protection=mev_protection,
809+
nonce=next_nonce,
808810
)
809811

810812
if success_:
@@ -1005,6 +1007,7 @@ async def swap_stake(
10051007
wait_for_finalization=wait_for_finalization,
10061008
wait_for_inclusion=wait_for_inclusion,
10071009
mev_protection=mev_protection,
1010+
nonce=next_nonce,
10081011
)
10091012

10101013
ext_id = await response.get_extrinsic_identifier()

bittensor_cli/src/commands/stake/remove.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,7 @@ async def _unstake_extrinsic(
632632
era={"period": era},
633633
proxy=proxy,
634634
mev_protection=mev_protection,
635+
nonce=next_nonce,
635636
)
636637
if success:
637638
if mev_protection:
@@ -870,6 +871,7 @@ async def _unstake_all_extrinsic(
870871
call=call,
871872
wallet=wallet,
872873
era={"period": era},
874+
nonce=next_nonce,
873875
proxy=proxy,
874876
mev_protection=mev_protection,
875877
)

0 commit comments

Comments
 (0)