We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f749202 commit f2cdf1aCopy full SHA for f2cdf1a
1 file changed
frame/staking/src/tests.rs
@@ -5832,7 +5832,7 @@ fn bond_restriction_works() {
5832
start_session(2);
5833
assert_err!(
5834
Staking::bond(
5835
- Origin::signed(RESTRICTED_ACCOUNT),
+ RuntimeOrigin::signed(RESTRICTED_ACCOUNT),
5836
1,
5837
1000,
5838
RewardDestination::Controller
@@ -5845,7 +5845,7 @@ fn bond_restriction_works() {
5845
5846
// Using unrestricted account should not fail
5847
assert_ok!(Staking::bond(
5848
- Origin::signed(RESTRICTED_ACCOUNT + 1),
+ RuntimeOrigin::signed(RESTRICTED_ACCOUNT + 1),
5849
5850
5851
0 commit comments