Skip to content

Commit 5cfafdc

Browse files
seunlanlegehussein-aitlahcenWizdave97andor0
authored
Upgrade to polkadot-v0.9.16 (#567)
* switch deps * add fork patch * upgrade to v0.9.16 * wip parachain utils * upgrade pallet-privilege to 0.9.16 * Add support of polkadot-v0.9.16 in pallet-oracle (#587) * postpone upgrade * missing maxencodedlen for defi struct * style * normalize orml-tokens/orml-traits and upgrade dex-router * update cargolock * derive MaxEncodedLen for Currency * reorder * revert registre MaxEncodedLen as XcmLocation does not implements it yet * upgrade xcm related orml packages and add preimage * format * WIP: upgrade runtime, please CHECK THIS * update cargo.lock * upgrade node/chain_spec * parachain_utils: make upgrade_runtime generic * bump transaction version * fmt * parachain_utils:: minor fix * parachain_utils: minor fixes * Use BoundedVec instead of Vec (#589) * upgrade executive, from AllPallets to AllPalletsReversedWithSystemFirst to preserve previous behavior * upgrade pallet mocks, adding missing MaxConsumers in sys config * remove unused benchmark from composable * fix oracle benchmarking * update cargo.lock * fix parachain-utils * some stuff * format * fix tests/benchmarking * update cargo.lock * style * some stuff * upgrade xcm-emulator * update cargo.lock * ignore integration tests * ignore simnode * fix simnode * benchmarks * adds scheduler migrations * cargo fmt * bump runtime version * cargo fmt * fix benchmark workflow * fix check benchmarks * cargo fmt * fix benchmark.yml * fix runtime benchmark * simnode stuff * only benchmark picasso * Pushing benchmark changes * finalize picasso benchmarks * fix weights * cargo fmt Co-authored-by: Hussein Ait Lahcen <[email protected]> Co-authored-by: david <[email protected]> Co-authored-by: andor0 <[email protected]> Co-authored-by: seunlanlege <[email protected]>
1 parent 748556d commit 5cfafdc

File tree

143 files changed

+7306
-30862
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+7306
-30862
lines changed

.config/config

Whitespace-only changes.

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757

5858
- uses: EndBug/add-and-commit@v8
5959
with:
60-
add: 'runtime/picasso'
60+
add: 'runtime'
6161
message: 'Pushing benchmark changes'
6262
push: "true"
6363
new_branch: ${{ steps.branch-name.outputs.current_branch }}

.github/workflows/simnode.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ jobs:
4343
env:
4444
BASE_BRANCH: ${{ github.event.pull_request.base.ref }}
4545
GITHUB_BRANCH_NAME: ${{ steps.branch-name.outputs.current_branch }}
46-
if: contains( github.event.pull_request.labels.*.name, 'needs-benchmarks') && env.RUNTIME_CHECK == 1
46+
if: contains( github.event.pull_request.labels.*.name, 'needs-simnode') && env.RUNTIME_CHECK == 1
4747
id: run_simnode
4848
run: .maintain/run_simnode.sh

.maintain/playbooks/run-integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
dest: "/home/{{ user }}/basilisk"
131131
- url: https://storage.googleapis.com/composable-binaries/testnet-releases/picasso/composable-latest.tar.gz
132132
dest: "/home/{{ user }}/composable-latest.tar.gz"
133-
- url: https://github.com/paritytech/polkadot/releases/download/v0.9.13/polkadot
133+
- url: https://github.com/paritytech/polkadot/releases/download/v0.9.16/polkadot
134134
dest: "/home/{{ user }}/polkadot"
135135

136136
- name: Clone composable repo

.maintain/run_benchmarks.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ set -e # fail on any error
99

1010
VERSIONS_FILES=(
1111
"runtime/picasso/src/weights,picasso-dev,picasso"
12-
"runtime/dali/src/weights,dali-dev,dali"
13-
"runtime/composable/src/weights,composable-dev,composable"
12+
# "runtime/dali/src/weights,dali-dev,dali"
13+
# "runtime/composable/src/weights,composable-dev,composable"
1414
)
1515

1616
steps=50
@@ -38,15 +38,6 @@ run_benchmarks() {
3838
--raw \
3939
--output="$OUTPUT" \
4040
--log error
41-
git config --global user.email "[email protected]"
42-
git config --global user.name "haroldsphinx"
43-
USERNAME=$(gcloud secrets versions access latest --secret=github-api-username)
44-
PASSWORD=$(gcloud secrets versions access latest --secret=github-api-token)
45-
git remote set-url origin https://"$USERNAME":"$PASSWORD"@github.com/ComposableFi/composable.git
46-
git pull origin "$GITHUB_BRANCH_NAME"
47-
git add runtime/"$FOLDER"
48-
git commit -m "Updates weights for $CHAIN"
49-
git push origin "$GITHUB_BRANCH_NAME"
5041
# ToDO: Setup gpg signing and create a bot account for pushing
5142
}
5243

0 commit comments

Comments
 (0)