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

Pips docs #1781

Open
wants to merge 92 commits into
base: frame_v2_upgrade_part2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
c22fffe
Start updating pallet to new macros
HenriqueNogara Nov 14, 2024
c32e9b2
Update storage to new syntax
HenriqueNogara Dec 20, 2024
d419b6a
Update pips pallet to v2
HenriqueNogara Dec 30, 2024
cb16a36
Add type alias; Add missing test
HenriqueNogara Dec 31, 2024
bb91ee3
Merge branch 'develop' into MESH-/pips
HenriqueNogara Dec 31, 2024
709c3f7
Add missing feature
HenriqueNogara Dec 31, 2024
d815c49
Add missing storage version
HenriqueNogara Dec 31, 2024
1e6f5dd
Cleanup Base pallet Config and Event types.
Neopallium Dec 17, 2024
491af7b
Move with_transaction method to our primitives crate.
Neopallium Dec 17, 2024
a28cec6
Move permissions traits into it's pallet.
Neopallium Dec 17, 2024
d326925
Remove dead code.
Neopallium Dec 17, 2024
3c59a77
Move ChargeProtocolFee types to primitives.
Neopallium Dec 17, 2024
255e9c2
Move constants from polymesh-common-utilities to primitives.
Neopallium Dec 17, 2024
3e37437
Move MaybeBlock, ConstSize, GetExtra types to primitives.
Neopallium Dec 17, 2024
43aed59
Remove dead code.
Neopallium Dec 17, 2024
14dea94
Remove unused MultiSigSubTrait.
Neopallium Dec 17, 2024
08406b3
The identity pallet doesn't use the PortfolioSubTrait.
Neopallium Dec 17, 2024
99e3a1c
Remove unused ChargeTxFee trait.
Neopallium Dec 17, 2024
ae4037f
Move CddAndFeeDetails trait to primitives.
Neopallium Dec 17, 2024
c4ab9ab
Move GroupTrait trait and InactiveMember to primitives.
Neopallium Dec 17, 2024
26ded49
Remove extra dep.
Neopallium Dec 17, 2024
49257e1
Move TargetIdAuthorization, SecondaryKeyWithAuth, and CreateChildIden…
Neopallium Dec 17, 2024
82c7fdf
Move IdentityFnTrait trait to primitives.
Neopallium Dec 17, 2024
28ea748
Move WeightInfo, Config, Events and UserBuilder into the Identity pal…
Neopallium Dec 18, 2024
0b3677b
Move AssetFnTrait and asset bench helpers to primitives.
Neopallium Dec 18, 2024
4bbe12a
Move WeightInfo, Config, Events into ExternalAgent pallet.
Neopallium Dec 18, 2024
836246d
Move WeightInfo, Config, Event into relayer pallet.
Neopallium Dec 18, 2024
ac235ec
Move Context type to Identity pallet.
Neopallium Dec 18, 2024
d9e6e5f
Move more traits to primitives.
Neopallium Dec 18, 2024
fa763c3
Move WeightInfo into MultiSig pallet.
Neopallium Dec 18, 2024
f0f8446
Move WeightInfo, Config, Event into Group pallet.
Neopallium Dec 18, 2024
476ced1
Move WeightInfo, Config, Event into NFT pallet.
Neopallium Dec 18, 2024
839eda6
Move WeightInfo, Config, Event into Portfolio pallet.
Neopallium Dec 18, 2024
9c54915
Move WeightInfo, Config, Event into Statistics pallet.
Neopallium Dec 18, 2024
fcbc758
Move WeightInfo, Event into Settlement pallet.
Neopallium Dec 18, 2024
7799eb1
Move WeightInfo, Config, Event into Compliance Manager pallet.
Neopallium Dec 18, 2024
10d7a52
Remove unneeded deps.
Neopallium Dec 18, 2024
e1af7cc
Remove unused trait.
Neopallium Dec 18, 2024
d758fdb
Move CheckCdd trait to primitives.
Neopallium Dec 18, 2024
59587b5
Move WeightInfo, Config, Event, LockableCurrencyExt, AccountData into…
Neopallium Dec 18, 2024
81badab
Remove some unused deps.
Neopallium Dec 19, 2024
c1b3f3b
Move WeightInfo, Config, Event into Asset/Checkpoint pallet.
Neopallium Dec 19, 2024
dceb097
Remove polymesh-common-utilities.
Neopallium Dec 19, 2024
469b7c0
Bump polymesh-api deps.
Neopallium Dec 19, 2024
ad094a9
Remove unused feature 'default_identity'.
Neopallium Dec 19, 2024
451241b
Update 7.1 metadata.
Neopallium Dec 19, 2024
1cb3ae7
Bump anstream.
Neopallium Dec 19, 2024
eb1002c
Bump yarn deps.
Neopallium Dec 19, 2024
eb112ad
Update v7.1 testnet/mainnet metadata.
Neopallium Dec 19, 2024
629fe12
Remove bridge from readme
CsB-Polymesh Sep 20, 2024
eb72eac
Remove useless `Context` test.
Neopallium Dec 19, 2024
62a3971
Update metadata-tool to detect storage prefix changes.
Neopallium Jan 14, 2025
9fec267
Fix issue with missing assimilate_storage on Sudo GenesisConfig.
Neopallium Dec 19, 2024
1342fad
Use workspace deps.
Neopallium Dec 19, 2024
ad7b20c
Copy Sudo pallet code from Substrate monthly 2023-03.
Neopallium Dec 19, 2024
2b9f02e
cargo fmt Sudo code.
Neopallium Dec 19, 2024
cb0db54
Readd the MIN_WEIGHT support to Sudo.
Neopallium Dec 19, 2024
41a6afd
Update Relayer pallet.
Neopallium Dec 19, 2024
67af275
Updated ProtocolFee pallet.
Neopallium Dec 19, 2024
2eea8f9
Add missing Rust docs and other cleanup.
Neopallium Dec 20, 2024
fdf4757
Fixup Relayer
Neopallium Dec 20, 2024
4fba416
Fixup Protocol Fee pallet.
Neopallium Dec 20, 2024
82a0dcc
Update Sto pallet.
Neopallium Dec 19, 2024
7143c15
Add 'try-runtime' feature to all pallets.
Neopallium Dec 20, 2024
820a3b5
Update Base pallet.
Neopallium Dec 20, 2024
bd58e41
Update Bridge pallet.
Neopallium Dec 20, 2024
cc032b2
Update Permissions pallet.
Neopallium Dec 20, 2024
1328911
Update Treasury pallet.
Neopallium Dec 20, 2024
6fc7954
Upgrade Group pallet.
Neopallium Dec 20, 2024
afc2614
Use 'Pallet' instead of 'Module' for FRAME v1 pallets too.
Neopallium Dec 20, 2024
89e1745
Add Frame v2 migration helper.
Neopallium Jan 15, 2025
879d81f
Support loading chain spec with dev/testnet runtime.
Neopallium Jan 10, 2025
1de9718
Add v7.0 chain spec for ci-runtime.
Neopallium Jan 10, 2025
bb847e0
Update check_storage_version script for new Frame v2 version.
Neopallium Jan 15, 2025
3e2bfb4
Update External Agents pallet.
Neopallium Dec 20, 2024
e90d8be
Update Corporate Actions pallet.
Neopallium Dec 20, 2024
04646b1
Update Capital Distribution pallet.
Neopallium Dec 20, 2024
88481a7
Update Corporate Ballot pallet.
Neopallium Dec 20, 2024
fa1869d
Update Committee pallet.
Neopallium Dec 30, 2024
23299cb
Update PolymeshContracts pallet.
Neopallium Dec 30, 2024
45c7465
Update NFT pallet.
Neopallium Dec 30, 2024
4ecfd13
Updated Balances pallet.
Neopallium Dec 30, 2024
7bb4636
Update ComplianceManager pallet.
Neopallium Dec 30, 2024
9e5933c
Cargo fmt
Neopallium Jan 16, 2025
4253992
Update Asset pallet.
Neopallium Dec 30, 2024
7026d90
Update Checkpoint pallet.
Neopallium Dec 31, 2024
042d5aa
Update Statistics pallet.
Neopallium Dec 31, 2024
a658170
Update Portfolio pallet.
Neopallium Dec 31, 2024
5f0b751
Update Settlement pallet.
Neopallium Dec 31, 2024
a2c8e0f
Update Identity pallet.
Neopallium Dec 31, 2024
f0a9b06
Improve docs - part 1
HenriqueNogara Jan 6, 2025
cba7ce6
Improve extrinsic documentation
HenriqueNogara Jan 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
631 changes: 631 additions & 0 deletions .ci-chain-specs/v7.0.0.json

Large diffs are not rendered by default.

45 changes: 29 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,16 @@ jobs:
no_output_timeout: 30m
- save-sccache-cache
- run:
name: Create assets directory for releases
command: mkdir ./assets
name: Create assets directory for release files.
command: mkdir -p ./assets/ci-runtime
- run:
name: Copy binary to assets
command: cp ./target/release/polymesh ./assets/ci-runtime-polymesh
command: cp ./target/release/polymesh ./assets/ci-runtime/polymesh
- run:
name: Copy wasm to assets
command: cp ./target/release/wbuild/polymesh*/*wasm ./assets/ci-runtime/
- persist_to_workspace:
root: ./assets
root: ./assets/ci-runtime
paths:
- .
build-arm64:
Expand Down Expand Up @@ -426,7 +429,6 @@ jobs:
--package polymesh-runtime-tests
--package pallet-balances:0.1.0
--package asset-metadata
--features default_identity
no_output_timeout: 30m
- save-sccache-cache
coverage:
Expand All @@ -447,32 +449,43 @@ jobs:
rust-integration-test:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
resource_class: large
resource_class: xlarge
environment:
- VERBOSE: "1"
- RUSTFLAGS: -D warnings
steps:
- checkout
- attach_workspace:
at: ./target/release
at: ./assets/ci-runtime
- run:
name: run Polymesh ci-runtime dev chain node for integration tests
name: Start a Polymesh ci-runtime dev chain using the previous chain version.
command: >-
./target/release/ci-runtime-polymesh --bob --chain dev
--no-prometheus --no-telemetry --tmp
--wasm-execution compiled
./assets/ci-runtime/polymesh --bob \
--chain dev:.ci-chain-specs/v7.0.0.json \
--no-prometheus --no-telemetry --tmp \
--wasm-execution compiled \
--pool-limit 100000
background: true
- run:
name: Reset accounts db
command: ./reset_db.sh
working_directory: ./integration
- run:
name: Run polymesh-api integration tests against the previous version.
command: cargo nextest run --locked
working_directory: ./integration
no_output_timeout: 30m
- run:
name: Upgrade chain to current version.
command: cargo run --locked --bin tools -- upgrade_chain ../assets/ci-runtime/polymesh_runtime_develop.compact.compressed.wasm
working_directory: ./integration
no_output_timeout: 30m
- run:
name: Clear polymesh-api to force re-compile (chain metadata might have changed).
command: cargo clean -p polymesh-api
working_directory: ./integration
- run:
name: Run polymesh-api integration tests.
name: Run polymesh-api integration tests against the upgraded chain.
command: cargo nextest run --locked
working_directory: ./integration
no_output_timeout: 30m
Expand All @@ -485,13 +498,13 @@ jobs:
steps:
- checkout
- attach_workspace:
at: ./target/release
at: ./assets/ci-runtime
- run:
name: run Polymesh ci-runtime dev chain node for integration tests
command: >-
./target/release/ci-runtime-polymesh --bob --chain dev
--no-prometheus --no-telemetry --tmp
--wasm-execution compiled
./assets/ci-runtime/polymesh --bob --chain dev \
--no-prometheus --no-telemetry --tmp \
--wasm-execution compiled \
--pool-limit 100000
background: true
- run:
Expand Down
Binary file modified .metadata/polymesh_dev/7001000.meta
Binary file not shown.
Binary file modified .metadata/polymesh_mainnet/7001000.meta
Binary file not shown.
Binary file modified .metadata/polymesh_testnet/7001000.meta
Binary file not shown.
Loading