Hello,
June saw a lot of bug fixes all over the SDK and client libraries (long list below). Some highlights:
- CoreTime pricing explanations by @eskimor
- The number of validators on Kusama increased to 400 (soon 500)
- Elastic Scaling MVP makes progress and you can try it.
- An excellent Parachain Devops Guide has been published. This is high quality work, congrats to the Infra team. You can also find all the chainspecs here.
A lot of Parity people me included will be next week in Brussels for Decoded. Please let me know if you want to meet.
Pierre
Runtime
FRAME
- FRAME primitives improvement based on user feedback and PBA:
construct_runtime
:- Derive Impl:
- Some documentation improvements:
- Continuous feedback to OZ to use our latest and greatest features in their templates, for example this or that.
- The template revamp has come to a milestone, and all 3 new templates, alongside few noteworthy external ones, are now listed in the official
polkadot-sdk-docs
- All changes needed to revamp nomination pools to enable governance participation are live on Westend! Keep an eye on this forum post for updates from @ankan about when this goes live.
- Serban made several refactors to polkadot-parachain towards the direction of Omninode [1], [2]
- Kian, Cisco, and Liam participated in and delivered the Substrate, FRAME, and XCM modules in PBA Singapore.
XCM
- Backported pallet-xcm helper extrinsic for moving bridged assets across the ecosystem, and made it available on live chains,
- Added examples and tests supporting Why parachains shoud use AH as DOT/KSM reserve,
- Implemented the new
XcmPaymentApi
andDryRunApi
on all test system parachains, - Defined and proposed new XCM builder tooling for better UX/DX,
- Migrated the xcm-format repo from
paritytech
topolkadot-fellows
. Any XCM spec changes now need to go through the Fellowship RFC process.
Bridges
- Integrated a long, behind-the-scenes Bridge-Relayer enhancement for sharing subscriptions between instances,
- Upgrading/updating Bridge-Relayers for new runtime releases [1], [2], [3], [4],
- Working with Parity DevOps on a Relayer deployment design that allows zero downtime on BridgeHub runtime upgrades,
- Extending our bridge-related work on key ownership proof optimizations, to the rest of substrate.
System Parachains
- Several Fellowship releases (1.2.{5, 6, 7})
- Muharem made some improvements on some transaction payment cases using asset conversion
- Preparation for the launch of People Chain on Polkadot
- Kusama has entered its third sale period, the next batch of chains are renewing and this will be the first sale using the new price adapter, giving a much bigger range of prices within one sale period. Dónal is focusing on e2e testing and preparing for the launch on Polkadot.
- Branislav added permissionless way for parachains to open HRMP channels between themselves and system parachains
Chains
Coretime
- The implementation of the interfaces
request_revenue
andnotify_revenue
(part of RFC 5) are mostly done and currently under review. - We’re now running a new price model on Kusama since the 1.2.5 fellowship release. If you wanna know more about it, read this post by @eskimor .
- On-demand core sharing were fixed, which brings us one step closer to optimize the on-demand asynchronous operations within the network and support more complex scheduling scenarios.
- The
on_demand_assigner
events were improved: WithOnDemandOrderPlaced
now providingpara_id
,spot_price
and account of the orderer.SpotPriceSet
was integrated and exposes if the price was changed without an order placed.
Parachain validator set size increase
- With the enactment of Referendum 392 on Kusama, we’re running an improved approval voting protocol with reduced usage of network bandwidth and CPU.
- Referendum 405 was enacted and we’ve succesfully increased the Kusama parachain validator count from 300 to 400. 500 is next
Disabling
- Validator disabling progressed to implementation stage 3: the Node-side preparation for stage 3 is merged and was released in 1.13.
- New documentation out: Offences & Slashes is live on the Polkadot wiki
Elastic scaling MVP
- A draft for a guide on ‘How to enable elastic scaling MVP on a parachain’ is currently being reviewed
- After the release containing the brand new slot based collator on Cumulus is out, we are testnet ready with the Relay Chain implementation and slot based Collator tests completed on Versi.
- Cumulus PoV recovery support for elastic scaling parachains was implemented
Offchain XCMP
- Design worked has kicked off
Scaling and Stability
- The Fork-aware transaction pool is continuously progressing. Preparation pull requests are under review, with a WIP version of the pool also out for inspection and testing. It is included in a custom node binary currently being tested by mythical, showing promising results.
- We made efforts (#4571, #4326) to harden the storage proof weight handling in the runtime to remove the conservative 2.5mb PoV size limit currently in place in the node binary.
- The slot-based collator has seen multiple iterations and improvements and is being merged soon.
- The networking team has worked on outlining a path to stabilization for litep2p. Work to tackle the outlined items has already started.
- A lot of work has gone into upgrading libp2p to 52.4 as an intermediary step before 53.0, which promises more API stability. This is an important step to ease the upgrade burden and focus fully on litep2p in the coming months.
Zombienet
- The Zombienet team is continuously working on the migration path of our CI to the new version (SDK), also in adding new features like
local grafana/prometheus
and support custom parachains (through decorators like v1). - We are also working in conjuction with automation team in a
fork-off/Doppelganger
new tool.
Infra & Data
Automation Ops
Stabilizing Polkadot
- e2e testing tooling is beginning to kick off
- The code coverage effort is going forward
GitHub Actions Migration
- Great progress on the GHA migration, last infrastructure bits are being sorted out then will be ready to start migrating jobs.
Misc
- Usability upgrades for the faucet; Paseo is now default
- Command bot has been migrated to GHA with a forum post to go with it
- Forklift being improved for secure GHA use and issues on first test jobs being ironed out
DevOps
Infrastructure updates
- Polkadot<>Kusama bridge: continued operation of our relayer adapting to changes in relayer deployment
- Rococo Scale down scheduled
- LiteP2P enabled on Rococo validators and on some Kusama nodes
Guides, tools & resources
- Existing Substrate Devops Guide significantly rewritten into a new Parachain DevOps Guide with new tutorials and explainers on parachains deployment
- Our Parachain Chainspecs collection is now available. All the Chainspecs, in one repo, automatically updated.
Releases
- Polkadot-sdk 1.13 version released
- New frame-omni-bencher and chain-spec-builder binaries added to released artifacts
- Latest Polkadot.JS extension upgrade released to the Firefox and Chrome stores. This was not done for several years, the Firefox extension is pending review. Watch this space, as we have a few more updates in preparation.
Data
Token Terminal project - Integration phase
- Strategy decided and research phase concluded
- Infrastructure integrated and set up; Polkadot relay chain and six parachains running in test leveraging embedded relay chain snapshot templates
- Implemented scraping code for data ingestion
- Scaling - adding more parachains
- Initial data exploration and modeling; benchmarking against DotLake
- More engineers onboarded; finalizing ingestion and benchmarking in the next few weeks
- Overall Status: ahead of schedule for the Integration phase
Making Polkadot visible
- Frequency parachain deep dive thread (record engagement - 85k views on X) (thank you Oliver Brett for your superb assistance)
- Supplying data to Distractive for Genesis Day video (77k views on X)
Supporting development and research in Polkadot
- Shared data with Jonas/W3F for Polkadot’s Economics: Tools to Shape the Forseeable Future
- Shared data with other ecosystem members for upcoming articles & reports
DotLake
More parachains and solo chains added to ingest:
- Mythical
- Kusama People Chain
- Kusama Coretime
- Subsocial
- Bittensor
- Ternoa
- Chainflip
- Sora
- Joystream
- Vara
Parity Data Public Dashboards
- Added to Polkadot Wiki
- Ready to push the new version by end of month with new charts and insights, stay tuned
Security
Polkadot Vault
- The integration of Bananasplit functionality for Polkadot Vault in order to improve user experience and level of security to backup and recover seed has been implemented and audited. It is going through final tests before being released.
- As part of the work finalising the migration of Vault from Parity to Novasama, the security team implemented a Proof of Concept for Reproducible Builds for Polkadot Vault. People can build binaries from sources which have been also audited and compare it with released packages. Any changes on the source will result differance on the packages, with this way, people can identify unauthorised and/or unaudited changes. To get more information about Reproducible Builds for Mobile Applications, you can reach from here.
Decoded
- If you are in Brussels and want to talk about Security and tools and strategies for defense, make sure to attend Patricio’s talk and talk to him while at the event.
Security Bug Bounty
- 4 submissions have been received, 1 of them was Low severity, related to the
jsonrpsee
library
Vulnerability Disclosure
- Polkadot Security Hub done by Giovanny and Patricio will be presented at Decoded to help people navigate the different disclosure done and associated status and remediation guidance.
- 8 Code Vulnerabilities disclosed to Parachains during May-June.
Code Audit
- Generic Runtime Template for Polkadot Parachains was released by OpenZeppelin, the audit of which was managed by Parity Security with SRLabs. See release
- Bridge-hub security review by OpenZeppelin has been initiated and is expected to be completed during Q3
- Logion and Agrotoken parachains were audited as part of the Alpha Program effort during May-June.