Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
65bedf2
fix: clippy warnings
Oct 7, 2025
f65c36e
update polkadot types
Oct 7, 2025
f8acb4a
fix update polkadot types
Oct 7, 2025
df7cfc6
ci: cargo fmt
Oct 7, 2025
2185139
set chainQL params in baedeker up.sh
Oct 6, 2025
e632c3d
set chainQL params for main-process-update workflow
Oct 6, 2025
267381b
up mainnet branch version for CI
Oct 8, 2025
48deb10
ci: deno lint
Oct 8, 2025
8416c5d
Revert "feat: set relay_parent_offset to 1"
Oct 8, 2025
fb347cc
fix: per-asset foreign-assets coeff
mrshiposha Oct 8, 2025
92bba0b
fix: benchmarks
mrshiposha Oct 8, 2025
a91a4cc
fix(foreign-assets): feature not(governance) manager origin
mrshiposha Oct 8, 2025
7dcd932
feat: add SupremeTrio, use for foreign assets mgmt
mrshiposha Oct 8, 2025
59db6dc
chore: fmt
mrshiposha Oct 8, 2025
ff77946
fix: add -lxcm=trace to all bdk nodes
mrshiposha Oct 8, 2025
467b9b3
build: benchmark weights
mrshiposha Oct 8, 2025
5bb2fe9
chore: calibrate weight coeffs
mrshiposha Oct 8, 2025
4b27213
enable clean docker artifacts for xcm wf
Oct 8, 2025
e609acb
fix CI
Oct 9, 2025
67d0896
fix CI
Oct 9, 2025
54c8f1e
Fix CI
Oct 9, 2025
9527582
fix CI
Oct 9, 2025
4210bfe
fix CI
Oct 9, 2025
0adb803
fix CI
Oct 9, 2025
d752edd
fix CI
Oct 9, 2025
bf33fd0
fix: bdk xcm jsonnet files
mrshiposha Oct 9, 2025
9a756de
fix CI
Oct 10, 2025
a9f100d
fix CI
Oct 10, 2025
933bfff
fix CI
Oct 10, 2025
7027fb7
fix CI
Oct 12, 2025
c987b82
fix CI
Oct 12, 2025
1ea7480
update spec version. increase confirmation time for eth tests.
Oct 13, 2025
75a63e5
change protocol for replicas_from
Oct 14, 2025
1c0246a
fix: properties limit tests
Oct 14, 2025
0c8abc1
fix CI
Oct 14, 2025
0d7cb02
fix CI
Oct 14, 2025
56e9efc
fix: unique xcm tests
mrshiposha Oct 14, 2025
da394d7
fix: quartz xcm tests
mrshiposha Oct 14, 2025
51325ec
chore: remove uneeded quartz xcm tests
mrshiposha Oct 15, 2025
8bb15ad
fix: sendOnlyOwnedBalance
mrshiposha Oct 15, 2025
8b8f1a6
fix: remove tsx from typegen
mrshiposha Oct 15, 2025
405af9a
fix(jsonnet): add libp2p net backend to internal relay
mrshiposha Oct 15, 2025
46abf01
fix: attempt to fix type gen
mrshiposha Oct 15, 2025
b199fdc
fix(hydra): wait longer before proposing in techcomm
mrshiposha Oct 15, 2025
72503d8
fix: add types-codec to typegen template package.json
mrshiposha Oct 15, 2025
951b07d
log full result on signAndSend error
Oct 15, 2025
b002a7c
update polkadot types
Oct 15, 2025
a26689a
fix ocw tests
Oct 15, 2025
033ae00
fix tx-verstion test error
Oct 15, 2025
54f70b3
fix: types typegen version
mrshiposha Oct 15, 2025
c26909b
add retries to mintCollection method
Oct 15, 2025
cfdd469
fix: error with conversion metadata to from 16 to 15
Oct 16, 2025
d44143a
log mintCollection parameters
Oct 16, 2025
9eee9f2
log nonce
Oct 16, 2025
75f8f11
fix CI
Oct 16, 2025
2a15a14
batch setProperties in tokenProperties tests
Oct 17, 2025
5d8ecd1
fix ci
Oct 17, 2025
38c6682
fix CI
Oct 17, 2025
b354a3f
fix CI
Oct 17, 2025
c1bef3f
fix CI
Oct 20, 2025
c93be85
fix CI
Oct 20, 2025
663ebeb
fix CI
Oct 20, 2025
6f78724
comment out tests
Oct 20, 2025
e79fef8
test only tokenProperties
Oct 20, 2025
cfa06b3
check only nonce
Oct 20, 2025
dacf531
return CheckEra
Oct 20, 2025
2e5f88a
remove CheckSpecVersion
Oct 20, 2025
65f2b6d
remove checkGenesis
Oct 20, 2025
1396e12
remove CheckEra
Oct 20, 2025
45e6caf
return all except CheckEra
Oct 20, 2025
9fc6305
fix CI
Oct 21, 2025
5a3f36a
fix CI
Oct 21, 2025
3762b7e
fix CI
Oct 21, 2025
553470e
return checkEra and update to latest 2509
Oct 21, 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
3 changes: 3 additions & 0 deletions .baedeker/collator-selection.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ local unique = {
extraArgs: [
'--pool-type=fork-aware',
],
extraArgsInternalParent: [
'--network-backend=libp2p',
],
},
for name in ['alpha', 'beta', 'gamma', 'delta', 'epsilon', 'zeta']
},
Expand Down
18 changes: 15 additions & 3 deletions .baedeker/main-process.jsonnet
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
local
m = import 'baedeker-library/mixin/spec.libsonnet',
rm = import 'baedeker-library/mixin/raw-spec.libsonnet',
ops = import 'baedeker-library/ops/common-args.libsonnet',
;

function(relay_spec, forked_spec, dump_spec, token_symbol)
Expand Down Expand Up @@ -30,6 +31,11 @@ local relay = {
scheduler_params+: {
lookahead: 3,
},
executor_params: [
{ MaxMemoryPages: 8192 },
{ PvfExecTimeout: [ "Backing", 2500 ] },
{ PvfExecTimeout: [ "Approval", 15000 ] }
],
},
},
},
Expand Down Expand Up @@ -89,14 +95,20 @@ local unique = {
'--increase-future-pool',
'--pool-type=fork-aware',
],
extraArgsInternalParent: [
'--network-backend=libp2p',
],
},
for name in ['alice', 'bob', 'charlie']
},
};

relay + {
ops.mixinExtraNodeArgsAllChains(relay + {
parachains: {
[para.name]: para,
for para in [unique]
for para in [
unique
]
},
}
}, ['-lxcm=trace'])

3 changes: 3 additions & 0 deletions .baedeker/ocw-quartz.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ local unique = {
'--increase-future-pool',
'--pool-type=fork-aware',
],
extraArgsInternalParent: [
'--network-backend=libp2p',
],
},
for name in ['alice', 'bob']
},
Expand Down
2 changes: 2 additions & 0 deletions .baedeker/up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ set -e
BDK_DIR=$(dirname $(readlink -f "$0"))

RUST_LOG=info \
CHAINQL_WORKERS=2 \
CHAINQL_KEYS_CHUNK_SIZE=20000 \
baedeker \
--spec=docker \
-J$BDK_DIR/vendor/ \
Expand Down
5 changes: 3 additions & 2 deletions .baedeker/xcm-opal.jsonnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
local
m = import 'baedeker-library/mixin/spec.libsonnet',
ops = import 'baedeker-library/ops/common-args.libsonnet',
;

function(relay_spec)
Expand Down Expand Up @@ -107,9 +108,9 @@ local assethub = {
},
};

relay + {
ops.mixinExtraNodeArgsAllChains(relay + {
parachains: {
[para.name]: para,
for para in [opal, assethub]
},
}
}, ['-lxcm=trace'])
13 changes: 10 additions & 3 deletions .baedeker/xcm-quartz.jsonnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
local
m = import 'baedeker-library/mixin/spec.libsonnet',
ops = import 'baedeker-library/ops/common-args.libsonnet',
;

function(relay_spec, assethub_spec)
Expand Down Expand Up @@ -82,6 +83,9 @@ local unique = {
'--increase-future-pool',
'--pool-type=fork-aware',
],
extraArgsInternalParent: [
'--network-backend=libp2p',
],
},
for name in ['alice', 'bob']
},
Expand All @@ -101,7 +105,10 @@ local assethub = {
bin: $.bin,
wantedKeys: 'para',
parentConnection: 'internal-samedir',
expectedDataPath: '/parity',
expectedDataPath: '/parity',
extraArgsInternalParent: [
'--network-backend=libp2p',
],
},
for name in ['alice', 'bob']
},
Expand Down Expand Up @@ -169,9 +176,9 @@ local shiden = {
},
};

relay + {
ops.mixinExtraNodeArgsAllChains(relay + {
parachains: {
[para.name]: para,
for para in [unique, assethub, karura, moonriver, shiden]
},
}
}, ['-lxcm=trace'])
13 changes: 10 additions & 3 deletions .baedeker/xcm-unique.jsonnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
local
m = import 'baedeker-library/mixin/spec.libsonnet',
ops = import 'baedeker-library/ops/common-args.libsonnet',
;

function(relay_spec, assethub_spec)
Expand Down Expand Up @@ -74,6 +75,9 @@ local unique = {
'--increase-future-pool',
'--pool-type=fork-aware',
],
extraArgsInternalParent: [
'--network-backend=libp2p',
],
},
for name in ['alice', 'bob']
},
Expand All @@ -93,7 +97,10 @@ local assethub = {
bin: $.bin,
wantedKeys: 'para-ed',
parentConnection: 'internal-samedir',
expectedDataPath: '/parity',
expectedDataPath: '/parity',
extraArgsInternalParent: [
'--network-backend=libp2p',
],
},
for name in ['alice', 'bob']
},
Expand Down Expand Up @@ -181,7 +188,7 @@ local hydradx = {
};


relay + {
ops.mixinExtraNodeArgsAllChains(relay + {
parachains: {
[para.name]: para,
for para in [
Expand All @@ -193,4 +200,4 @@ relay + {
hydradx,
]
},
}
}, ['-lxcm=trace'])
2 changes: 1 addition & 1 deletion .docker/docker-compose.tmp-dev.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ services:
- 9944
ports:
- 127.0.0.1:9944:9944
command: cargo run --release --features={{ NETWORK }}-runtime -- --dev -linfo --rpc-cors=all --unsafe-rpc-external --idle-autoseal-interval 1000 --autoseal-finalization-delay 1
command: cargo run --release --features={{ NETWORK }}-runtime -- --dev -lruntime::executive=trace --rpc-cors=all --unsafe-rpc-external --idle-autoseal-interval 1000 --autoseal-finalization-delay 1
22 changes: 11 additions & 11 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ RELAY_CHAIN_TYPE=westend

#NODE_BRANCH=unique-polkadot-2503
#NODE_HASH=a1ed12028a59a2edea110157eee6ba6ae3f0ab40
MAINNET_BRANCH=release-v10170081
MAINNET_HASH=8a9ca9847b0660fb1d8fe5592c5ac70fe92e9b2e
MAINNET_BRANCH=release-v10180082
MAINNET_HASH=e389772b8e2c72098b03e52d3306775b72402258

DENO_VERSION=v2.5.1
BAEDEKER_VERSION=v0.1.4

# Unique
POLKADOT_MAINNET_BRANCH=stable2409
POLKADOT_ASSETHUB_BUILD_BRANCH=stable2409
POLKADOT_MAINNET_BRANCH=stable2509
POLKADOT_ASSETHUB_BUILD_BRANCH=stable2509

# No new updates in docker hub (2.28.0 is available in GitHub)
ACALA_BUILD_BRANCH=2.25.0
Expand All @@ -26,11 +26,11 @@ ASTAR_BUILD_BRANCH=v5.45.0
#HYDRADX_BUILD_BRANCH=latest@sha256:6a7b285f66352ed13086071fa4b305b9b919b5851d203450538419b5e3bd9b6e
HYDRADX_BUILD_BRANCH=38@sha256:ae0cd26cd7eb6e9c0fb9e8e2b4ec8ef4436762a65bac36262972f3fe31b61978

UNIQUE_REPLICA_FROM=wss://ws.unique.network:443
UNIQUE_REPLICA_FROM=https://asia-ws.unique.network

# Quartz
KUSAMA_MAINNET_BRANCH=stable2506-2
KUSAMA_ASSETHUB_BUILD_BRANCH=stable2506-2
KUSAMA_MAINNET_BRANCH=stable2509
KUSAMA_ASSETHUB_BUILD_BRANCH=stable2509

# No new updates in docker hub (2.28.0 is available in GitHub)
KARURA_BUILD_BRANCH=2.25.0
Expand All @@ -41,10 +41,10 @@ MOONRIVER_BUILD_BRANCH=runtime-3300
# No updates in docker hub
SHIDEN_BUILD_BRANCH=v5.45.0

QUARTZ_REPLICA_FROM=wss://ws-quartz.unique.network:443
QUARTZ_REPLICA_FROM=https://ws-quartz.unique.network

# Opal
UNIQUEWEST_MAINNET_BRANCH=stable2506-2
WESTEND_ASSETHUB_BUILD_BRANCH=stable2506-2
OPAL_REPLICA_FROM=wss://ws-opal.unique.network:443
UNIQUEWEST_MAINNET_BRANCH=stable2509
WESTEND_ASSETHUB_BUILD_BRANCH=stable2509
OPAL_REPLICA_FROM=https://ws-opal.unique.network

23 changes: 19 additions & 4 deletions .github/workflows/deno-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ jobs:
deno install
../scripts/wait_for_first_block.sh
echo "Ready to start tests"
NOW=$(date +%s) && deno task test
NOW=$(date +%s) && deno task _test './sub/nesting/tokenProperties.test.ts'
env:
RPC_URL: http://127.0.0.1:9944/

- name: Read output variables
run: |
echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"
# - name: Read output variables
# run: |
# echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"

- name: Run benchmark mintFee tests
working-directory: js-packages/scripts
Expand All @@ -82,6 +82,21 @@ jobs:
deno install
deno -A ./benchmarks/opsFee/index.ts

- name: Echo containers logs
if: always() # run this step always
run: |
mkdir -p logs
for i in `docker ps -a --format {{.Names}}`; do docker logs $i >& logs/$i.log; done

- name: Upload containers logs
uses: actions/upload-artifact@v4
if: always() # run this step always
with:
name: ${{ matrix.network }}-deno-dev-logs
path: logs
retention-days: 7
compression-level: 9

- name: Stop running containers
if: always() # run this step always
run: docker compose -f ".docker/docker-compose.${{ matrix.network }}.yml" down
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/main-process-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ jobs:
container: uniquenetwork/ci-main-process
tag: ${{ matrix.network }}-${{ env.MAINNET_BRANCH }}-${{ env.MAINNET_HASH}}
context: .docker
# TODO: return to Dockerfile-unique-release after release v10140080
dockerfile: Dockerfile-unique-release-old
dockerfile: Dockerfile-unique-release
args: |
--build-arg FEATURES=${{ matrix.network }}-runtime
--build-arg CODE_VERSION=${{ env.MAINNET_BRANCH}}
Expand Down Expand Up @@ -151,7 +150,10 @@ jobs:
- name: Get state from production
run: |
. "$HOME/.cargo/env"
chainql -e "cql.chain(\"${{ matrix.fork_source }}\").latest._preloadKeys._raw" > .baedeker/vendor/dump.json
chainql -e 'cql.chain("${{ matrix.fork_source }}").latest._preloadKeys._raw' > .baedeker/vendor/dump.json
# env:
# CHAINQL_WORKERS: 2
# CHAINQL_KEYS_CHUNK_SIZE: 20000

- name: Start network
uses: UniqueNetwork/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/offchain-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
id: create_matrix
with:
matrix: |
network {quartz}, relay_name {polkadot}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}
network {quartz}, relay_name {kusama}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}

dev_build_int_tests:
needs: prepare-execution-marix
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
inputs: |
.baedeker/ocw-${{ matrix.network }}.jsonnet
snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/polkadot':{dockerImage:'${{ steps.polkadot.outputs.image }}:${{ steps.polkadot.outputs.tag }}'}})
snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.target.outputs.name }}'}}, for_chain = false)
snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.target.outputs.name }}'}})

- name: Upload network config
uses: actions/upload-artifact@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/try-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
id: create_matrix
with:
matrix: |
network {opal}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}
network {quartz}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}
network {unique}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}
network {opal}, replica_from_address {wss://ws-opal.unique.network:443}
network {quartz}, replica_from_address {wss://ws-quartz.unique.network:443}
network {unique}, replica_from_address {wss://ws.unique.network:443}

try-runtime:
needs: prepare-execution-marix
Expand Down
44 changes: 35 additions & 9 deletions .github/workflows/xcm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ jobs:
- name: Clean Workspace
uses: AutoModality/[email protected]

# - name: Remove all containers
# if: always() # run this step always
# run: |
# docker ps -aq | xargs -r docker rm -f

# - name: Remove builder cache
# if: always()
# run: |
# docker system prune -a -f

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/[email protected]
with:
Expand Down Expand Up @@ -253,12 +263,28 @@ jobs:
NOW=$(date +%s) && deno task ${{ matrix.runtest }}
env:
RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}
# - name: Remove all containers
# if: always() # run this step always
# run: |
# docker ps -aq | xargs docker rm -f

# - name: Remove builder cache
# if: always()
# run: |
# docker system prune -a -f

- name: Echo containers logs
if: always() # run this step always
run: |
mkdir -p ${{ steps.bdk.outputs.composeProject }}/logs
for i in `docker ps -a --format {{.Names}} | grep baedeker`; do docker logs $i >& ${{ steps.bdk.outputs.composeProject }}/logs/$i.log; done

- name: Upload containers logs
uses: actions/upload-artifact@v4
if: always() # run this step always
with:
name: ${{ matrix.network }}-xcm-baedeker-logs
path: ${{ steps.bdk.outputs.composeProject }}/logs
retention-days: 7
compression-level: 9

- name: Remove all containers
if: always() # run this step always
run: |
docker ps -aq | xargs docker rm -f

- name: Remove builder cache
if: always()
run: |
docker system prune -a -f
Loading
Loading