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

Upgrade to polkadot-v0.9.16 #567

Merged
merged 63 commits into from
Feb 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
fc3587b
switch deps
seunlanlege Jan 31, 2022
167a271
add fork patch
hussein-aitlahcen Feb 2, 2022
adc2b1a
upgrade to v0.9.16
hussein-aitlahcen Feb 3, 2022
7ad33f5
wip parachain utils
seunlanlege Feb 3, 2022
7971687
Merge branch 'polkadot-v0.9.16' of github.com:ComposableFi/composable…
Wizdave97 Feb 4, 2022
10baeb4
upgrade pallet-privilege to 0.9.16
hussein-aitlahcen Feb 4, 2022
035ce75
Add support of polkadot-v0.9.16 in pallet-oracle (#587)
andor0 Feb 4, 2022
5b038f6
postpone upgrade
hussein-aitlahcen Feb 4, 2022
7bf324b
missing maxencodedlen for defi struct
hussein-aitlahcen Feb 4, 2022
b7bc6f7
style
hussein-aitlahcen Feb 4, 2022
14162e5
normalize orml-tokens/orml-traits and upgrade dex-router
hussein-aitlahcen Feb 4, 2022
a1ada68
update cargolock
hussein-aitlahcen Feb 4, 2022
00ac978
derive MaxEncodedLen for Currency
hussein-aitlahcen Feb 4, 2022
e4a7d11
reorder
hussein-aitlahcen Feb 4, 2022
c3b55e9
revert registre MaxEncodedLen as XcmLocation does not implements it yet
hussein-aitlahcen Feb 4, 2022
4a95b12
upgrade xcm related orml packages and add preimage
hussein-aitlahcen Feb 4, 2022
cdc634d
format
hussein-aitlahcen Feb 4, 2022
9b1c9bb
WIP: upgrade runtime, please CHECK THIS
hussein-aitlahcen Feb 4, 2022
ee64d94
update cargo.lock
hussein-aitlahcen Feb 4, 2022
e257819
Merge branch 'polkadot-v0.9.16' of github.com:ComposableFi/composable…
Wizdave97 Feb 4, 2022
3a9e9db
upgrade node/chain_spec
hussein-aitlahcen Feb 4, 2022
f43f820
parachain_utils: make upgrade_runtime generic
Wizdave97 Feb 4, 2022
1fd7afe
bump transaction version
hussein-aitlahcen Feb 4, 2022
908f2cc
fmt
hussein-aitlahcen Feb 4, 2022
e5f4192
parachain_utils:: minor fix
Wizdave97 Feb 4, 2022
550166d
Merge branch 'polkadot-v0.9.16' of github.com:ComposableFi/composable…
Wizdave97 Feb 4, 2022
ad49fc8
parachain_utils: minor fixes
Wizdave97 Feb 4, 2022
a13e5cc
Use BoundedVec instead of Vec (#589)
andor0 Feb 4, 2022
acd3eff
upgrade executive, from AllPallets to AllPalletsReversedWithSystemFir…
hussein-aitlahcen Feb 4, 2022
88ec802
upgrade pallet mocks, adding missing MaxConsumers in sys config
hussein-aitlahcen Feb 4, 2022
2f4b970
remove unused benchmark from composable
hussein-aitlahcen Feb 4, 2022
f295c29
fix oracle benchmarking
hussein-aitlahcen Feb 4, 2022
797e0ee
update cargo.lock
hussein-aitlahcen Feb 4, 2022
b8eff60
fix parachain-utils
seunlanlege Feb 4, 2022
6d95e59
some stuff
seunlanlege Feb 4, 2022
f288038
format
hussein-aitlahcen Feb 4, 2022
5f1d741
fix tests/benchmarking
hussein-aitlahcen Feb 4, 2022
6a13c38
update cargo.lock
hussein-aitlahcen Feb 4, 2022
04a9d04
style
hussein-aitlahcen Feb 4, 2022
a8a9564
some stuff
seunlanlege Feb 4, 2022
5351758
upgrade xcm-emulator
hussein-aitlahcen Feb 4, 2022
6c5f908
update cargo.lock
hussein-aitlahcen Feb 4, 2022
ad9058c
ignore integration tests
hussein-aitlahcen Feb 4, 2022
b7a4372
ignore simnode
hussein-aitlahcen Feb 4, 2022
6bc5a99
fix simnode
seunlanlege Feb 5, 2022
ce9e6d5
benchmarks
seunlanlege Feb 5, 2022
a66cc25
adds scheduler migrations
seunlanlege Feb 5, 2022
972f943
cargo fmt
seunlanlege Feb 5, 2022
7ef87e4
bump runtime version
seunlanlege Feb 5, 2022
2a7be62
cargo fmt
seunlanlege Feb 5, 2022
1f07840
fix benchmark workflow
seunlanlege Feb 5, 2022
76f4800
fix check benchmarks
seunlanlege Feb 5, 2022
d2d1b5d
cargo fmt
seunlanlege Feb 5, 2022
cd0aa79
fix benchmark.yml
seunlanlege Feb 5, 2022
8b1345e
Merge branch 'main' of github.com:composableFi/composable into polkad…
seunlanlege Feb 5, 2022
5c8a71d
Merge branch 'main' of github.com:composableFi/composable into polkad…
seunlanlege Feb 5, 2022
aa7fa34
fix runtime benchmark
seunlanlege Feb 5, 2022
7f5ee0f
simnode stuff
seunlanlege Feb 5, 2022
d440d42
only benchmark picasso
seunlanlege Feb 6, 2022
c228451
Pushing benchmark changes
seunlanlege Feb 6, 2022
2c3d47c
finalize picasso benchmarks
seunlanlege Feb 6, 2022
542e895
fix weights
seunlanlege Feb 6, 2022
6dc9683
cargo fmt
seunlanlege Feb 6, 2022
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
Empty file added .config/config
Empty file.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:

- uses: EndBug/add-and-commit@v8
with:
add: 'runtime/picasso'
add: 'runtime'
message: 'Pushing benchmark changes'
push: "true"
new_branch: ${{ steps.branch-name.outputs.current_branch }}
2 changes: 1 addition & 1 deletion .github/workflows/simnode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ jobs:
env:
BASE_BRANCH: ${{ github.event.pull_request.base.ref }}
GITHUB_BRANCH_NAME: ${{ steps.branch-name.outputs.current_branch }}
if: contains( github.event.pull_request.labels.*.name, 'needs-benchmarks') && env.RUNTIME_CHECK == 1
if: contains( github.event.pull_request.labels.*.name, 'needs-simnode') && env.RUNTIME_CHECK == 1
id: run_simnode
run: .maintain/run_simnode.sh
2 changes: 1 addition & 1 deletion .maintain/playbooks/run-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
dest: "/home/{{ user }}/basilisk"
- url: https://storage.googleapis.com/composable-binaries/testnet-releases/picasso/composable-latest.tar.gz
dest: "/home/{{ user }}/composable-latest.tar.gz"
- url: https://github.com/paritytech/polkadot/releases/download/v0.9.13/polkadot
- url: https://github.com/paritytech/polkadot/releases/download/v0.9.16/polkadot
dest: "/home/{{ user }}/polkadot"

- name: Clone composable repo
Expand Down
13 changes: 2 additions & 11 deletions .maintain/run_benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ set -e # fail on any error

VERSIONS_FILES=(
"runtime/picasso/src/weights,picasso-dev,picasso"
"runtime/dali/src/weights,dali-dev,dali"
"runtime/composable/src/weights,composable-dev,composable"
# "runtime/dali/src/weights,dali-dev,dali"
# "runtime/composable/src/weights,composable-dev,composable"
)

steps=50
Expand Down Expand Up @@ -38,15 +38,6 @@ run_benchmarks() {
--raw \
--output="$OUTPUT" \
--log error
git config --global user.email "haroldsphinx@gmail.com"
git config --global user.name "haroldsphinx"
USERNAME=$(gcloud secrets versions access latest --secret=github-api-username)
PASSWORD=$(gcloud secrets versions access latest --secret=github-api-token)
git remote set-url origin https://"$USERNAME":"$PASSWORD"@github.com/ComposableFi/composable.git
git pull origin "$GITHUB_BRANCH_NAME"
git add runtime/"$FOLDER"
git commit -m "Updates weights for $CHAIN"
git push origin "$GITHUB_BRANCH_NAME"
# ToDO: Setup gpg signing and create a bot account for pushing
}

Expand Down
Loading