Questions tagged [sudo]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
33 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
104 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
  • 4,839
1 vote
1 answer
42 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
  • 473
0 votes
1 answer
16 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
  • 473
1 vote
1 answer
38 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
  • 473
0 votes
1 answer
65 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
0 votes
2 answers
56 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
  • 511
1 vote
1 answer
58 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
62 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
  • 561
1 vote
2 answers
149 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
294 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
0 votes
2 answers
47 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
  • 157
8 votes
1 answer
269 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
86 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 ...
aardbol's user avatar
  • 161
8 votes
1 answer
128 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(...
Bukks's user avatar
  • 304
5 votes
1 answer
25 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
53 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
73 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