Skip to content

Commit

Permalink
Release 4.0.4 (#1044)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Reif authored Mar 17, 2023
1 parent c23fe26 commit 50a1073
Show file tree
Hide file tree
Showing 46 changed files with 721 additions and 711 deletions.
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ These checks should be performed on the codebase prior to freezing our release c
- [ ] Verify [benchmarks](#benchmarks) have been updated for any modified
runtime logic.
- [ ] Check for any upstream storage migrations and perform tests with `try-runtime`, if any.
- [ ] Grep github actions files for `POLKADOT_BINARY` and `_BINARY` and update them
- [ ] Grep github actions files for the following version URLs and update them
- `https://github.com/paritytech/polkadot/releases/download/v`
- `https://github.com/Manta-Network/Manta/releases/download/v`
- [ ] Generate new changelog using `dev-tools` repo
- [ ] Merge when green and reviewed
- [ ] Tag the release with the same version you used on the release PR. IMPORTANT: Use the `manta` branch commit for the tag, NOT a `release-` or other branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_test_calamari.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
AWS_INSTANCE_ROOT_VOLUME_SIZE: 32
AWS_IMAGE_SEARCH_PATTERN: ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*
AWS_IMAGE_SEARCH_OWNERS: '["099720109477"]'
POLKADOT_BINARY: https://github.com/paritytech/polkadot/releases/download/v0.9.38/polkadot
POLKADOT_BINARY: https://github.com/paritytech/polkadot/releases/download/v0.9.39-1/polkadot
jobs:
print-rust-versions:
if: contains(github.event.pull_request.labels.*.name, 'A-calamari' || github.ref == 'refs/heads/manta')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_test_dolphin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
AWS_INSTANCE_ROOT_VOLUME_SIZE: 32
AWS_IMAGE_SEARCH_PATTERN: ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*
AWS_IMAGE_SEARCH_OWNERS: '["099720109477"]'
POLKADOT_BINARY: https://github.com/paritytech/polkadot/releases/download/v0.9.38/polkadot
POLKADOT_BINARY: https://github.com/paritytech/polkadot/releases/download/v0.9.39-1/polkadot
jobs:
print-rust-versions:
if: contains(github.event.pull_request.labels.*.name, 'A-dolphin' || github.ref == 'refs/heads/manta')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/metadata_diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
inputs:
reference_binary:
description: The link to the reference binary, which should be the previous release.
default: https://github.com/Manta-Network/Manta/releases/download/v4.0.1/manta
default: https://github.com/Manta-Network/Manta/releases/download/v4.0.3/manta
required: true
chain:
description: The name of the chain under test. Usually, you would pass a local chain
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/runtime_upgrade_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ env:
AWS_INSTANCE_ROOT_VOLUME_SIZE: 32
AWS_IMAGE_SEARCH_PATTERN: ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*
AWS_IMAGE_SEARCH_OWNERS: '["099720109477"]'
POLKADOT_BINARY: https://github.com/paritytech/polkadot/releases/download/v0.9.38/polkadot
MANTA_BINARY: https://github.com/Manta-Network/Manta/releases/download/v4.0.1/manta
POLKADOT_BINARY: https://github.com/paritytech/polkadot/releases/download/v0.9.39-1/polkadot
MANTA_BINARY: https://github.com/Manta-Network/Manta/releases/download/v4.0.3/manta
jobs:
print-rust-versions:
if: ${{ startsWith(github.ref, 'refs/tags') || startsWith(github.ref, 'refs/heads/release-') || github.ref == 'refs/heads/manta' }}
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v4.0.4
### Fixed
- [\#1043](https://github.com/Manta-Network/Manta/pull/1043) Add self-bond filter condition when computing new set of collators [CA]

## v4.0.3
### Changed
- [\#1024](https://github.com/Manta-Network/Manta/pull/1024) Minor: use checked-in genesis for --chain=manta [MA]
Expand Down
26 changes: 13 additions & 13 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
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = 'GPL-3.0'
name = 'manta'
repository = 'https://github.com/Manta-Network/Manta/'
rust-version = '1.62'
version = '4.0.3'
version = '4.0.4'

[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
Expand Down
2 changes: 1 addition & 1 deletion pallets/asset-manager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ homepage = "https://manta.network"
license = "GPL-3.0"
name = "pallet-asset-manager"
repository = 'https://github.com/Manta-Network/Manta/'
version = '4.0.3'
version = '4.0.4'

[dependencies]
codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion pallets/collator-selection/Cargo.toml
Original file line number Diff line number Diff line change
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 = '4.0.3'
version = '4.0.4'

[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
Expand Down
2 changes: 1 addition & 1 deletion pallets/manta-pay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = 'GPL-3.0'
name = 'pallet-manta-pay'
readme = 'README.md'
repository = 'https://github.com/Manta-Network/Manta/'
version = '4.0.3'
version = '4.0.4'

[package.metadata.docs.rs]
# To build locally:
Expand Down
2 changes: 1 addition & 1 deletion pallets/parachain-staking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ homepage = 'https://manta.network'
license = 'GPL-3.0'
name = "pallet-parachain-staking"
repository = 'https://github.com/Manta-Network/Manta/'
version = '4.0.3'
version = '4.0.4'

[dependencies]
log = { version = "0.4", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion pallets/tx-pause/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ homepage = 'https://manta.network'
license = 'GPL-3.0'
name = "pallet-tx-pause"
repository = 'https://github.com/Manta-Network/Manta/'
version = '4.0.3'
version = '4.0.4'

[dependencies]
codec = { package = "parity-scale-codec", version = '3.1.2', default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion pallets/vesting/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ homepage = 'https://manta.network'
license = 'GPL-3.0'
name = "calamari-vesting"
repository = 'https://github.com/Manta-Network/Manta/'
version = '4.0.3'
version = '4.0.4'

[dependencies]
codec = { package = "parity-scale-codec", version = '3.1.2', default-features = false, features = ["derive", "max-encoded-len"] }
Expand Down
2 changes: 1 addition & 1 deletion primitives/manta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ homepage = 'https://manta.network'
license = 'GPL-3.0'
name = "manta-primitives"
repository = 'https://github.com/Manta-Network/Manta/'
version = '4.0.3'
version = '4.0.4'

[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
Expand Down
2 changes: 1 addition & 1 deletion primitives/session-keys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = "Primitives for session keys"
edition = "2021"
license = "GPL-3.0"
name = "session-key-primitives"
version = '4.0.3'
version = '4.0.4'

[dependencies]
manta-primitives = { path = "../manta", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion runtime/calamari/Cargo.toml
Original file line number Diff line number Diff line change
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 = '4.0.3'
version = '4.0.4'

[dependencies]
codec = { package = "parity-scale-codec", version = '3.1.2', default-features = false, features = ["derive", "max-encoded-len"] }
Expand Down
2 changes: 1 addition & 1 deletion runtime/calamari/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("calamari"),
impl_name: create_runtime_str!("calamari"),
authoring_version: 2,
spec_version: 4030,
spec_version: 4040,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 11,
Expand Down
14 changes: 7 additions & 7 deletions runtime/calamari/src/weights/calamari_vesting.rs
Original file line number Diff line number Diff line change
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: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-03-16, 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 @@ -57,7 +57,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 {
(17_270_000 as Weight)
(18_307_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
Expand All @@ -67,7 +67,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 {
(38_267_000 as Weight)
(40_852_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
Expand All @@ -77,7 +77,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 {
(63_098_000 as Weight)
(68_033_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
Expand All @@ -88,7 +88,7 @@ impl WeightInfo for () {
// Storage: CalamariVesting VestingSchedule (r:1 w:1)
// Storage: Timestamp Now (r:1 w:0)
fn update_vesting_schedule() -> Weight {
(17_270_000 as Weight)
(18_307_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
Expand All @@ -98,7 +98,7 @@ impl WeightInfo for () {
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn vest() -> Weight {
(38_267_000 as Weight)
(40_852_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
Expand All @@ -108,7 +108,7 @@ impl WeightInfo for () {
// Storage: CalamariVesting VestingSchedule (r:1 w:0)
// Storage: Balances Locks (r:1 w:1)
fn vested_transfer() -> Weight {
(63_098_000 as Weight)
(68_033_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
Expand Down
10 changes: 5 additions & 5 deletions runtime/calamari/src/weights/cumulus_pallet_xcmp_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for cumulus_pallet_xcmp_queue
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-03-16, 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 @@ -55,13 +55,13 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for SubstrateWeight<T> {
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_u32() -> Weight {
(5_906_000 as Weight)
(5_592_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_weight() -> Weight {
(5_832_000 as Weight)
(5_574_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
Expand All @@ -71,13 +71,13 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for Substrat
impl WeightInfo for () {
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_u32() -> Weight {
(5_906_000 as Weight)
(5_592_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_weight() -> Weight {
(5_832_000 as Weight)
(5_574_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
Expand Down
Loading

0 comments on commit 50a1073

Please sign in to comment.