Skip to content

Commit

Permalink
Add asset metadata to genesis. (#25)
Browse files Browse the repository at this point in the history
* Add asset metadata to genesis.

* cargo fmt

* Update staking changes.

* Fix genesis for tests.

* Update integration test deps.

* Use newer rust.

* Fix integration tests.

* Fix import.

* Fix tests.

* Bump node/spec version.

* Update polymesh-api

* Update polymesh-api-tester.

* Use Polymesh v6.3.0

* Port runtime changes for v6.3.0

* Add missing import.
  • Loading branch information
Neopallium authored May 15, 2024
1 parent 5abb07a commit 361f3ee
Show file tree
Hide file tree
Showing 15 changed files with 1,804 additions and 835 deletions.
95 changes: 46 additions & 49 deletions Cargo.lock

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polymesh-private"
version = "1.0.2"
version = "1.0.3"
authors = ["PolymeshAssociation"]
build = "build.rs"
edition = "2021"
Expand Down Expand Up @@ -121,55 +121,55 @@ exclude = [
## Keep common dependencies here.
[workspace.dependencies]
# Our pallets
pallet-asset = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-balances = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-base = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-bridge = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-committee = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-compliance-manager = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-asset = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-balances = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-base = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-bridge = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-committee = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-compliance-manager = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-confidential-asset = { path = "pallets/confidential-asset/", default-features = false }
polymesh-host-functions = { path = "host-functions/", default-features = false }
pallet-corporate-actions = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-external-agents = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-group = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-identity = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-multisig = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-nft = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-permissions = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-pips = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-portfolio = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-protocol-fee = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-relayer = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-sto = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-settlement = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-staking = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-statistics = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-test-utils = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-transaction-payment = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-treasury = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-utility = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-sudo = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
polymesh-contracts = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-corporate-actions = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-external-agents = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-group = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-identity = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-multisig = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-nft = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-permissions = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-pips = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-portfolio = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-protocol-fee = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-relayer = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-sto = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-settlement = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-staking = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-statistics = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-test-utils = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-transaction-payment = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-treasury = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-utility = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-sudo = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
polymesh-contracts = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }

# Common
polymesh-common-utilities = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
polymesh-common-utilities = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
polymesh-runtime-common = { path = "runtime/common/", default-features = false }
polymesh-primitives = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
polymesh-primitives = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
polymesh-weights = { path = "pallets/weights/", default-features = false }
polymesh-extensions = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
polymesh-extensions = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }

# RPC
node-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
node-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-group-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-group-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-protocol-fee-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-protocol-fee-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
pallet-staking-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
polymesh-node-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
node-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
node-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-group-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-group-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-protocol-fee-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-protocol-fee-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
pallet-staking-rpc-runtime-api = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }
polymesh-node-rpc = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }

# Build tool
polymesh-build-tool = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.2.0", default-features = false }
polymesh-build-tool = { git = "https://github.com/PolymeshAssociation/Polymesh.git", tag = "v6.3.0", default-features = false }

# Substrate
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
Expand Down
Loading

0 comments on commit 361f3ee

Please sign in to comment.