Skip to content

Commit

Permalink
Release v4.6.0 (#1277)
Browse files Browse the repository at this point in the history
* Bump version

Signed-off-by: Dengjianping <djptux@gmail.com>

* [no ci]Fix calamari runtime benchmark

Signed-off-by: Dengjianping <djptux@gmail.com>

* Update weights, and enable benchmarking pallet-xcm for manta

Signed-off-by: Dengjianping <djptux@gmail.com>

* Update manta weights

Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>

* Fix weight compilation

Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>

---------

Signed-off-by: Dengjianping <djptux@gmail.com>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Co-authored-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
  • Loading branch information
Dengjianping and ghzlatarev committed Dec 22, 2023
1 parent fb44b16 commit 5c2d416
Show file tree
Hide file tree
Showing 80 changed files with 3,406 additions and 3,330 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/run_all_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,13 @@ jobs:
cd ${{ github.workspace }}/tests
yarn install
yarn
node append_storage.js
if [[ $CHAIN_SPEC == calamari* ]];then
echo insert mantapay and mantasbt storage into calamari chain spec
node append_storage.js calamari
else
echo insert mantasbt storage into manta chain spec
node append_storage.js
fi
CHAIN_SPEC=${{ github.workspace }}/tests/data/fork.json
echo $CHAIN_SPEC
- name: stop sccache server
Expand Down
42 changes: 21 additions & 21 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ homepage = 'https://manta.network'
license = 'GPL-3.0'
name = 'manta'
repository = 'https://github.com/Manta-Network/Manta/'
rust-version = '1.62'
version = '4.5.0'
rust-version = '1.71'
version = '4.6.0'

[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.5.0'
version = '4.6.0'

[dependencies]
codec = { package = "parity-scale-codec", version = "3.4.0", 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.5.0'
version = '4.6.0'

[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
Expand Down
2 changes: 1 addition & 1 deletion pallets/farming/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-farming"
repository = 'https://github.com/Manta-Network/Manta/'
version = "4.5.0"
version = "4.6.0"

[dependencies]
codec = { package = "parity-scale-codec", version = "3.4.0", default-features = false, features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion pallets/farming/rpc/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-farming-rpc-api"
repository = 'https://github.com/Manta-Network/Manta/'
version = "4.5.0"
version = "4.6.0"

[dependencies]
codec = { package = "parity-scale-codec", version = "3.4.0", default-features = false, features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion pallets/farming/rpc/runtime-api/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-farming-rpc-runtime-api"
repository = 'https://github.com/Manta-Network/Manta/'
version = "4.5.0"
version = "4.6.0"

[dependencies]
codec = { package = "parity-scale-codec", version = "3.4.0", default-features = false, features = ["derive"] }
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.5.0'
version = '4.6.0'

[package.metadata.docs.rs]
# To build locally:
Expand Down
2 changes: 1 addition & 1 deletion pallets/manta-sbt/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-sbt'
readme = 'README.md'
repository = 'https://github.com/Manta-Network/Manta/'
version = '4.5.0'
version = '4.6.0'

[[bin]]
name = "precompute_coins"
Expand Down
2 changes: 1 addition & 1 deletion pallets/manta-support/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-support'
readme = 'README.md'
repository = 'https://github.com/Manta-Network/Manta/'
version = '4.5.0'
version = '4.6.0'

[dependencies]
# utils
Expand Down
2 changes: 1 addition & 1 deletion pallets/name-service/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-name-service"
repository = "https://github.com/Manta-Network/Manta/"
version = "4.5.0"
version = "4.6.0"

[dependencies]
codec = { package = "parity-scale-codec", version = '3.4.0', default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion pallets/pallet-lottery/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-lottery'
repository = 'https://github.com/Manta-Network/Manta/'
version = '4.5.0'
version = '4.6.0'

[dependencies]
codec = { version = '3.4.0', default-features = false, features = ['derive'], package = 'parity-scale-codec' }
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.5.0'
version = '4.6.0'

[dependencies]
log = { version = "0.4", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion pallets/randomness/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-randomness'
repository = 'https://github.com/Manta-Network/Manta/'
version = '4.5.0'
version = '4.6.0'

[dependencies]
frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.43", default-features = false, optional = true }
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.5.0'
version = '4.6.0'

[dependencies]
codec = { package = "parity-scale-codec", version = '3.4.0', 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.5.0'
version = '4.6.0'

[dependencies]
codec = { package = "parity-scale-codec", version = '3.4.0', 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.5.0'
version = '4.6.0'

[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.5.0'
version = '4.6.0'

[dependencies]
async-trait = { version = "0.1", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion runtime/calamari/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 = 'calamari-runtime'
repository = 'https://github.com/Manta-Network/Manta/'
version = '4.5.0'
version = '4.6.0'

[dependencies]
codec = { package = "parity-scale-codec", version = '3.4.0', default-features = false, features = ["derive", "max-encoded-len"] }
Expand Down
4 changes: 2 additions & 2 deletions runtime/calamari/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("calamari"),
impl_name: create_runtime_str!("calamari"),
authoring_version: 2,
spec_version: 4500,
spec_version: 4600,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 17,
transaction_version: 18,
state_version: 0,
};

Expand Down
Loading

0 comments on commit 5c2d416

Please sign in to comment.