Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
17b7236
Refactor our changes out of the core Staking code. (#1802)
Neopallium May 5, 2025
52aa104
Staking split (#1813)
Neopallium May 20, 2025
bba829b
Update balance pallet (#1833)
HenriqueNogara Jun 19, 2025
a244b19
Update substrate stable2503 7 (#1845)
HenriqueNogara Dec 7, 2025
c292f91
Update to Substrate stable2512 (#1857)
Neopallium Dec 9, 2025
12c989e
Fix validators migration (#1858)
Neopallium Dec 10, 2025
f9f66b5
Fix tx_payment `TransactionExtensions`; Use `call_weight` instead of …
HenriqueNogara Jan 2, 2026
b55c0f5
Refactor transaction payment (#1864)
Neopallium Jan 9, 2026
59a2b84
Polymesh v8 next features (#1861)
Neopallium Feb 10, 2026
0a0d64d
Replace randomness with BABE randomness (#1878)
tgntr Feb 10, 2026
a2804e9
Remove ticker DIDs from storage (#1880)
tgntr Feb 10, 2026
2581ee4
Add Revive/EVM support.
Neopallium Jan 9, 2026
cf53235
Add ETH RPC gateway.
Neopallium Jan 9, 2026
3e57c00
Use the correct extrinsic base weight for WeightToFee.
Neopallium Jan 10, 2026
545728e
Enable RUST_BACKTRACE=1 in the Rust integration tests.
Neopallium Jan 13, 2026
9ac76ca
Update Cargo.lock.
Neopallium Jan 14, 2026
cc4a8b6
Downgrade Rust compiler for Revive benchmarks.
Neopallium Jan 14, 2026
19f6a56
Update transaction fees for Revive's WeightToFee impl.
Neopallium Jan 14, 2026
08b42d8
Install solc and resolc to build Revive benchmarks.
Neopallium Jan 14, 2026
617c85b
Add ExistentialDeposit to fix Revive contract upload/deploy.
Neopallium Jan 15, 2026
96225ec
Add example to call System.RemarkWithEvent in an Eth transaction.
Neopallium Jan 20, 2026
b7a6d83
Change back to our ExistentialDeposit of zero.
Neopallium Feb 10, 2026
9426d02
init
tgntr Feb 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
74 changes: 55 additions & 19 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
version: 2.1
commands:
get-solc:
steps:
- run:
name: Get solc
command: |
SOLC_VERSION="0.8.33"
ASSET_URL="https://github.com/argotorg/solidity/releases/download/v${SOLC_VERSION}/solc-static-linux"
echo "Downloading solc version ${SOLC_VERSION} from ${ASSET_URL}"
curl -sSL --output /usr/local/bin/solc ${ASSET_URL}
chmod +x /usr/local/bin/solc
get-resolc:
steps:
- run:
name: Get resolc
command: |
RESOLC_VERSION="0.6.0"
ASSET_URL="https://github.com/paritytech/revive/releases/download/v${RESOLC_VERSION}/resolc-x86_64-unknown-linux-musl"
echo "Downloading resolc version ${RESOLC_VERSION} from ${ASSET_URL}"
curl -sSL --output /usr/local/bin/resolc ${ASSET_URL}
chmod +x /usr/local/bin/resolc
setup-sccache:
steps:
- run:
Expand Down Expand Up @@ -39,7 +59,7 @@ commands:
jobs:
lint:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-08-01
resource_class: small
environment:
VERBOSE: "1"
Expand All @@ -53,7 +73,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-08-01
resource_class: small
environment:
VERBOSE: "1"
Expand All @@ -64,7 +84,7 @@ jobs:
command: ./scripts/check_storage_versions.sh
build:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-08-01
resource_class: xlarge
environment:
- VERBOSE: "1"
Expand Down Expand Up @@ -95,7 +115,7 @@ jobs:
- save-sccache-cache
build-ci:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-08-01
resource_class: xlarge
environment:
- VERBOSE: "1"
Expand Down Expand Up @@ -124,7 +144,7 @@ jobs:
- .
build-arm64:
docker:
- image: polymeshassociation/rust-arm64:debian-nightly-2024-11-14
- image: polymeshassociation/rust-arm64:debian-nightly-2025-08-01
resource_class: arm.xlarge
environment:
- VERBOSE: "1"
Expand All @@ -151,7 +171,7 @@ jobs:
- save-sccache-cache
benchmark-build:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-08-01
resource_class: xlarge
environment:
- VERBOSE: "1"
Expand All @@ -161,6 +181,8 @@ jobs:
- checkout
- setup-sccache
- restore-sccache-cache
- get-solc
- get-resolc
- run:
name: Build binary with runtime-benchmarks
command: cargo build --locked --release --features=runtime-benchmarks,running-ci
Expand Down Expand Up @@ -215,7 +237,7 @@ jobs:
description: "Which profile to use with cargo build."
build_opts:
type: string
default: " "
default: " --features on-chain-release-build "
description: "Additional options to pass to cargo build."
parachain_pallet_id:
type: string
Expand Down Expand Up @@ -266,14 +288,18 @@ jobs:
cp $(echo $JSON | jq -r .runtimes.compressed.wasm) ./assets/polymesh_runtime_<<parameters.chain>>.compact.compressed.wasm
echo "========================================="
}
- store_artifacts:
path: ./assets/<<parameters.chain>>-srtool-digest.json
- store_artifacts:
path: ./assets/polymesh_runtime_<<parameters.chain>>.compact.compressed.wasm
- persist_to_workspace:
root: ./assets
paths:
- .

metadata-tools-build:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-08-01
resource_class: small
steps:
- checkout
Expand Down Expand Up @@ -301,7 +327,7 @@ jobs:
- run:
name: Start Polymesh dev chain
command: >-
./assets/polymesh --chain dev \
./assets/polymesh --dev \
--no-prometheus --no-telemetry --tmp \
--wasm-execution compiled \
--pool-limit 100000
Expand Down Expand Up @@ -386,7 +412,7 @@ jobs:
no_output_timeout: 30m
migration-tests:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-08-01
resource_class: large
environment:
- VERBOSE: "1"
Expand All @@ -403,7 +429,7 @@ jobs:
- save-sccache-cache
test:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-08-01
resource_class: large
environment:
- VERBOSE: "1"
Expand All @@ -419,21 +445,19 @@ jobs:
name: Tests
command: >-
cargo test
--package pallet-staking
--package pallet-validators
--package pallet-group
--package pallet-sudo
--package pallet-pips
--package polymesh-primitives
--package node-rpc-runtime-api
--package pallet-transaction-payment
--package polymesh-runtime-tests
--package pallet-balances:0.1.0
--package asset-metadata
no_output_timeout: 30m
- save-sccache-cache
coverage:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-08-01
resource_class: xlarge
environment:
- VERBOSE: "1"
Expand All @@ -448,11 +472,12 @@ jobs:
- save-sccache-cache
rust-integration-test:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-08-01
resource_class: xlarge
environment:
- VERBOSE: "1"
- RUSTFLAGS: -D warnings
- RUST_BACKTRACE: "1"
steps:
- checkout
- attach_workspace:
Expand All @@ -461,7 +486,8 @@ jobs:
name: Start a Polymesh ci-runtime dev chain using the previous chain version.
command: >-
./assets/ci-runtime/polymesh --bob \
--chain dev:.ci-chain-specs/v7.0.0.json \
--chain .ci-chain-specs/v7.0.0.json \
--unsafe-force-node-key-generation \
--no-prometheus --no-telemetry --tmp \
--wasm-execution compiled \
--pool-limit 100000
Expand Down Expand Up @@ -502,7 +528,7 @@ jobs:
- run:
name: run Polymesh ci-runtime dev chain node for integration tests
command: >-
./assets/ci-runtime/polymesh --bob --chain dev \
./assets/ci-runtime/polymesh --bob --dev \
--no-prometheus --no-telemetry --tmp \
--wasm-execution compiled \
--pool-limit 100000
Expand All @@ -519,7 +545,7 @@ jobs:
no_output_timeout: 10m
clippy:
docker:
- image: polymeshassociation/rust:debian-nightly-2024-11-14
- image: polymeshassociation/rust:debian-nightly-2025-08-01
resource_class: xlarge
environment:
- VERBOSE: "1"
Expand Down Expand Up @@ -805,6 +831,7 @@ workflows:
- testnet
- staging
- develop
- develop_v8
- build-docker-amd64-distroless:
requires:
- build
Expand All @@ -815,13 +842,15 @@ workflows:
- testnet
- staging
- develop
- develop_v8
- build-docker-ci-runtime:
requires:
- build-ci
filters:
branches:
only:
- develop
- develop_v8
- build-docker-arm64-debian:
requires:
- build-arm64
Expand All @@ -832,6 +861,7 @@ workflows:
- testnet
- staging
- develop
- develop_v8
- build-docker-arm64-distroless:
requires:
- build-arm64
Expand All @@ -842,6 +872,7 @@ workflows:
- testnet
- staging
- develop
- develop_v8
- build-docker-debian:
requires:
- build-docker-amd64-debian
Expand All @@ -853,6 +884,7 @@ workflows:
- testnet
- staging
- develop
- develop_v8
- build-docker-distroless:
requires:
- build-docker-amd64-distroless
Expand All @@ -864,6 +896,7 @@ workflows:
- testnet
- staging
- develop
- develop_v8
- publish-github-release:
requires:
- build
Expand All @@ -884,6 +917,7 @@ workflows:
- mainnet
- testnet
- staging
- develop_v8
chain: testnet
package: polymesh-runtime-testnet
runtime_dir: pallets/runtime/testnet
Expand All @@ -896,6 +930,7 @@ workflows:
- mainnet
- testnet
- staging
- develop_v8
chain: mainnet
package: polymesh-runtime-mainnet
runtime_dir: pallets/runtime/mainnet
Expand All @@ -906,6 +941,7 @@ workflows:
branches:
only:
- develop
- develop_v8
chain: develop
package: polymesh-runtime-develop
runtime_dir: pallets/runtime/develop
Expand Down
10 changes: 9 additions & 1 deletion .docker/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ RUN ls -a && \

FROM debian:stable-slim

# install tools and dependencies
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends ca-certificates && \
apt-get autoremove -y && \
apt-get clean && \
find /var/lib/apt/lists/ -type f -not -name lock -delete

COPY --chown=4002:4002 --from=gobuild /opt/health-check/polymesh-health-check /usr/local/bin/check
COPY --chown=4002:4002 --from=gobuild /opt/rotate-keys/polymesh-rotate-keys /usr/local/bin/rotate
COPY --chown=4001:4001 ./polymesh /usr/local/bin/polymesh
Expand All @@ -33,4 +41,4 @@ HEALTHCHECK \
--start-period=120s \
--timeout=5s \
--retries=6 \
CMD /usr/local/bin/check liveness
CMD /usr/local/bin/check liveness
8 changes: 8 additions & 0 deletions .docker/arm64/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ RUN ls -a && \

FROM debian:stable-slim

# install tools and dependencies
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends ca-certificates && \
apt-get autoremove -y && \
apt-get clean && \
find /var/lib/apt/lists/ -type f -not -name lock -delete

COPY --chown=4002:4002 --from=gobuild /opt/health-check/polymesh-health-check /usr/local/bin/check
COPY --chown=4002:4002 --from=gobuild /opt/rotate-keys/polymesh-rotate-keys /usr/local/bin/rotate
COPY --chown=4001:4001 ./polymesh-arm64 /usr/local/bin/polymesh
Expand Down
4 changes: 2 additions & 2 deletions .maintain/frame-weight-template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ impl {{pallet}}::WeightInfo for SubstrateWeight {
{{~#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}})
Weight::from_parts({{underscore benchmark.base_weight}}, 0)
{{#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()))
.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}}))
Expand Down
Loading