Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v3.2.0 #572

Merged
merged 8 commits into from Jun 14, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 15 additions & 1 deletion CHANGELOG.md
@@ -1,14 +1,28 @@
# CHANGELOG

## Unreleased
## v3.2.0
### Breaking changes
[\#550](https://github.com/Manta-Network/Manta/pull/550) Remove sudo pallet from calamari runtime.
Garandor marked this conversation as resolved.
Show resolved Hide resolved

### Features

### Improvements
[\#481](https://github.com/Manta-Network/Manta/pull/481) Update upstream dependencies to v0.9.18.
[\#491](https://github.com/Manta-Network/Manta/pull/491) Revamp collator-selection.
[\#493](https://github.com/Manta-Network/Manta/pull/493) Dedupe mock-xcm tests (part 1).
[\#505](https://github.com/Manta-Network/Manta/pull/505) Proper bare-metal instances for benchmarking workflows.
[\#507](https://github.com/Manta-Network/Manta/pull/507) Add issue template for Calamari xcm onboarding of other parachains.
[\#519](https://github.com/Manta-Network/Manta/pull/519) Concrete fungible ledger integration tests.
[\#523](https://github.com/Manta-Network/Manta/pull/523) Move xcm and assets related runtime configurations to own files.
[\#531](https://github.com/Manta-Network/Manta/pull/531) Clean up AssetManager migration code.
[\#541](https://github.com/Manta-Network/Manta/pull/541) Skip build on too tiny change.
[\#542](https://github.com/Manta-Network/Manta/pull/542) Update xcm integrations template issue.
[\#560](https://github.com/Manta-Network/Manta/pull/560) Bump srtool to v0.4.0.

### Bug fixes
[\#558](https://github.com/Manta-Network/Manta/pull/558) Fix try runtime and metadata diff ci workflows.
[\#567](https://github.com/Manta-Network/Manta/pull/567) Fix file structure of relay chian specs.
[\#570](https://github.com/Manta-Network/Manta/pull/570) Revert hard-coded branch of yamllint github action.

## v3.1.5-1
### Breaking changes
Expand Down
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node/Cargo.toml
Expand Up @@ -8,7 +8,7 @@ homepage = 'https://manta.network'
license = 'GPL-3.0'
name = 'manta'
repository = 'https://github.com/Manta-Network/Manta/'
version = '3.1.5'
version = '3.2.0'

[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
Expand Down
2 changes: 1 addition & 1 deletion pallets/asset-manager/Cargo.toml
@@ -1,7 +1,7 @@
[package]
authors = ['Manta Network']
name = "pallet-asset-manager"
version = "3.1.5"
version = "3.2.0"
edition = "2021"
homepage = 'https://manta.network'
license = 'GPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion pallets/collator-selection/Cargo.toml
Expand Up @@ -7,7 +7,7 @@ license = 'GPL-3.0'
name = 'manta-collator-selection'
readme = 'README.md'
repository = 'https://github.com/Manta-Network/Manta/'
version = '3.1.5'
version = '3.2.0'

[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
Expand Down
2 changes: 1 addition & 1 deletion pallets/tx-pause/Cargo.toml
@@ -1,7 +1,7 @@
[package]
authors = ['Manta Network']
name = "pallet-tx-pause"
version = '3.1.5'
version = '3.2.0'
edition = "2021"
homepage = 'https://manta.network'
license = 'GPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion pallets/vesting/Cargo.toml
@@ -1,7 +1,7 @@
[package]
authors = ['Manta Network']
name = "calamari-vesting"
version = '3.1.5'
version = '3.2.0'
edition = "2021"
homepage = 'https://manta.network'
license = 'GPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion primitives/Cargo.toml
@@ -1,7 +1,7 @@
[package]
authors = ['Manta Network']
name = "manta-primitives"
version = '3.1.5'
version = '3.2.0'
edition = "2021"
homepage = 'https://manta.network'
license = 'GPL-3.0'
Expand Down
19 changes: 18 additions & 1 deletion runtime/calamari/Cargo.toml
Expand Up @@ -5,7 +5,7 @@ homepage = 'https://manta.network'
license = 'GPL-3.0'
name = 'calamari-runtime'
repository = 'https://github.com/Manta-Network/Manta/'
version = '3.1.5'
version = '3.2.0'

[dependencies]
codec = { package = "parity-scale-codec", version = '3.0.0', default-features = false, features = ["derive", "max-encoded-len"] }
Expand Down Expand Up @@ -105,7 +105,24 @@ default = ['std']
try-runtime = [
'frame-executive/try-runtime',
'frame-try-runtime',
'frame-system/try-runtime',
'pallet-aura/try-runtime',
'pallet-authorship/try-runtime',
'pallet-balances/try-runtime',
'pallet-preimage/try-runtime',
'pallet-multisig/try-runtime',
'pallet-session/try-runtime',
'pallet-timestamp/try-runtime',
'pallet-transaction-payment/try-runtime',
'pallet-utility/try-runtime',
'pallet-collective/try-runtime',
'pallet-democracy/try-runtime',
'pallet-scheduler/try-runtime',
'pallet-membership/try-runtime',
'pallet-treasury/try-runtime',
'pallet-assets/try-runtime',
'pallet-tx-pause/try-runtime',
'pallet-asset-manager/try-runtime',
]
runtime-benchmarks = [
'cumulus-pallet-session-benchmarking/runtime-benchmarks',
Expand Down
2 changes: 1 addition & 1 deletion runtime/calamari/src/lib.rs
Expand Up @@ -104,7 +104,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("calamari"),
impl_name: create_runtime_str!("calamari"),
authoring_version: 1,
spec_version: 3151,
spec_version: 3200,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 4,
Expand Down
3 changes: 3 additions & 0 deletions runtime/calamari/src/migrations/sudo.rs
Expand Up @@ -26,7 +26,9 @@ impl<T: frame_system::Config> OnRuntimeUpgrade for RemoveSudo<T> {
fn on_runtime_upgrade() -> Weight {
if have_storage_value(b"Sudo", b"Key", b"") {
remove_storage_prefix(b"Sudo", b"Key", b"");
remove_storage_prefix(b"Sudo", b":__STORAGE_VERSION__:", b"");
log::info!(target: "OnRuntimeUpgrade", "✅ Sudo key has been removed.");
log::info!(target: "OnRuntimeUpgrade", "✅ The pallet version has been removed.");
T::DbWeight::get()
.reads(1 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight))
Expand All @@ -39,6 +41,7 @@ impl<T: frame_system::Config> OnRuntimeUpgrade for RemoveSudo<T> {
fn pre_upgrade() -> Result<(), &'static str> {
if have_storage_value(b"Sudo", b"Key", b"") {
log::info!(target: "OnRuntimeUpgrade", "✅ Sudo key will be removed soon.");
log::info!(target: "OnRuntimeUpgrade", "✅ The pallet version will be removed soon.");
Ok(())
} else {
Err("Sudo doesn't exist.")
Expand Down
14 changes: 7 additions & 7 deletions runtime/calamari/src/weights/calamari_vesting.rs
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for calamari_vesting
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-05-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-06-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -54,7 +54,7 @@ impl<T: frame_system::Config> calamari_vesting::WeightInfo for SubstrateWeight<T
// Storage: CalamariVesting VestingSchedule (r:1 w:1)
// Storage: Timestamp Now (r:1 w:0)
fn update_vesting_schedule() -> Weight {
(13_618_000 as Weight)
(13_520_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
Expand All @@ -64,7 +64,7 @@ impl<T: frame_system::Config> calamari_vesting::WeightInfo for SubstrateWeight<T
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn vest() -> Weight {
(34_115_000 as Weight)
(33_998_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
Expand All @@ -74,7 +74,7 @@ impl<T: frame_system::Config> calamari_vesting::WeightInfo for SubstrateWeight<T
// Storage: CalamariVesting VestingSchedule (r:1 w:0)
// Storage: Balances Locks (r:1 w:1)
fn vested_transfer() -> Weight {
(53_444_000 as Weight)
(57_623_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
Expand All @@ -85,7 +85,7 @@ impl WeightInfo for () {
// Storage: CalamariVesting VestingSchedule (r:1 w:1)
// Storage: Timestamp Now (r:1 w:0)
fn update_vesting_schedule() -> Weight {
(13_618_000 as Weight)
(13_520_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
Expand All @@ -95,7 +95,7 @@ impl WeightInfo for () {
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn vest() -> Weight {
(34_115_000 as Weight)
(33_998_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
Expand All @@ -105,7 +105,7 @@ impl WeightInfo for () {
// Storage: CalamariVesting VestingSchedule (r:1 w:0)
// Storage: Balances Locks (r:1 w:1)
fn vested_transfer() -> Weight {
(53_444_000 as Weight)
(57_623_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
Expand Down