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

Release v943061 #994

Merged
merged 123 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
9f5355d
ci: forbid eslint warnings
CertainLach Feb 17, 2023
4bcabac
ci: run clippy
CertainLach Feb 17, 2023
e1f20e1
fix: set prop for not existed token (#933)
bugrazoid Jun 14, 2023
71175e3
feat: update MarketV2 contract
Jun 16, 2023
c575769
migration(app-promo): added number(s) of unhandled blocks
PraetorP Jun 15, 2023
6f79f09
ci collator-selection for dockerhub
BuddyGlas Jun 23, 2023
65414d6
feat(app-promo): types for `Currency` trait support has been removed …
PraetorP Jun 23, 2023
e041df2
Test for market sponsoring
uandysmith Jun 26, 2023
8196877
fix: add `from` to `confirmSponsorship`
Jun 26, 2023
f661a22
test: tests for sending `value` with `evm.call`
Jun 27, 2023
a7c577e
Update market + substrate sponsoring example
uandysmith Jun 27, 2023
54a7967
Remove console.log
uandysmith Jun 27, 2023
9c3f000
fix: return TokenData with owner for old runtimes (#957)
fairax Jun 28, 2023
ef738f7
Merge pull request #958 from UniqueNetwork/ci/collator-selection
CertainLach Jun 28, 2023
1913bf6
Merge pull request #954 from UniqueNetwork/feature/update_market_v2_c…
CertainLach Jun 29, 2023
07a896e
fix: update unique-frontier dependency
Jun 30, 2023
1ecd8fc
Merge pull request #961 from UniqueNetwork/test/send_value_to_contrac…
CertainLach Jun 30, 2023
d8a735e
refactor!: decouple pallet-collator-selection from pallet-configurati…
PraetorP Jun 30, 2023
83d67e5
fix: Rust Analyzer for common mod (#966)
Jul 10, 2023
83605d4
fix: sponsoring tests
Jul 11, 2023
28d97ca
test: add bench for nesting (#963)
PraetorP Jul 11, 2023
724706b
ci: wait for try-runtime logs (#960)
BuddyGlas Jul 11, 2023
8d1c3c9
build: update polkadot to v0.9.43
CertainLach Jul 16, 2023
4de16ed
build: bump spec_version
CertainLach Jul 17, 2023
4d3b620
ci: fix launch-config
CertainLach Jul 17, 2023
55ce0a6
refactor: drop TransactionConverter support
CertainLach Jun 16, 2023
f28d992
feat: update BaseFee storage from pallet-configuration
CertainLach Jun 16, 2023
ec57cb9
refactor: ethereum RPC/tasks initialization
CertainLach Jun 16, 2023
a73db73
style: fix formatting
CertainLach Jul 17, 2023
1b4b057
ci: remove deprecated arguments
CertainLach Jul 20, 2023
ebfc6b1
ci: remove ws-port leftovers
CertainLach Jul 21, 2023
8d3362a
ci: regenerate .env
CertainLach Jul 21, 2023
471fdb4
build: update dependencies
CertainLach Jul 21, 2023
fc1ccc4
Merge pull request #968 from UniqueNetwork/feature/update-polkadot-v0…
CertainLach Aug 14, 2023
e7df43a
ci: node only update changes (#956)
BuddyGlas Aug 14, 2023
950d276
Merge pull request #888 from UniqueNetwork/ci/forbid-warnings
CertainLach Aug 15, 2023
20ac01d
feat: eth all-in-one create_collection (#971)
fairax Aug 16, 2023
1a4aa2d
feat: introduce democracy (#965)
PraetorP Aug 23, 2023
905f9b3
refactor: fix complex value type support in evm-coder
CertainLach Aug 29, 2023
0ce92f0
fix: tests cleanup
uandysmith Aug 29, 2023
e12df81
test(evm): using value with Option::None is not allowed
CertainLach Aug 30, 2023
dff02f7
fix: restore unrecognized selector error message
CertainLach Aug 30, 2023
e24c985
style: fix formatting
CertainLach Aug 30, 2023
66f7f7d
fix: createCollection flags test
uandysmith Aug 30, 2023
c466f2a
test: fix build and style
CertainLach Aug 30, 2023
369a51d
Merge pull request #974 from UniqueNetwork/fix/evm-coder-leftovers
CertainLach Aug 30, 2023
fc2ce00
ci: specify endpoints for xcm containers
CertainLach Aug 23, 2023
7fac866
ci: update .env
CertainLach Aug 23, 2023
6586b5a
ci: remove old xcm workflow
CertainLach Aug 25, 2023
37e846d
test: upgrade to yarn berry
CertainLach Aug 25, 2023
b8ffe22
ci: update env generator
CertainLach Aug 25, 2023
86762e7
ci: use baedeker for xcm workflow
CertainLach Aug 25, 2023
c1adeef
test: regenerate types
CertainLach Aug 27, 2023
12f3485
ci: use compose discovery
CertainLach Aug 30, 2023
d83685b
test: fix unique imports and eslint
uandysmith Aug 31, 2023
ca74825
ci: statemints wants para-ed keys
CertainLach Aug 31, 2023
0722057
test: make testing more resilent to random failures
CertainLach Aug 31, 2023
9acbee5
ci: do not regenerate types on every run
CertainLach Sep 1, 2023
21a0683
test: rewrite metadata fetch to js
CertainLach Sep 1, 2023
24a0f65
ci: add polkadex to xcm workflow
BuddyGlas Aug 31, 2023
3cd8b28
ci(xcm): run for all networks
CertainLach Sep 1, 2023
693c003
test: restore gov tests
CertainLach Sep 1, 2023
a17eff7
Merge pull request #972 from UniqueNetwork/ci/baedeker
CertainLach Sep 1, 2023
42448e1
fix: governance setup inconsistencies
mrshiposha Sep 1, 2023
3e9a8d1
Merge pull request #976 from UniqueNetwork/fix/governance-setup-incon…
CertainLach Sep 2, 2023
edf428e
test(gov): added neg votes
PraetorP Sep 4, 2023
c6d53cc
Merge pull request #977 from UniqueNetwork/fix/gov-council-test
CertainLach Sep 4, 2023
a797a1d
feat: add opal gov timings
mrshiposha Sep 4, 2023
0e75cd9
Merge pull request #978 from UniqueNetwork/fix/opal-governance-timings
CertainLach Sep 4, 2023
5b9d45c
enable governance workflow for develop and master branch
BuddyGlas Sep 5, 2023
98753ec
Merge pull request #981 from UniqueNetwork/ci/governance-workflow
CertainLach Sep 5, 2023
56c4087
ci: relay_chain argument for baedeker
CertainLach Sep 3, 2023
1a650ec
ci: move nodeonly to baedeker
CertainLach Sep 3, 2023
ec8104e
Merge pull request #983 from UniqueNetwork/ci/baedeker-node-only
CertainLach Sep 5, 2023
3050b51
test: add event asserts (#982)
Maksandre Sep 6, 2023
bf4df5f
fix: xcm tests
mrshiposha Sep 6, 2023
a4cc0ef
feat: baedeker helper scripts
CertainLach Sep 6, 2023
3567b2a
ci: set repoDir tla-str by default
CertainLach Sep 6, 2023
432eea3
ci: move collator selection to baedeker (#979)
BuddyGlas Sep 6, 2023
33d4989
Merge pull request #985 from UniqueNetwork/fix/xcm-release-60
CertainLach Sep 6, 2023
d3757b6
Merge pull request #984 from UniqueNetwork/dev/baedeker
CertainLach Sep 6, 2023
320ac9b
ci: update nodejs version to 18 (#987)
BuddyGlas Sep 7, 2023
911b03c
fix: wasm runtime version section
CertainLach Sep 8, 2023
8483c29
test: runtime upgrade helpers
CertainLach Sep 8, 2023
129199c
ci: ability to disable disable default actions
CertainLach Sep 8, 2023
5a3f942
ci: move forkless-nodata to baedeker
CertainLach Sep 8, 2023
f266535
ci: move forkless-data to baedeker
CertainLach Sep 8, 2023
dfae293
ci: fix bdk dev paths
CertainLach Sep 8, 2023
d892f52
ci: fix codestyle failures
CertainLach Sep 8, 2023
f4daa42
fix: collator-selection tests
mrshiposha Sep 8, 2023
13175ce
ci: forkless misc fixes
CertainLach Sep 8, 2023
a1bfaca
style: fix clippy warning
CertainLach Sep 8, 2023
cb2cc11
fix: workflow cargo build
mrshiposha Sep 8, 2023
1d7b145
ci: missing wasm_name for opal
CertainLach Sep 8, 2023
0e9500c
fix: simplify test timings features
mrshiposha Sep 8, 2023
0caf783
fix: use plain node names instead of test account names
mrshiposha Sep 8, 2023
d6fc80a
fix: workflow baedeker args
mrshiposha Sep 8, 2023
70415c3
fix: session-test-timingS
mrshiposha Sep 8, 2023
d27c764
fix: stash accounts discovery move to baedeker-library
mrshiposha Sep 8, 2023
62d7507
fix: maintenance tests - disable MM after the suite
mrshiposha Sep 8, 2023
e6eb884
Merge pull request #989 from UniqueNetwork/fix/maintenance-tests-rele…
CertainLach Sep 8, 2023
095843d
fix: increase session test timings - 5 mins
mrshiposha Sep 8, 2023
f3f56cc
Merge pull request #988 from UniqueNetwork/fix/collector-selection-te…
CertainLach Sep 8, 2023
4badfb7
ci: forkless-nodata wants new nodes in runtime
CertainLach Sep 10, 2023
950f6ba
ci: respect RELAY_CHAIN_TYPE
CertainLach Sep 11, 2023
31ef540
style: fix clippy warning
CertainLach Sep 11, 2023
af0cd94
build: baedeker reset helper script
CertainLach Sep 11, 2023
1454e80
style: fix rest of clippy warnings
CertainLach Sep 11, 2023
716e4d5
ci: fix relay spec name
CertainLach Sep 11, 2023
afa2cb8
ci: fix rewrite ordering
CertainLach Sep 11, 2023
8bfa768
feat: add .envrc-dev
mrshiposha Sep 11, 2023
348c8c0
Merge pull request #991 from UniqueNetwork/feature/envrc-dev
CertainLach Sep 11, 2023
2fcc0ad
test: forbid creating ApiPromise without set endpoint
CertainLach Sep 11, 2023
18b607b
build: bump version to v943061
CertainLach Sep 13, 2023
d6daf45
feat: add pallet-utility
mrshiposha Sep 12, 2023
f5d5adf
fix: techcomm prime can be set by council
mrshiposha Sep 12, 2023
a3d4936
feat: add pallet-utility playground helper
mrshiposha Sep 12, 2023
2f3726c
test: governance init
mrshiposha Sep 12, 2023
ddad31a
test: governance init fellowship
mrshiposha Sep 12, 2023
f78623c
tests: utility in pallet-presence
uandysmith Sep 13, 2023
903ebb5
fix: yarn fix
mrshiposha Sep 13, 2023
50f1aed
fix: pallet-utility pass features
mrshiposha Sep 13, 2023
2ed82dd
build: update Cargo.lock
CertainLach Sep 13, 2023
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
4 changes: 4 additions & 0 deletions .baedeker/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.bdk-env
/rewrites.jsonnet
/vendor
/baedeker-library
Empty file added .baedeker/.gitkeep
Empty file.
43 changes: 43 additions & 0 deletions .baedeker/collator-selection.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
local
m = import 'baedeker-library/mixin/spec.libsonnet',
;

local relay = {
name: 'relay',
bin: 'bin/polkadot',
validatorIdAssignment: 'staking',
spec: {Genesis:{
chain: 'rococo-local',
modify:: m.genericRelay($),
}},
nodes: {
[name]: {
bin: $.bin,
wantedKeys: 'relay',
},
for name in ['alice', 'bob', 'charlie', 'dave', 'eve']
},
};

local unique = {
name: 'unique',
bin: 'bin/unique',
paraId: 1001,
spec: {Genesis:{
modify:: m.genericPara($),
}},
nodes: {
[name]: {
bin: $.bin,
wantedKeys: 'para',
},
for name in ['alpha', 'beta', 'gamma', 'delta']
},
};

relay + {
parachains: {
[para.name]: para,
for para in [unique]
},
}
6 changes: 6 additions & 0 deletions .baedeker/down.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
set -e
BDK_DIR=$(dirname $(readlink -f "$0"))
cd $BDK_DIR/.bdk-env
docker compose down -v --remove-orphans
rm -rf discover.env secret specs
67 changes: 67 additions & 0 deletions .baedeker/forkless-data.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
local
m = import 'baedeker-library/mixin/spec.libsonnet',
rm = import 'baedeker-library/mixin/raw-spec.libsonnet',
;

function(relay_spec, forked_spec, fork_source)

local relay = {
name: 'relay',
bin: 'bin/polkadot',
validatorIdAssignment: 'staking',
spec: {Genesis:{
chain: relay_spec,
modify:: m.genericRelay($),
}},
nodes: {
[name]: {
bin: $.bin,
wantedKeys: 'relay',
},
for name in ['alice', 'bob', 'charlie', 'dave', 'eve']
},
};

local unique = {
name: 'unique',
bin: 'bin/unique',
paraId: 1001,
spec: {Raw:{
local modifyRaw = bdk.mixer([
rm.resetNetworking($),
rm.decodeSpec(),
rm.polkaLaunchPara($),
rm.reencodeSpec(),
]),
raw_spec: modifyRaw({
name: "Unused",
id: "%s_local" % forked_spec,
bootNodes: error "override me",
chainType: error "override me",
telemetryEndpoints: error "override me",
codeSubstitutes: error "override me",
para_id: error "override me",
relay_chain: "unused",
genesis: {
raw: {
top: cql.chain(fork_source).latest._preloadKeys._raw,
childrenDefault: {},
},
},
}),
}},
nodes: {
[name]: {
bin: $.bin,
wantedKeys: 'para',
},
for name in ['alice', 'bob']
},
};

relay + {
parachains: {
[para.name]: para,
for para in [unique]
},
}
43 changes: 43 additions & 0 deletions .baedeker/node-only.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
local
m = import 'baedeker-library/mixin/spec.libsonnet',
;

local relay = {
name: 'relay',
bin: 'bin/polkadot',
validatorIdAssignment: 'staking',
spec: {Genesis:{
chain: 'rococo-local',
modify:: m.genericRelay($),
}},
nodes: {
[name]: {
bin: $.bin,
wantedKeys: 'relay',
},
for name in ['alice', 'bob', 'charlie', 'dave', 'eve']
},
};

local unique = {
name: 'unique',
bin: 'bin/unique',
paraId: 1001,
spec: {Genesis:{
modify:: m.genericPara($),
}},
nodes: {
[name]: {
bin: $.bin,
wantedKeys: 'para',
},
for name in ['alice', 'bob']
},
};

relay + {
parachains: {
[para.name]: para,
for para in [unique]
},
}
6 changes: 6 additions & 0 deletions .baedeker/reset.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
set -e
BDK_DIR=$(dirname $(readlink -f "$0"))
cd $BDK_DIR/.bdk-env
docker compose down -v --remove-orphans
docker compose up -d --wait
17 changes: 17 additions & 0 deletions .baedeker/rewrites.example.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
local dotenv = {
[std.splitLimit(line, "=", 2)[0]]: std.splitLimit(line, "=", 2)[1]
for line in std.split(importstr "../.env", "\n")
if line != ""
if std.member(line, "=")
};

function(prev, repoDir)
(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({
'bin/unique':'%s/target/release/unique-collator' % repoDir,
'bin/polkadot':{dockerImage:'uniquenetwork/builder-polkadot:%s' % dotenv.POLKADOT_MAINNET_BRANCH},
'bin/acala':{dockerImage:'uniquenetwork/builder-acala:%s' % dotenv.ACALA_BUILD_BRANCH},
'bin/moonbeam':{dockerImage:'uniquenetwork/builder-moonbeam:%s' % dotenv.MOONBEAM_BUILD_BRANCH},
'bin/cumulus':{dockerImage:'uniquenetwork/builder-cumulus:%s' % dotenv.STATEMINE_BUILD_BRANCH},
'bin/astar':{dockerImage:'uniquenetwork/builder-astar:%s' % dotenv.ASTAR_BUILD_BRANCH},
'bin/polkadex':{dockerImage:'uniquenetwork/builder-polkadex:%s' % dotenv.POLKADEX_BUILD_BRANCH},
})(prev)
6 changes: 6 additions & 0 deletions .baedeker/up.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
set -e
BDK_DIR=$(dirname $(readlink -f "$0"))
RUST_LOG=info baedeker --spec=docker -J$BDK_DIR/vendor/ --generator=docker_compose=$BDK_DIR/.bdk-env --generator=docker_compose_discover=$BDK_DIR/.bdk-env/discover.env --secret=file=$BDK_DIR/.bdk-env/secret --tla-str=relay_spec=rococo-local --input-modules='lib:baedeker-library/ops/nginx.libsonnet' --input-modules='lib:baedeker-library/ops/devtools.libsonnet' --tla-str=repoDir=$(realpath $BDK_DIR/..) $@ $BDK_DIR/rewrites.jsonnet
cd $BDK_DIR/.bdk-env
docker compose up -d --wait --remove-orphans
65 changes: 65 additions & 0 deletions .baedeker/xcm-opal.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
local
m = import 'baedeker-library/mixin/spec.libsonnet',
;

function(relay_spec)

local relay = {
name: 'relay',
bin: 'bin/polkadot',
validatorIdAssignment: 'staking',
spec: {Genesis:{
chain: relay_spec,
modify:: m.genericRelay($, hrmp = [
[$.parachains.opal.paraId, $.parachains.westmint.paraId, 8, 512],
[$.parachains.westmint.paraId, $.parachains.opal.paraId, 8, 512],
]),
}},
nodes: {
[name]: {
bin: $.bin,
wantedKeys: 'relay',
},
for name in ['alice', 'bob', 'charlie', 'dave', 'eve']
},
};

local opal = {
name: 'opal',
bin: 'bin/unique',
paraId: 1001,
spec: {Genesis:{
modify:: m.genericPara($),
}},
nodes: {
[name]: {
bin: $.bin,
wantedKeys: 'para',
},
for name in ['alice', 'bob']
},
};

local westmint = {
name: 'westmint',
bin: 'bin/cumulus',
paraId: 1002,
spec: {Genesis:{
chain: 'westmint-local',
modify:: m.genericPara($),
}},
nodes: {
[name]: {
bin: $.bin,
wantedKeys: 'para',
},
for name in ['alice', 'bob']
},
};

relay + {
parachains: {
[para.name]: para,
for para in [opal, westmint]
},
}
128 changes: 128 additions & 0 deletions .baedeker/xcm-quartz.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
local
m = import 'baedeker-library/mixin/spec.libsonnet',
;

function(relay_spec)

local relay = {
name: 'relay',
bin: 'bin/polkadot',
validatorIdAssignment: 'staking',
spec: {Genesis:{
chain: relay_spec,
modify:: m.genericRelay($, hrmp = std.join([], [
[[$.parachains[a].paraId, $.parachains[b].paraId, 8, 512], [$.parachains[b].paraId, $.parachains[a].paraId, 8, 512]],
for [a, b] in [
['quartz', 'karura'],
['quartz', 'moonriver'],
['quartz', 'statemine'],
['quartz', 'shiden'],
]
])),
}},
nodes: {
[name]: {
bin: $.bin,
wantedKeys: 'relay',
},
for name in ['alice', 'bob', 'charlie', 'dave', 'eve', 'ferdie']
},
};

local quartz = {
name: 'quartz',
bin: 'bin/unique',
paraId: 1001,
spec: {Genesis:{
modify:: m.genericPara($),
}},
nodes: {
[name]: {
bin: $.bin,
wantedKeys: 'para',
},
for name in ['alice', 'bob']
},
};

local karura = {
name: 'karura',
bin: 'bin/acala',
paraId: 1002,
spec: {Genesis:{
chain: 'karura-dev',
modify:: bdk.mixer([
m.genericPara($),
function(prev) prev {id+: '-local'},
]),
}},
nodes: {
[name]: {
bin: $.bin,
wantedKeys: 'para',
legacyRpc: true,
},
for name in ['alice', 'bob']
},
};

local moonriver = {
name: 'moonriver',
bin: 'bin/moonbeam',
signatureSchema: 'Ethereum',
paraId: 1003,
spec: {Genesis:{
chain: 'moonriver-local',
specFilePrefix: 'moonriver-local-',
modify:: m.genericPara($),
}},
nodes: {
[name]: {
bin: $.bin,
wantedKeys: 'para-nimbus',
legacyRpc: true,
},
for name in ['alith', 'baltathar']
},
};

local statemine = {
name: 'statemine',
bin: 'bin/cumulus',
paraId: 1004,
spec: {Genesis:{
chain: 'statemine-local',
modify:: m.genericPara($),
}},
nodes: {
[name]: {
bin: $.bin,
wantedKeys: 'para',
},
for name in ['alice', 'bob']
},
};

local shiden = {
name: 'shiden',
bin: 'bin/astar',
paraId: 1005,
spec: {Genesis:{
chain: 'shiden-dev',
modify:: m.genericPara($),
}},
nodes: {
[name]: {
bin: $.bin,
wantedKeys: 'para',
},
for name in ['alice', 'bob']
},
};

relay + {
parachains: {
[para.name]: para,
for para in [quartz, karura, moonriver, statemine, shiden]
},
}
Loading
Loading