This release contains the changes from v1.0.0
to v1.1.0
.
Monorepo
The 3 repositories substrate, polkadot and cumulus have now been merged as a single monorepo: polkadot-sdk.
You can find more details about this here.
The previous versions can be found at:
Rust compiler versions
This release was built and tested against the following versions of rustc
.
Other versions may work.
- Rust Stable: rustc 1.70.0 (90c541806 2023-05-31)
- Rust Nightly: rustc 1.71.0-nightly (8b4b20836 2023-05-22)
Special notes
BEEFY on Kusama
BEEFY
has been enabled on Westend
and Kusama
, although at the moment does not also support warp sync.
Attempting to Warp sync as a validator on Kusama
(and Westend
) will throw an error.
If experiencing stability issues caused by BEEFY
, it can be disabled using --no-beefy
flag.
This change does not affect Polkadot
, as BEEFY
is not yet enabled for Polkadot
.
Staking-miner
The staking-miner
has been removed from this release. The new staking-miner
can be found in the staking-miner-v2
repository.
Removal of the Polkadot native features
If you want to run your node with polkadot-dev
as chain, you will need to compile your node with --features polkadot-native
. In the future the support for polkadot-dev
or kusama-dev
will be removed completely.
polkadot
binary split
The polkadot
binary is being split up into multiple binaries instead of a single polkadot
binary.
More details are described in this PR. There are additional polkadot-prepare-worker
and polkadot-execute-worker
binaries placed in the same directory as the main polkadot
binary. Nothing regarding CLI flags or the way the polkadot binary gets run changes, these executables are just separated out and need to be accessible and on the same versions as the main polkadot
binary.
This likely requires people to update their automation like ansible scripting. The provided docker images already contain all the required binaries.
New Docker base image
The Docker image for Polkadot is now based on ubuntu:22.04
. It was ubuntu:20.04
until now.
The default user also changed from polkadot
(home in /polkadot
) to parity
(home in /parity
).
Changes
Node / Polkadot
- Fix the wasm runtime substitute caching bug (#1416)
- feat: add futures api to
TransactionPool
(#1348) - Ensure cumulus/bridges is ignored by formatter and run it (#1369)
- Fix wrong ref counting (#1358)
- Use bandersnatch-vrfs with locked dependencies ref (#1342)
- Rename
polkadot-parachain
topolkadot-parachain-primitives
(#1334) - Sassafras primitives (#1249)
- sc-consensus-beefy: reuse instead of recreate GossipEngine (#1262)
- Cli: disallow BEEFY and warp sync together (paritytech/polkadot#7661)
- Allow integrated relay chain light client (paritytech/cumulus#2270)
- Add BEEFY capabilities to Westend and Kusama (paritytech/polkadot#7591)
- Asynchronous Backing (paritytech/polkadot#5022)
- Set
StateBackend::Transaction
toPrefixedMemoryDB
(paritytech/substrate#14612) - Deprecate
try-runtime
subcommand and direct users to standalone cli (paritytech/substrate#14731) - Bandersnatch VRF (paritytech/substrate#14412)
- Make
claim_slot
take&mut self
(#1225) - Get rid of
Peerset
compatibility layer (paritytech/substrate#14337) - Companion for Polkadot#7337 (paritytech/cumulus#2929)
- WasmExecutor flag to ignore onchain heappages value (paritytech/substrate#14508)
- Removal of execution strategies (paritytech/substrate#14387)
- approval-voting: use proper hash when querying session info (#1387)
- PVF: Take back a stolen right (#1207)
- Fix polkadot-node-core-pvf-prepare-worker build with jemalloc (#1315)
- backing: move the min votes threshold to the runtime (#1200)
- add Treasurer to SchedulerOrigin (#1325)
- Use cached session index to obtain executor params (#1190)
- Peer_store: log warn on disconnecting because of reputation (#1299)
- Separate Polkadot binary into
polkadot
,polkadot-execute-worker
andpolkadot-prepare-worker
(paritytech/polkadot#7337)
XCM
- Enforce a decoding limit in MultiAssets (#1395)
- Add environmental variable to track decoded instructions (#1320)
- Put
GetWeight
where it belongs (#1212) - Add instruction limit when decoding XCMs (#1227)
Runtime
- Rename
VersionedRuntimeUpgrade
toVersionedMigration
(#1187) - Relax genesis config to not require
Default
impl (#1221)] - Restructure
dispatch
macro related exports (#1162) - Renames API (#1186)
- Frame: Agile Coretime Broker pallet (RFC-1) (paritytech/substrate#14568)
- [FRAME Core] New pallets:
safe-mode
andtx-pause
(paritytech/substrate#12092) - Restructure
frame_benchmarking
macro related exports (paritytech/substrate#14787) - Contracts: Update Config::Debug (paritytech/substrate#14789)
- Restructure
frame_support
macro related exports (paritytech/substrate#14745) - contracts: Expose environment types for offchain tooling (paritytech/substrate#14750)
- fix try-on-runtime-upgrade return weight (paritytech/substrate#14793)
- Added Asset Conversion in Kusama (paritytech/cumulus#2935)
- Contracts remove deposit accounts (paritytech/substrate#14589)
- migration: unlock/unreserve Gov v1 balances and remove kvs (paritytech/polkadot#7314)
- Polkadot gets topic-based message IDs (paritytech/polkadot#7301)
- [Polkadot] 28 days as conviction voting period (paritytech/polkadot#7595)
- Improve
storage_alias
and makeUnlockAndUnreserveAllFunds
independent of the pallet (paritytech/substrate#14773) - fix set-metadata safecall inconsistencies (paritytech/cumulus#2952)
- Change the Config of the MaxRococoNum Slot from a Constant to a Storage function (paritytech/polkadot#7217)
- add
frame_system::DefaultConfig
to individual palletDefaultConfigs
(paritytech/substrate#14453) - Pallets: Treasury deprecate
propose_spend
dispatchable (paritytech/substrate#14538) - Polkadot parachains get topic-based message IDs (paritytech/cumulus#2642)
- Companion for substrate#12970 (paritytech/polkadot#6807)
- [NPoS] Implements dynamic number of nominators (paritytech/substrate#12970)
- Remove deprecated old weight items (paritytech/substrate#14706)
- Cross-contract calling: simple debugger (paritytech/substrate#14678)
- CountedNMap implementation (paritytech/substrate#10621)
- Contracts migrate to fungible traits (paritytech/substrate#14020)
- [FRAME] Remove V1 Module Syntax (paritytech/substrate#14685)
- Contracts Add deposit for dependencies (paritytech/substrate#14079)
- Changes to nfts pallet for xcm integration (paritytech/substrate#14395)
- We count the teleported assets (paritytech/polkadot#7528)
- Introduce Pallet
paged-list
(paritytech/substrate#14120) - Change Fixed to WeightInfoBounds for Polkadot (paritytech/polkadot#7077)
WeightMeter
: more consistent naming (paritytech/substrate#14586)- Run
integrity_test
in Externalities (paritytech/substrate#14546) - Put HRMP Channel Management on General Admin Track (paritytech/polkadot#7477)
- Replace system config
Index
forNonce
(paritytech/substrate#14290) - Moves
Block
toframe_system
instead ofconstruct_runtime
and removesHeader
andBlockNumber
(paritytech/cumulus#2790, paritytech/polkadot#7431, paritytech/substrate#14437) GenesisBuild<T,I>
deprecated.BuildGenesisConfig
added. (paritytech/substrate#14306)- Adds ability to provide defaults for types provided by
construct_runtime
(#14682) - Contracts: Update read_sandbox (#1390)
- RFC 14: Improve locking mechanism for parachains (#1290)
API
- change HashFor to HashingFor (paritytech/substrate#14483)
RPC
- chainSpec: Stabilize chainSpec methods to V1 (#1206)
- chainHead: Add support for storage pagination and cancellation (paritytech/substrate#14755)
- chainHead: Produce method responses on
chainHead_follow
(paritytech/substrate#14692) - chainHead_storage: Backport queries for value types (paritytech/substrate#14551)
- chainHead_storage: Iterate over keys (paritytech/substrate#14628)
- chainHead: Limit ongoing operations (paritytech/substrate#14699)
- chainHead: Sync events with spec (paritytech/substrate#14654)
Docker images
The docker image for this release of the polkadot
can be found at Docker hub
(It will be available a few minutes after the release has been published).
You may pull it using:
docker pull parity/polkadot:latest
The docker image for this release of the polkadot-parachain
can be found at Docker hub
You may pull it using:
docker pull parity/polkadot-parachain:latest