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

contracts migration: remove unnecessary panics #2079

Merged
merged 4 commits into from
Oct 30, 2023

Conversation

liamaharon
Copy link
Contributor

@liamaharon liamaharon commented Oct 30, 2023

Runtime migration CI is currently failing (https://gitlab.parity.io/parity/mirrors/polkadot-sdk/builds/4122083) for the contracts testnet due to unnecessary panicing in a pre_upgrade hook.

Soon idempotency will be enforced paritytech/try-runtime-cli#42, in the mean time we need to manually fix these issues as they arise.


also removes backticks from the string in echo, which caused a 'command not found' error in ci output

@liamaharon liamaharon added the T1-FRAME This PR/Issue is related to core FRAME, the framework. label Oct 30, 2023
@liamaharon liamaharon requested a review from a team October 30, 2023 09:43
@liamaharon liamaharon enabled auto-merge (squash) October 30, 2023 09:46
@liamaharon liamaharon requested a review from a team as a code owner October 30, 2023 09:50
@paritytech-ci paritytech-ci requested a review from a team October 30, 2023 09:51
@@ -107,7 +107,7 @@ check-rust-feature-propagation:
echo "---------- Building ${PACKAGE} runtime ----------"
time cargo build --release --locked -p "$PACKAGE" --features try-runtime

echo "---------- Executing `on-runtime-upgrade` for ${NETWORK} ----------"
echo "---------- Executing on-runtime-upgrade for ${NETWORK} ----------"
Copy link
Contributor Author

@liamaharon liamaharon Oct 30, 2023

Choose a reason for hiding this comment

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

otherwise causes error like [2023-10-30 08:59:54] /bin/bash: line 226: on-runtime-upgrade: command not found

@paritytech-ci paritytech-ci requested a review from a team October 30, 2023 09:59
@liamaharon liamaharon enabled auto-merge (squash) October 30, 2023 10:13
@liamaharon liamaharon merged commit ad5163b into master Oct 30, 2023
124 checks passed
@liamaharon liamaharon deleted the liam-contracts-migration-remove-unnesesarry-panics branch October 30, 2023 10:55
bgallois pushed a commit to duniter/duniter-polkadot-sdk that referenced this pull request Mar 25, 2024
Runtime migration CI is currently failing
(https://gitlab.parity.io/parity/mirrors/polkadot-sdk/builds/4122083)
for the contracts testnet due to unnecessary panicing in a `pre_upgrade`
hook.

Soon idempotency will be enforced
paritytech/try-runtime-cli#42, in the mean
time we need to manually fix these issues as they arise.

---

also removes backticks from the string in `echo`, which caused a
'command not found' error in ci output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T1-FRAME This PR/Issue is related to core FRAME, the framework.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants