v6.0.0-beta
Pre-release
Pre-release
Version 6.0.0-beta
Here's how you can use this release:
cargo install --force --locked --version 6.0.0-beta cargo-contract [dependencies]
ink = { version = "6.0.0-beta" }
[dev-dependencies]
ink_e2e = { version = "6.0.0-beta" }
# we moved the sandbox testing environment to a separate crate
# this one cannot be published to crates.io yet
ink_sandbox = { git = "https://github.com/use-ink/ink.git", branch = "6.0.0-beta" }You also need to install the latest ink-node release (there are binaries available for this release!).
If you use cargo install and are on Mac: click the link, there's a note for you, there's a system dependency required now.
Compatibility:
- Rust >= 1.88
cargo-contract6.0.0-betaink-nodev0.46.0polkadot-sdkfrompolkadot-sdk/cbab8ed4be1941420dd25dc81102fb79d8e2a7f0(Oct 15, 2025)- Paseo Passet Hub (was upgraded here)
Breaking Changes
We moved the sandbox testing environment to a separate crate.
It changes the current behaviour from:
[dev-dependencies]
ink_e2e = { version = "v6.0.0-alpha.4", feature = "sandbox" }to
[dev-dependencies]
ink_e2e = { version = "6.0.0-beta" }
ink_sandbox = { git = "https://github.com/use-ink/ink.git", branch = "6.0.0-beta" }In the tests, you need to apply this change when using sandbox. Instead of:
#[ink_e2e::test(backend(runtime_only(sandbox = sandbox_runtime::ContractCallerSandbox)))]Change to:
#[ink_sandbox::test(backend(runtime_only(
sandbox = sandbox_runtime::ContractCallerSandbox,
client = ink_sandbox::SandboxClient
)))]Full Changelog
Added
- Implements the API for the
pallet-revivehost functiongas_limit- #2691 - Implements the API for the
pallet-revivehost functionto_account_id- #2578 - Add
#[ink::contract_ref]attribute - #2648 - Add
ink_revive_types(and removepallet-revivedependency fromink_e2e) - #2657 - non-allocating Solidity ABI encoder - #2655
- Implement XCM precompile, stabilize XCM API - #2687
Changed
- Marks the
pallet-revivehost functionaccount_idstable - #2578 - Stabilize
is_contract- #2654 - Extract
sandboxfromink_e2einto a newink_sandboxcrate - #2659 - Synchronize with
polkadot-sdk/1b1cef306d9ceebf963fd15a04b5c79ee2618bce‒ 2675 - Refactor
AbiEncodeWith::encode_to_slice- #2676 - Refactor
ArgumentListencoding and abstractions - #2678 - More flexible
SolEncodeimplementation forByteSlice- #2681 - Synchronize with
polkadot-sdk/cbab8ed4be1941420dd25dc81102fb79d8e2a7f0‒ 2689