Skip to main content

Questions tagged [sudo]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
10 views

Sudo account reward remainder

impl pallet_staking::Config for Runtime { type RewardRemainder = Treasury; } how can i give it to sudo account
Newt's user avatar
  • 1
3 votes
2 answers
47 views

How To Remove The Sudo Pallet Safely

We have the sudo pallet on a running live mainnet. It is almost time to remove it. What is the safest way to remove it in the code? We have made code upgrades before but removing a pallet (especially ...
KathrynColleen's user avatar
1 vote
1 answer
47 views

polkadot explorer getting stuck while using utility and sudo pallet from extrinsics

I am trying to do a runtime upgrade of my blockchain that is layer 0 chain running on version polkado-v0.9.36 . I also have (ethereum virtual machine integrated to it ). When I do runtime upgrade ...
Karanvir Singh's user avatar
3 votes
2 answers
137 views

ensure_root in ink!

For the runtime development the FRAME pallet system provide a function ensure_root that allow us to ensure that the origin o represents the root: // Only root can call this extrinsic. ensure_root(...
Alex Bean's user avatar
  • 5,757
1 vote
1 answer
55 views

What root dispatches are absolutely necessary to run a parachain?

I am currently developing an alternative to Sudo and Democracy. I wish to have a sudo key account, which is allowed to upgrade the chain, but only after a three month review period, the upgrade can ...
Chralt's user avatar
  • 543
0 votes
1 answer
17 views

How to force runtime upgrades only after an enactment period of three months with the sudo pallet?

I would like to use the sudo pallet instead of the democracy pallet. Now I would like to force the sudo user to wait three months until a runtime upgrade can be applied. So, that there is no way to ...
Chralt's user avatar
  • 543
2 votes
1 answer
48 views

What is the intended purpose of `sudo_as` from the sudo pallet?

I ask myself, why this extrinsic (https://github.com/paritytech/substrate/blob/e9b0facf70eeb08032cc7e83548c62f0b4a24bb1/frame/sudo/src/lib.rs#L224-L263) exists? I mean the sudo key could execute any ...
Chralt's user avatar
  • 543
0 votes
1 answer
102 views

Sudo option is not showing up on PolkadotUI - Substrate

I am running a substrate-permissioned network, we configure the SUDO account using the keys on polkadot UI account and use it to perform node authorization, etc. Since last week, SUDO option is not ...
Anbu 's user avatar
  • 23
0 votes
2 answers
75 views

parachainSystem.OverlappingUpgrades

Attempt to upgrade validation function while existing upgrade pending I stuck with this error. Can anyone have idea how fix it?
rust.dev's user avatar
  • 529
1 vote
1 answer
115 views

Failure on HRMP channel creation

To update a parachain in a dev environment without redeploying the relaychain and other parachains I used sudoScheduleParaCleanup extrinsic. The cleanup and new onboarding seemed successful initially. ...
Rodrigo Quelhas's user avatar
1 vote
1 answer
91 views

How Polkadot transition Sudo into On chain governance?

From my understanding, Polkadot has sudo governance in the initial phase. Currently, Polkadot completely changed into on-chain governance by pallet_democracy, pallet_membership, pallet_collective. ...
CocDap's user avatar
  • 708
1 vote
2 answers
184 views

Connect a parachain to a custom relay chain without sudo

I'm following the tutorial from here: https://docs.substrate.io/tutorials/v3/cumulus/connect-parachain/#parachain-registration On the parachain registration step, I go to the Polkadot apps UI > ...
Steven Yao's user avatar
5 votes
2 answers
354 views

Sudo option is missing

I just clone the Polkadot repo v0.9.20 and build. When I run the chain sudo option is not showing in developer section. Running chain on 127.0.0.1:9944. Can anyone please tell why this thing happen? ...
Deepak Chaudhary's user avatar
1 vote
2 answers
70 views

Why is remark not shown when executed with Root?

I was wondering why the Polkadot JS Apps are not displaying a remark when executed via Root (e.g., sudo) origin? Is there any way to view the remark this way? I am interested for the case of voting on ...
0x5hmoo's user avatar
  • 329
8 votes
1 answer
303 views

How would someone go without the SUDO pallet?

I've seen in multiple online networks(chains) that they do not use the pallet sudo. We're trying to figure out how to take the pallet out of our network in order to leave everything to Governance. For ...
Charalampos Mitrodimas's user avatar
0 votes
2 answers
105 views

sudo(bridgeRococoGrandpa.setOwner()) call resulting in BadOrigin error

I'm trying to set another owner for the messages and GRANDPA pallets, but I'm not succeeding while using the sudo account. I'm getting a sudo.Sudid BadOrigin error as a result. I've been told that ...
user avatar
8 votes
1 answer
149 views

Substrate Meta Transaction

While writing dispatchable methods on substrate pallets, is it possible to sign transaction from one wallet (wallet-1) and then forward that signed transaction to the blockchain from another wallet(...
Non-named's user avatar
  • 304
5 votes
1 answer
32 views

Deposit on registrar.forceRegister(who,deposit,id,genesisHead,validationCode)?

I'm trying to onboard several teams to the Rococo-testnet with the objective that they can then control the parachain. For that, I'm thinking of using the SUDO account and calling registrar....
Santiago Balaguer's user avatar
4 votes
1 answer
68 views

Render Sudo without a runtime upgrade

Is there a way to render Sudo unusable without a runtime upgrade like setting the Sudo key to something nobody knows the private key to?
Aiden Pearce's user avatar
5 votes
1 answer
80 views

How to create pallet errors for sudo that show up on the Polkadot JS apps interface?

Repost from stackoverflow: So I've been at my wits' end for quite some time regarding #[pallet::error] showing up on Polkadot JS apps interface when calling a fallible function from sudo. So as I've ...
Purple_Turtle's user avatar