Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
f3e704c
Update Rust.
Neopallium Oct 8, 2025
353bf7f
Move DART pallet to Polymesh Public and rename.
Neopallium Oct 8, 2025
76dc667
Add Confidential Assets to the develop runtime.
Neopallium Oct 8, 2025
a2202c6
Cargo fmt
Neopallium Oct 8, 2025
3176b51
Fix Rust integration tests.
Neopallium Oct 8, 2025
d7ef750
Fix previous release integration test run.
Neopallium Oct 8, 2025
2f08b1a
Increase resource class.
Neopallium Oct 8, 2025
dffd845
Revert 2xlarge change.
Neopallium Oct 8, 2025
81a9d45
Use release build for Rust integration tests.
Neopallium Oct 9, 2025
0e5b337
Try fixing Rust test build.
Neopallium Oct 9, 2025
d606658
Enable debugging.
Neopallium Oct 9, 2025
634fa36
Make sure the client gets the correct curve tree path.
Neopallium Oct 10, 2025
cdeced4
Asset 1 should have an auditor.
Neopallium Oct 10, 2025
ee8ab3d
Fix issue with release features.
Neopallium Oct 10, 2025
043ada3
Fix re-compile with current release.
Neopallium Oct 10, 2025
c7792a7
Wait for tx to finalize.
Neopallium Oct 10, 2025
21b17ee
Faster ci benchmark run.
Neopallium Oct 10, 2025
011da15
Allow creating a batch with the thread pool disabled.
Neopallium Oct 13, 2025
b1272b7
Improve Asset creation.
Neopallium Oct 13, 2025
5e084ec
Update deps.
Neopallium Oct 13, 2025
dc794e7
FIXUP: Improve Asset creation.
Neopallium Oct 13, 2025
4889504
Use cache for generating proofs.
Neopallium Oct 13, 2025
b333ace
Update weights.
Neopallium Oct 14, 2025
5705275
Require at least one auditor/mediator.
Neopallium Oct 14, 2025
3763a56
Update deps.
Neopallium Oct 15, 2025
693280f
Always use the batch for proof verification.
Neopallium Oct 15, 2025
a806a0f
Add FeeAccount proof support to host functions.
Neopallium Oct 16, 2025
97bfa34
Update to arkworks 0.5+
Neopallium Oct 16, 2025
926efea
Update weights for arkworks 0.5+
Neopallium Oct 16, 2025
098ec16
Update Rust integration tests.
Neopallium Oct 16, 2025
1b9b438
Benchmark 0 leg settlements for better weight.
Neopallium Oct 16, 2025
29c92c0
Only use hashes as settlement ref.
Neopallium Oct 17, 2025
3cb675b
Add private fee payment support.
Neopallium Oct 17, 2025
a450195
Update dart deps.
Neopallium Oct 17, 2025
f31ce48
Improve confidential asset tests.
Neopallium Oct 20, 2025
6659214
Move logic into base_* methods.
Neopallium Oct 20, 2025
483ebb4
Implement batched proof submition with/without private fee payment.
Neopallium Oct 20, 2025
db1cef2
Add benchmarks for Fee payment.
Neopallium Oct 21, 2025
a32551c
cargo fmt
Neopallium Oct 21, 2025
291f046
FIXUP
Neopallium Oct 21, 2025
0170127
Cargo fmt integration tests.
Neopallium Oct 21, 2025
31b2e4b
Add Relayer support to integration tests.
Neopallium Oct 24, 2025
7fd49dc
Add support for asset/account curve tree leaf paths in cli tool.
Neopallium Oct 24, 2025
05bbae7
Update dart to fix invalid curve tree path issue.
Neopallium Oct 24, 2025
5bb2051
Fix default features.
Neopallium Oct 24, 2025
0bdfb67
Update weights.
Neopallium Oct 27, 2025
6343688
Use batched_verify for fee account topup and settlement proof.
Neopallium Oct 27, 2025
b1d64fc
Add support for auditors/mediators to register just an encryption key.
Neopallium Oct 28, 2025
56bc04f
Use encryption key registration for auditor/mediator.
Neopallium Oct 28, 2025
73e8664
FIXUP: Rust integration test compile.
Neopallium Oct 29, 2025
7e543f5
Update dart deps.
Neopallium Nov 7, 2025
e3b46db
Update DART. Fix double key registration.
Neopallium Nov 12, 2025
d0a5535
Use improved settlement builder API.
Neopallium Nov 12, 2025
f6766e6
Add reverse mappings from identity to assets and accounts.
Neopallium Nov 12, 2025
b389e22
Add Instant settlement support.
Neopallium Nov 24, 2025
93aaf9e
Add integration tests for Instant settlements.
Neopallium Nov 24, 2025
49ace91
Add Instant settlement proofs to BatchedProof.
Neopallium Nov 25, 2025
98aa40f
Add ERC-20 metadata.
Neopallium Nov 30, 2025
c05f231
Update dart deps.
Neopallium Dec 1, 2025
e05461f
Use better order of paramters in create_asset.
Neopallium Dec 1, 2025
c5e3556
Use dart-v0 deps.
Neopallium Dec 8, 2025
5b68f1e
Prune settlement data when finalized. Allow sender to revert pending…
Neopallium Dec 11, 2025
d7d170c
Add Devnet chain spec.
Neopallium Dec 12, 2025
46f4214
Add more Confidential asset tests.
Neopallium Dec 12, 2025
8afbb7a
Only use wait_finalized in CI pipeline.
Neopallium Dec 12, 2025
7cd6ddf
Update dart deps.
Neopallium Feb 4, 2026
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
36 changes: 19 additions & 17 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ commands:
jobs:
lint:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-02-01
resource_class: small
environment:
VERBOSE: "1"
Expand All @@ -53,7 +53,7 @@ jobs:
command: ./scripts/check_spec_and_cargo_version.sh
check-storage-version:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-02-01
resource_class: small
environment:
VERBOSE: "1"
Expand All @@ -64,7 +64,7 @@ jobs:
command: ./scripts/check_storage_versions.sh
build:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-02-01
resource_class: xlarge
environment:
- VERBOSE: "1"
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
- save-sccache-cache
build-ci:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-02-01
resource_class: xlarge
environment:
- VERBOSE: "1"
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
- .
build-arm64:
docker:
- image: polymeshassociation/rust-arm64:debian-nightly-2024-11-14
- image: polymeshassociation/rust-arm64:debian-nightly-2025-02-01
resource_class: arm.xlarge
environment:
- VERBOSE: "1"
Expand All @@ -151,7 +151,7 @@ jobs:
- save-sccache-cache
benchmark-build:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-02-01
resource_class: xlarge
environment:
- VERBOSE: "1"
Expand Down Expand Up @@ -273,7 +273,7 @@ jobs:

metadata-tools-build:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-02-01
resource_class: small
steps:
- checkout
Expand Down Expand Up @@ -374,7 +374,7 @@ jobs:
benchmark:
docker:
- image: debian:stable
resource_class: small
resource_class: large
environment:
- VERBOSE: "1"
steps:
Expand All @@ -386,7 +386,7 @@ jobs:
no_output_timeout: 30m
migration-tests:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-02-01
resource_class: large
environment:
- VERBOSE: "1"
Expand All @@ -403,7 +403,7 @@ jobs:
- save-sccache-cache
test:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-02-01
resource_class: large
environment:
- VERBOSE: "1"
Expand Down Expand Up @@ -433,7 +433,7 @@ jobs:
- save-sccache-cache
coverage:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-02-01
resource_class: xlarge
environment:
- VERBOSE: "1"
Expand All @@ -448,11 +448,13 @@ jobs:
- save-sccache-cache
rust-integration-test:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-02-01
resource_class: xlarge
environment:
- VERBOSE: "1"
- RUSTFLAGS: -D warnings
- RUST_BACKTRACE: "1"
- WAIT_FOR_FINALIZE: "1"
steps:
- checkout
- attach_workspace:
Expand All @@ -472,21 +474,21 @@ jobs:
working_directory: ./integration
- run:
name: Run polymesh-api integration tests against the previous version.
command: cargo nextest run --features previous_release --locked
command: cargo nextest run --release --features previous_release --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
command: cargo run --release --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
command: cargo clean -p polymesh-api && cargo clean --release -p polymesh-api
working_directory: ./integration
- run:
name: Run polymesh-api integration tests against the upgraded chain.
command: cargo nextest run --features current_release --locked
command: cargo nextest run --release --features current_release --locked
working_directory: ./integration
no_output_timeout: 30m
integration-test:
Expand Down Expand Up @@ -519,7 +521,7 @@ jobs:
no_output_timeout: 10m
clippy:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-02-01
resource_class: xlarge
environment:
- VERBOSE: "1"
Expand Down
56 changes: 56 additions & 0 deletions .maintain/crate-weight-template.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
// This file is part of the Polymesh distribution (https://github.com/PolymeshAssociation/Polymesh).
// Copyright (c) 2023 Polymesh

//! Autogenerated weights for {{pallet}}
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION {{version}}
//! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: {{cmd.repeat}}, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}`
//! EXECUTION: {{cmd.execution}}, WASM-EXECUTION: {{cmd.wasm_execution}}, CHAIN: {{cmd.chain}}, DB CACHE: {{cmd.db_cache}}
//! HOSTNAME: `{{hostname}}`, CPU: `{{cpuname}}`

// Executed Command:
{{#each args as |arg|~}}
// {{arg}}
{{/each}}

#![allow(unused_parens)]
#![allow(unused_imports)]

use polymesh_primitives::{RocksDbWeight as DbWeight, Weight};

/// Weights for {{pallet}} using the Substrate node and recommended hardware.
pub struct SubstrateWeight;
impl crate::WeightInfo for SubstrateWeight {
{{#each benchmarks as |benchmark|}}
{{#each benchmark.comments as |comment|}}
// {{comment}}
{{/each}}
{{#each benchmark.component_ranges as |range|}}
/// The range of component `{{range.name}}` is `[{{range.min}}, {{range.max}}]`.
{{/each}}
fn {{benchmark.name~}}
(
{{~#each benchmark.components as |c| ~}}
{{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}}
) -> Weight {
// Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds.
Weight::from_ref_time({{underscore benchmark.base_weight}})
{{#each benchmark.component_weight as |cw|}}
// Standard Error: {{underscore cw.error}}
.saturating_add(Weight::from_ref_time({{underscore cw.slope}}).saturating_mul({{cw.name}}.into()))
{{/each}}
{{#if (ne benchmark.base_reads "0")}}
.saturating_add(DbWeight::get().reads({{benchmark.base_reads}}))
{{/if}}
{{#each benchmark.component_reads as |cr|}}
.saturating_add(DbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into())))
{{/each}}
{{#if (ne benchmark.base_writes "0")}}
.saturating_add(DbWeight::get().writes({{benchmark.base_writes}}))
{{/if}}
{{#each benchmark.component_writes as |cw|}}
.saturating_add(DbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into())))
{{/each}}
}
{{/each}}
}
18 changes: 2 additions & 16 deletions .maintain/frame-weight-template.hbs
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
// This file is part of Substrate.

// Copyright (C) 2021 Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: Apache-2.0

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This file is part of the Polymesh distribution (https://github.com/PolymeshAssociation/Polymesh).
// Copyright (c) 2023 Polymesh

//! Autogenerated weights for {{pallet}}
//!
Expand Down
Loading