polkadot-fellows / runtimes

The various runtimes which make up the core subsystems of networks for which the Fellowship is represented.
GNU General Public License v3.0
126 stars 74 forks source link

Set `safeXcmVersion` on all relay+SP chains to `3` #190

Closed bkontur closed 4 months ago

bkontur commented 4 months ago

We need to change default/safeXcmVersion for all relays and system parachains, because (almost) everywhere there is 2 and we use SetTopic feature, which is not supported for 2, so the note_unknown_version a.k.a version discovery feature is not triggered. This problem occurs for new destinations which are not already added to the SupportedVersion.

Unfortunately, this PR with allowed pallet_xcm::Call::force_default_xcm_version is not yet upgraded live on Polkadot chains (need to wait for 1_001_00X is enacted, but governance call can be submitted probably), Kusama's chains should be ready.

bkontur commented 4 months ago

@xlc @joepetrowski this force_xcm_version call should fix that problem with fellowshipSalary.payout which Bryan reported https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fdot-rpc.stakeworld.io%2Fcollectives#/extrinsics/decode/0x1f04010100a10f03000000

joepetrowski commented 4 months ago

Can you put together everything for a WhitelistedCaller referendum?

acatangiu commented 4 months ago

I put together the ones for Kusama (setting safe version for AH, BH and Encointer - Kusama Relay is already good):

Done

Submit the preimage for the Fellowship referendum: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.dwellir.com#/extrinsics/decode/0x2000882c00599c1e250cd67d894136db255afc87fcdd9c29818d4af159efe24374036c3469

Submit the preimage for the public referendum: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.dwellir.com#/extrinsics/decode/0x200071012c0318040c630003000100a10f03082f000006020208af2f01101c1f050103000000630003000100a90f03082f000006020208af2f01101c1f050103000000630003000100a50f03082f000006020208af2f01101c1f050103000000

Open a public referendum to dispatch the call: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.dwellir.com#/extrinsics/decode/0x15002b0d02b19d05907b4955a42e92c45e7cc490da8824bf9696deab5bce2c2718e87bd7145c000000010a000000

Now also done

Open a Fellowship referendum to whitelist the call: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.dwellir.com#/extrinsics/decode/0x17002b0f021d6c9b45436beaa2787b53611d7d0a09583c5102fb7e13e44ef49f745780562f22000000010a000000

Published referenda

https://kusama.polkassembly.io/referenda/348

Whitelisting above referenda call

https://kusama.subsquare.io/fellowship/referenda/61

bkchr commented 4 months ago

https://kusama.polkassembly.io/referenda/348 whitelisting call.

bkontur commented 4 months ago

I put together the ones for Polkadot (setting safe version for AH, BH and Collectives - Polkadot Relay is already good):

~/parity/opengov-cli$ ./target/debug/opengov-cli submit-referendum --proposal 0x1a040c630003000100a10f03082f000006020208af2f01101c1f050103000000630003000100a50f03082f000006020208af2f01101c1f050103000000630003000100a90f03082f000006020208af2f01101c1f050103000000 --network polkadot --track whitelistedcaller --at 10

Done

Submit the preimage for the Fellowship referendum: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fpolkadot-collectives-rpc.polkadot.io#/extrinsics/decode/0x2b00d41f0003010003082f0000060342d4336c216f88170040d555be8405ae0ba4a8c0d5cf910cf719a764644e91d0c8f37bf1e87c64c7c8

https://collectives.statescan.io/#/extrinsics/3201877-2

Needs some with "permissions" and/or enough free balance

Open a Fellowship referendum to whitelist the call: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fpolkadot-collectives-rpc.polkadot.io#/extrinsics/decode/0x3d003e0202953d2a661349cbbf2f7f14af56bad37393a54d1878b593fc4ee9e893bd7eb1ba35000000010a000000

Submit the preimage for the public referendum: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fpolkadot-rpc.dwellir.com#/extrinsics/decode/0x0a00710117031a040c630003000100a10f03082f000006020208af2f01101c1f050103000000630003000100a50f03082f000006020208af2f01101c1f050103000000630003000100a90f03082f000006020208af2f01101c1f050103000000

Open a public referendum to dispatch the call: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fpolkadot-rpc.dwellir.com#/extrinsics/decode/0x1500160d0206597ec60f70946fd70ff4801290ddea6452c69f401c267360c5833c948de09f5c000000000a000000

acatangiu commented 4 months ago

Preimage + public referendum done: https://polkadot.polkassembly.io/referenda/505

@bkchr can you also help with the same whitelist but on Polkadot this time? Apparently only fellows and above are allowed to propose on that track..

Preimage is already submitted by @bkontur, but we need a fellow (or above) to put up the proposal: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fpolkadot-collectives-rpc.polkadot.io#/extrinsics/decode/0x3d003e0202953d2a661349cbbf2f7f14af56bad37393a54d1878b593fc4ee9e893bd7eb1ba35000000010a000000

acatangiu commented 4 months ago

Ok, everything done now. Last piece: https://collectives.polkassembly.io/referenda/77

acatangiu commented 4 months ago

@bkontur you can close this issue