Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
39e3370
DART v0 Confidential assets
Neopallium Oct 8, 2025
8165877
Update to newer Substrate support.
Neopallium Mar 6, 2026
7165d38
Update DART deps.
Neopallium Mar 9, 2026
abdee4d
Fix genesis build.
Neopallium Mar 9, 2026
40175e4
Newer Substrate uses wasm runtime to build genesis config and needs m…
Neopallium Mar 9, 2026
d6947e1
Update benchmark template.
Neopallium Mar 19, 2026
ef6370e
Fix create settlement replay issue.
Neopallium Mar 19, 2026
6b7a68e
Update integration tests for newer Confidential Asset APIs.
Neopallium Mar 25, 2026
29afb5d
Fix incorrect 'UUID_LEN' references, since uuids are 16 bytes.
Neopallium Apr 4, 2026
98ebb47
Add upgradable host-functions with polkavm/native backends.
Neopallium Apr 3, 2026
73bae7c
Substrate host MSM support.
Neopallium Apr 7, 2026
97642f7
Cleanup dart-v0 build.
Neopallium Apr 14, 2026
66a6f91
Refactor backend interface to support module context saving.
Neopallium Apr 14, 2026
ea3c1c7
Remove old host functions.
Neopallium Apr 21, 2026
ce2236d
Rename Batch -> Session.
Neopallium Apr 21, 2026
e13ec6c
Use session ids in work requests.
Neopallium Apr 21, 2026
24a8569
Bump heap, scratch and stack sizes.
Neopallium Apr 22, 2026
709e68b
Disable LLVM support in wasmer.
Neopallium Apr 22, 2026
c5f8068
Replace unwrap and expect with errors.
Neopallium Apr 22, 2026
02b7ce3
Add testing builds of the polkavm/wasm modules for benchmarks.
Neopallium Apr 22, 2026
aae548d
Use env POLYMESH_WORKER_BACKENDS to control backends.
Neopallium Apr 22, 2026
bcfcfa3
Keep module reference in session object.
Neopallium Apr 22, 2026
0868742
Add async session_execute/session_get_result calls.
Neopallium Apr 22, 2026
6799c2e
Use host MSM from runtime.
Neopallium Apr 22, 2026
20104c8
Add work caching support.
Neopallium Apr 22, 2026
7167eff
Add thread pool support.
Neopallium Apr 22, 2026
418a561
Update CA weights.
Neopallium Apr 23, 2026
63e58b9
Tune building of wasm/polkavm modules.
Neopallium Apr 23, 2026
6bafcf4
Refactor protocol module loading and caching.
Neopallium Apr 23, 2026
db8620c
Fix use_cache flag.
Neopallium Apr 23, 2026
1249d33
Add some worker benchmarks.
Neopallium Apr 24, 2026
8696662
More flexible protocol initialization.
Neopallium Apr 24, 2026
a29e275
Add support for parallel context generation.
Neopallium Apr 24, 2026
0916060
Load protocol context data from the first module instance.
Neopallium Apr 25, 2026
92bd674
Update polymesh-dart deps.
Neopallium Apr 26, 2026
5149283
Add pruning onf historical curve tree roots.
Neopallium May 1, 2026
b61d8b8
Fix curve tree growing.
Neopallium May 3, 2026
0c24e10
Update dart.
Neopallium May 3, 2026
fa225d4
Update test proofs in worker tester.
Neopallium May 4, 2026
426e7d2
Update proof type names. 'Reversal' -> 'Revert Affirmation'.
Neopallium May 6, 2026
bcf5833
Add receiver revert support.
Neopallium May 6, 2026
a89fbb6
Support settlement legs with revealed asset id.
Neopallium May 6, 2026
36dfb8f
Add support for verifying KeyDistribution proofs.
Neopallium May 6, 2026
19eae21
Update dart.
Neopallium May 6, 2026
e6eea44
Rename polymesh-native-msm to polymesh-native-crypto.
Neopallium May 7, 2026
ec69f31
Add panic guards for proof verification.
Neopallium May 7, 2026
e613b3e
Add host logger to support logging from worker modules.
Neopallium May 7, 2026
df7346e
Update dart.
Neopallium May 7, 2026
827eecc
cargo fmt
Neopallium May 7, 2026
7c2b836
Longer sleep time for metadata checker.
Neopallium May 8, 2026
f1ebf6b
Add polymesh-worker README.
Neopallium May 8, 2026
7cd10f1
Fix chain upgrade for Confidential asset curve trees.
Neopallium May 8, 2026
800dae2
Fix dev metadata checker.
Neopallium May 8, 2026
bf3743a
Remove old Devnet.
Neopallium May 8, 2026
74d6b6a
Cleanup old cached curve tree parameters.
Neopallium May 8, 2026
71dcc00
Rebuild dart modules.
Neopallium May 8, 2026
503da26
Fix review comments.
Neopallium May 8, 2026
989ffbd
Fix panicky code.
Neopallium May 8, 2026
4c564a4
Fix host function linking in wasmtime backend.
Neopallium May 8, 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
22 changes: 13 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -341,14 +341,14 @@ jobs:
- run:
name: Start Polymesh dev chain
command: >-
./assets/polymesh --dev \
./assets/polymesh --chain dev \
--no-prometheus --no-telemetry --tmp \
--wasm-execution compiled \
--pool-limit 100000
background: true
- run:
name: Wait for chain to start
command: sleep 30
command: sleep 40
- run:
name: Run metadata-tools check
command: |
Expand All @@ -375,7 +375,7 @@ jobs:
background: true
- run:
name: Wait for chain to start
command: sleep 30
command: sleep 40
- run:
name: Run metadata-tools check
command: |
Expand All @@ -402,7 +402,7 @@ jobs:
background: true
- run:
name: Wait for chain to start
command: sleep 30
command: sleep 40
- run:
name: Run metadata-tools check
command: |
Expand All @@ -414,7 +414,7 @@ jobs:
benchmark:
docker:
- image: debian:stable
resource_class: small
resource_class: large
environment:
- VERBOSE: "1"
steps:
Expand Down Expand Up @@ -492,6 +492,7 @@ jobs:
- VERBOSE: "1"
- RUSTFLAGS: -D warnings
- RUST_BACKTRACE: "1"
- WAIT_FOR_FINALIZE: "1"
steps:
- checkout
- attach_workspace:
Expand All @@ -512,21 +513,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 --no-default-features --features previous_release --locked
working_directory: ./integration
no_output_timeout: 30m
- run:
name: Upgrade chain to current version.
command: cargo run --features previous_release --locked --bin tools -- upgrade_chain ../assets/ci-runtime/polymesh_runtime_develop.compact.compressed.wasm
command: cargo run --no-default-features --features previous_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 All @@ -547,6 +548,9 @@ jobs:
--wasm-execution compiled \
--pool-limit 100000
background: true
- run:
name: Wait for chain build the genesis config and start producing blocks
command: sleep 15
- run:
name: install and build integration tests
command: yarn install && yarn build:types && yarn build
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_parts({{underscore benchmark.base_weight}}, 0)
{{#each benchmark.component_weight as |cw|}}
// Standard Error: {{underscore cw.error}}
.saturating_add(Weight::from_parts({{underscore cw.slope}}, 0).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