Encointer Runtime Upgrade v8

2yrs ago
0 Comments

After Launching its first community in Mai 2022, The Encointer team was able to gather a lot of experience how the protocol can be improved for better growth possibilities and user experience. Moreover, a minor attack vector has been discovered and one critical bug needs fixing through runtime upgrade that has only been fixed through a workaround currently.

Please find the release notes along with the srtool build here:
https://github.com/encointer/encointer-parachain/releases/tag/1.2.0

Changelog

relevant for communities

  • allow reward payout immediately after ceremony in happy flow cases #233
  • allow registering for next ceremony already during attesting phase #224
  • make meetup validation more tolerant of real-life failures #232
  • allow anyone to trigger reward issuance for a meetup, not only assignees (free of charge) #244
  • endorsement possible after registration #202
  • add transfer_all extrinsic #223
  • add more events for better accounting #234

deep-tech changes

  • refactor meetup validation to fix possible attacks #221
  • [future-feature] allow simplified attestations (no strict need for QR code signing anymore) #231
  • dependency upgrade to polkadot-0.9.24

bugfixes:

  • fix bogus garbage collection of active communities #241
  • fix reputation caching by node rpc #245

Testing

The most invasive changes have been successfully tested on our Testnet Gesell during our demo at decoded 22

Testing pallets on Testnet Gesell (solo) completed

Testing on Testnet Lietaer (rococo) completed

Update Process

As a common-good parachain, Encointer runtime can only be upgraded through Kusama governance. It is important that the runtime upgrade happens during the registering phase of Encointer's ceremony lifecycle. We will therefore submit a preimage later this week and propose a referendum to be timed with support of the Kusama's technical committee such that the enactment happens during the desired range of days.

Best option: Enactment between Aug 4th and 9th

Fallback: Enactment between 14th and 19th

Preimage

runtime V8 srtool deterministic build hash: 58ebd7242e71cdd0b2942d4bf14c6e865a394cce5aa9ddd8272dd7adb889f18f

parachainSystem.autorizeUpdate encoded call data on Encointer parachain
0x01026857f609068cf38a8fa84ce18ca06429bb2de870618e98be24f6c2f16d1b95fa

encoded proposal on Kusama: 0x630001000100a50f01060200ca9a3b0000000088010258ebd7242e71cdd0b2942d4bf14c6e865a394cce5aa9ddd8272dd7adb889f18f

preimage hash: 0x5af45b3b80210579bb07a417984735e907e95856f31060efe33d29fcf4c639c6

Registered preimage

Up
Comments
No comments here