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

[DO NOT MERGE] feat: 1.9.0 release #460

Merged
merged 39 commits into from
Feb 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
199e65e
chore: bump version to 1.9.0
wischli Nov 4, 2022
c595a47
fix: yorlin keys (#432)
weichweich Nov 7, 2022
8fe2c4d
chore: renaming runtime APIs for public credentials (#433)
ntn-x2 Nov 8, 2022
0d0044b
chore: bump spec versions to 10902
wischli Nov 14, 2022
d67c5c4
Revert "chore: bump spec versions to 10902"
wischli Nov 16, 2022
db1687f
ci: build latest only on non rc tags
wischli Nov 16, 2022
5f8b12c
chore: update bootnodes (#435)
weichweich Nov 18, 2022
655b923
Revert "feat: support linking ethereum accounts (#355)"
wischli Nov 4, 2022
6c0bded
feat: remove public credentials from spiritnet
weichweich Nov 7, 2022
654d00b
chore: update weights
kiltbot Nov 8, 2022
621997e
Revert "Revert "feat: support linking ethereum accounts (#355)""
wischli Nov 14, 2022
6185e94
Revert "feat: remove public credentials from spiritnet"
wischli Nov 14, 2022
339d303
chore: update toolchain versions (#439)
ntn-x2 Nov 29, 2022
81d881a
fix: apply new toolchain to init script
wischli Dec 5, 2022
431c1e9
feat: upgrade to Polkadot v0.9.32 (#434)
wischli Dec 6, 2022
70ba5ba
fix: staking API unclaimed rewards
wischli Dec 12, 2022
3a852e5
ci: add img build for dev tags
wischli Dec 19, 2022
4ac7610
fix: disable curl output (#444)
ggera Dec 19, 2022
8be0c41
fix: new spec (#443)
weichweich Jan 4, 2023
d861234
chore: update 2023 (#445)
weichweich Jan 5, 2023
5a85bf4
fix: toolchain version (#447)
ntn-x2 Jan 11, 2023
79ac365
chore: make clear that it's still under development (#451)
weichweich Jan 20, 2023
b6b8d4d
chore: update relay chain references (#449)
ntn-x2 Jan 20, 2023
b38b92a
chore: upgrade polkadot to v0.9.36 (#446)
trusch Jan 20, 2023
3cf77b7
feat: bump polkadot versions to v0.9.37 (#452)
trusch Jan 23, 2023
eecde66
chore: update srtool (#453)
weichweich Jan 23, 2023
59f8452
fix: add public credentials to benchmark (#455)
weichweich Jan 23, 2023
0a5e46d
feat: add block number for CTypes (#440)
ntn-x2 Jan 23, 2023
a12b0c8
chore: remove clone runtime (#456)
ntn-x2 Jan 24, 2023
4353493
chore: undo dev-tag image build (#454)
ggera Jan 24, 2023
519ff06
chore: refactor some more XCM config stuff (#457)
ntn-x2 Jan 26, 2023
eff278b
fix: on-chain storage version for pallets where it is missing (#458)
ntn-x2 Jan 30, 2023
7d56019
Merge remote-tracking branch 'origin/develop' into release-1.9.0
weichweich Jan 31, 2023
1566d84
chore: remove unused dependency
weichweich Jan 31, 2023
8964b10
Revert "Revert "Revert "feat: support linking ethereum accounts (#355…
ntn-x2 Feb 1, 2023
0f39ffe
chore: bump crates version to 1.9.0 and specs version to 1.8.9 (10890)
ntn-x2 Feb 1, 2023
5ea142e
Add missed migrations
ntn-x2 Feb 1, 2023
c1fd840
Add balances pallet migration with no accounts
ntn-x2 Feb 1, 2023
82308ce
Benchmarks
Feb 2, 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
13 changes: 6 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ clippy:
stage: test
timeout: 1 hours
script:
- rustup component add clippy --toolchain nightly
- cargo +nightly clippy --all-features --all-targets --locked -- -D warnings
- cargo clippy --all-features --all-targets --locked -- -D warnings

fmt:
# Corresponds to paritytech/ci-linux:production at the time of this PR
Expand All @@ -19,8 +18,7 @@ fmt:
stage: test
timeout: 1 hours
script:
- rustup component add rustfmt --toolchain nightly
- cargo +nightly fmt -- --check
- cargo fmt -- --check

test:
# Corresponds to paritytech/ci-linux:production at the time of this PR
Expand Down Expand Up @@ -50,6 +48,7 @@ build:
- develop
- master
- /^[0-9]+(?:\.[0-9]+){2}(?:-(rc)*([0-9])+)?$/
- /^[dev-](\w*-)*[0-9]?$/
variables:
DOCKER_HUB_PARACHAIN: "kiltprotocol/kilt-node"
DOCKER_HUB_STANDALONE: "kiltprotocol/mashnet-node"
Expand All @@ -65,11 +64,11 @@ build:
- "if [[ ! -z ${CI_COMMIT_BRANCH} ]]; then ./.maintain/push-image.sh build ${CI_COMMIT_SHORT_SHA}; fi"
- "if [[ ! -z ${CI_COMMIT_BRANCH} ]]; then ./.maintain/push-image.sh build latest-${CI_COMMIT_BRANCH}; fi"
- "if [[ ! -z ${CI_COMMIT_TAG} ]]; then ./.maintain/push-image.sh build ${CI_COMMIT_TAG}; fi"
- "if [[ ! -z ${CI_COMMIT_TAG} && ! -z ${CI_COMMIT_TAG##*-rc*} ]]; then ./.maintain/push-image.sh build latest; fi"
- "if [[ ! -z ${CI_COMMIT_TAG} && ! -z ${CI_COMMIT_TAG##*-rc*} && ! -z ${CI_COMMIT_TAG##*dev-*} ]]; then ./.maintain/push-image.sh build latest; fi"

build-wasm-peregrine:
image:
name: paritytech/srtool:1.64.0-0.9.23
name: paritytech/srtool:1.66.1-0.9.25
entrypoint: [""]
stage: build
only:
Expand All @@ -90,7 +89,7 @@ build-wasm-peregrine:

build-wasm-spiritnet:
image:
name: paritytech/srtool:1.64.0-0.9.23
name: paritytech/srtool:1.66.1-0.9.25
entrypoint: [""]
stage: build
only:
Expand Down
3 changes: 2 additions & 1 deletion .maintain/docker-auth-config.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
set +x

export PAYLOAD=`jq -n --arg userpass "$(echo -n "AWS:$(aws ecr get-login-password --region $AWS_DEFAULT_REGION)" | base64)" '{"auths": {"'$AWS_REGISTRY'": {"auth": $userpass}}}'`

curl --request PUT --header "PRIVATE-TOKEN:$TOKEN" "https://gitlab.com/api/v4/projects/26909212/variables/DOCKER_AUTH_CONFIG" --form "value=$PAYLOAD"
curl --silent --request PUT --header "PRIVATE-TOKEN:$TOKEN" "https://gitlab.com/api/v4/projects/26909212/variables/DOCKER_AUTH_CONFIG" --form "value=$PAYLOAD" > /dev/null
74 changes: 57 additions & 17 deletions .maintain/reset-spec/peregrine_relay.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,36 @@ def update_spec(input: typing.Dict, base_chain="westend"):
acc_bob = "5DL9V1dmkuZnzRD9R3cwdzowim3sBZZvz1iJhNxC5QjofikK"
acc_charlie = "5DcKRxsjojmbJW7Scxnu7Ck5zXfpg1RxtrcyVjaMRx5YFWUR"
acc_dave = "5E4ZYy9tTPpJPoScqm6PvLtr1MjsBEjbDufJQYhcuBtk6rNa"
acc_eve = "5ELCvQBGu8ur9UDSMAiqB4PrYXTnLGwcaUg63gtkxWtScEYm"
acc_ferdie = "5G6ThxmfSbHVt2u8WmZmTH3xeKBckFFDGA69E6cSXtYPaiwT"

input.update({
"bootNodes": [
"/dns4/eyrie-1.kilt.io/tcp/30360/p2p/12D3KooWEeezCpJauUmWw3zfgEtYzhZTc5LgukQYtGTMaZfzgVfE",
"/dns4/eyrie-2.kilt.io/tcp/30361/p2p/12D3KooWHq5j9tLdZEu4tnr6ii2k33zp5DCoKREQ6KzuabC9Gihu",
"/dns4/eyrie-2.kilt.io/tcp/30362/p2p/12D3KooWQ8iTGLH98zLz9BZmq5FXDmR1NytDsJ2VToXvcjvHV16a",
"/dns4/eyrie-1.kilt.io/tcp/30363/p2p/12D3KooWNWNptEoH443LVUgwC5kd7DBVoNYwQtJh6dp4TQxUsAST",
"/dns4/eyrie-3.kilt.io/tcp/30365/p2p/12D3KooWCYnLwW3eEWiWqBNraUDjp8qVg2uwyJxh9fKAs32PMutR",
"/dns4/eyrie-3.kilt.io/tcp/30366/p2p/12D3KooWCED7zzribj75pE98739qp8QNDDfXFmL2w6JMLwBWFLxL",
"/dns4/eyrie-2.kilt.io/tcp/30300/p2p/12D3KooWM8RCC8r2Bc4qkAC5oh8m9gSQispJ9TCMchx4BjtGdpSZ",
"/dns4/eyrie-2.kilt.io/tcp/30301/p2p/12D3KooWNeTst8AmFWKBKFtAB1RJk5YwpXsTfCenFX6azozv4Q1V",
"/dns4/eyrie-2.kilt.io/tcp/30302/p2p/12D3KooWPT1SzyKnYBgDEmRVrPf88LLzD44D1bvp1Fh4EJLRtadb",
"/dns4/eyrie-2.kilt.io/tcp/30303/p2p/12D3KooWMSAdpcHmfZQfd284ZgDeW5KuFfRM9HAKqWU8xTdNDoYV",
"/dns4/eyrie-2.kilt.io/tcp/30304/p2p/12D3KooWMrteVGFXZUQNhJyxCkeUL18gEmcmggA6xj87GLM27yBz",
"/dns4/eyrie-2.kilt.io/tcp/30305/p2p/12D3KooWCcTV8vjq9KffXjcB2FG7SWK34zUfexj7d1vdVRAwCx14",
],
"chainType": "Live",
"name": "Peregrine Relay",
"protocolId": "Rkilt5",
"id": f"{base_chain}_peregrine5_relay",
"protocolId": "Rkilt6",
"id": f"{base_chain}_peregrine6_relay",
"telemetryEndpoints": [
[
"/dns/telemetry-backend.kilt.io/tcp/8080/x-parity-wss/%2Fsubmit",
0
]
]

})
input["genesis"]["runtime"]["balances"]["balances"] = [
[acc_alice, 1000000000000000000],
[acc_bob, 1000000000000000000],
[acc_charlie, 1000000000000000000],
[acc_dave, 1000000000000000000]
[acc_dave, 1000000000000000000],
[acc_eve, 1000000000000000000],
[acc_ferdie, 1000000000000000000],
]
input["genesis"]["runtime"]["staking"].update({
"validatorCount": 4,
"validatorCount": 6,
"stakers": [
[
acc_alice,
Expand All @@ -60,6 +60,18 @@ def update_spec(input: typing.Dict, base_chain="westend"):
acc_dave,
100000000000000,
"Validator"
],
[
acc_eve,
acc_eve,
100000000000000,
"Validator"
],
[
acc_ferdie,
acc_ferdie,
100000000000000,
"Validator"
]
]
})
Expand Down Expand Up @@ -108,6 +120,28 @@ def update_spec(input: typing.Dict, base_chain="westend"):
"para_assignment": "5FxM6yYBFvMeX3C2QrQDXJ8LhhzG5sPjgUtX77cX1wihHhVq",
"authority_discovery": "5FxM6yYBFvMeX3C2QrQDXJ8LhhzG5sPjgUtX77cX1wihHhVq",
}
], [
acc_eve,
acc_eve,
{
"grandpa": "5GKaEkaA8NVdpsruRcnpeLBNGzMcFsEfwEY3Jq7Vmw9brztR",
"babe": "5GnPNFKvLRy9FF8N1G9YjGmjJA4cUsUC7WgEx3rDeMFnZsXk",
"im_online": "5GnPNFKvLRy9FF8N1G9YjGmjJA4cUsUC7WgEx3rDeMFnZsXk",
"para_validator": "5GnPNFKvLRy9FF8N1G9YjGmjJA4cUsUC7WgEx3rDeMFnZsXk",
"para_assignment": "5GnPNFKvLRy9FF8N1G9YjGmjJA4cUsUC7WgEx3rDeMFnZsXk",
"authority_discovery": "5GnPNFKvLRy9FF8N1G9YjGmjJA4cUsUC7WgEx3rDeMFnZsXk",
}
], [
acc_ferdie,
acc_ferdie,
{
"grandpa": "5CSYQMyi7iGVuHLgLNDXcpPXZgvWWrP7mqd1sHdBUSeafXf5",
"babe": "5CPW6uFwdjoHTj14C1VWiK96Cj2sJBALbC964zHaGAni3J2S",
"im_online": "5CPW6uFwdjoHTj14C1VWiK96Cj2sJBALbC964zHaGAni3J2S",
"para_validator": "5CPW6uFwdjoHTj14C1VWiK96Cj2sJBALbC964zHaGAni3J2S",
"para_assignment": "5CPW6uFwdjoHTj14C1VWiK96Cj2sJBALbC964zHaGAni3J2S",
"authority_discovery": "5CPW6uFwdjoHTj14C1VWiK96Cj2sJBALbC964zHaGAni3J2S",
}
]
]
input["genesis"]["runtime"]["sudo"]["key"] = acc_alice
Expand All @@ -124,7 +158,10 @@ def update_spec(input: typing.Dict, base_chain="westend"):
"validation_upgrade_delay": 2,
"max_pov_size": 5242880,
"max_downward_message_size": 1048576,
"ump_service_total_weight": 100000000000,
"ump_service_total_weight": {
"ref_time": 100000000000,
"proof_size": 5242880
},
"hrmp_max_parachain_outbound_channels": 4,
"hrmp_max_parathread_outbound_channels": 4,
"hrmp_sender_deposit": 0,
Expand All @@ -141,7 +178,7 @@ def update_spec(input: typing.Dict, base_chain="westend"):
"chain_availability_period": 4,
"thread_availability_period": 4,
"scheduling_lookahead": 0,
"max_validators_per_core": 1,
"max_validators_per_core": None,
"max_validators": None,
"dispute_period": 6,
"dispute_post_conclusion_acceptance_period": 100,
Expand All @@ -152,7 +189,10 @@ def update_spec(input: typing.Dict, base_chain="westend"):
"zeroth_delay_tranche_width": 0,
"needed_approvals": 2,
"relay_vrf_modulo_samples": 2,
"ump_max_individual_weight": 20000000000,
"ump_max_individual_weight": {
"ref_time": 20000000000,
"proof_size": 5242880
},
"pvf_checking_enabled": False,
"pvf_voting_ttl": 2,
"minimum_validation_upgrade_delay": 5
Expand Down
2 changes: 1 addition & 1 deletion .maintain/runtime-weight-template.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2022 BOTLabs GmbH
// Copyright (C) 2019-2023 BOTLabs GmbH

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion .maintain/srtool.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM docker.io/library/ubuntu:22.04
LABEL maintainer "[email protected]"
LABEL description="This image contains tools for Substrate blockchains runtimes."

ARG RUSTC_VERSION="1.62.0"
ARG RUSTC_VERSION="1.64.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't match with the latest srtool version (1.66.1) thats also used in the CI script

ENV RUSTC_VERSION=$RUSTC_VERSION
ENV DOCKER_IMAGE="paritytech/srtool"
ENV PROFILE=release
Expand Down
2 changes: 1 addition & 1 deletion .maintain/weight-template.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2022 BOTLabs GmbH
// Copyright (C) 2019-2023 BOTLabs GmbH

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
Loading