[glutton-westend] and add sudo key to genesis config (#7794)
I discovered in https://github.com/paritytech/polkadot-sdk/pull/7459, that the overhead benchmark is not working for glutton-westend, as the client can't send `system.remark` extrinsics. This was due to 2 issues: 1. Alice was not set as sudo. Hence, the `CheckOnlySudoAccount` deemed the extrinsic as invalid. 2. The `CheckNonce` TxExtension also marked the extrinsic as invalid, as the account doesn't exist (because glutton has no balances pallet). This PR fixes the 1.) for now. I wanted to simply remove the `CheckNonce` in the TxExtension to fix 2., but it turns out that this is not possible, as the tx-pool needs the nonce tag to identify the transaction. https://github.com/paritytech/polkadot-sdk/pull/6884 will fix sending extrinsics on glutton. --------- Co-authored-by:cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by:
Bastian Köcher <git@kchr.de> Co-authored-by:
s0me0ne-unkn0wn <48632512+s0me0ne-unkn0wn@users.noreply.github.com>
Showing
- cumulus/parachains/runtimes/glutton/glutton-westend/src/genesis_config_presets.rs 8 additions, 1 deletion...mes/glutton/glutton-westend/src/genesis_config_presets.rs
- cumulus/polkadot-parachain/src/chain_spec/glutton.rs 1 addition, 0 deletionscumulus/polkadot-parachain/src/chain_spec/glutton.rs
- prdoc/pr_7794.prdoc 16 additions, 0 deletionsprdoc/pr_7794.prdoc
Please register or sign in to comment