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

fix! not loading in contracts with custom WasmVM after upgrade #961

Merged
merged 8 commits into from
Feb 6, 2024

Conversation

Reecepbcups
Copy link
Contributor

@Reecepbcups Reecepbcups commented Feb 5, 2024

ref PR #960 for further information and debugging scripts

Will need to backport to main

  • Tag as v20 since it is state breaking, just with the v19 namespace in go.mod
  • need to try on testnet
  • Need to halt and patch to mainnet vals

@Reecepbcups Reecepbcups changed the base branch from main to release/v19 February 5, 2024 23:33
@Reecepbcups Reecepbcups changed the base branch from release/v19 to main February 5, 2024 23:36
@Reecepbcups Reecepbcups changed the title fix! v19 not loading in contracts with custom WasmVM after upgrade fix!(v19) not loading in contracts with custom WasmVM after upgrade Feb 5, 2024
@Reecepbcups Reecepbcups changed the title fix!(v19) not loading in contracts with custom WasmVM after upgrade fix! not loading in contracts with custom WasmVM after upgrade Feb 5, 2024
@dimiandre
Copy link
Member

since juno190g5j8aszqhvtg7cprmev8xcxs6csra7xnk3n3 is not a vesting account anymore maybe we can just send balance witha a standard transaction instead of messing more with it

@Reecepbcups
Copy link
Contributor Author

Reecepbcups commented Feb 6, 2024

@dimiandre I'm fine with that. Didn't know if Core-1 could get the votes.

The first commit in this PR is from the release/v19 branch. So I can't remove that (v19.1.0) but will get the handler out if desired for v20

@Reecepbcups
Copy link
Contributor Author

lets do the halt and patch

@Reecepbcups Reecepbcups changed the base branch from main to release/v19 February 6, 2024 15:28
@Reecepbcups Reecepbcups marked this pull request as ready for review February 6, 2024 15:28
@Reecepbcups
Copy link
Contributor Author

Can confirm v18 -> this branch works as expected with it.
image

@Reecepbcups Reecepbcups enabled auto-merge (squash) February 6, 2024 15:48
Copy link
Member

@dimiandre dimiandre left a comment

Choose a reason for hiding this comment

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

looks good

@Reecepbcups Reecepbcups merged commit 6f27cf8 into release/v19 Feb 6, 2024
25 checks passed
joelsmith-2019 pushed a commit that referenced this pull request Feb 15, 2024
* fix!: load from the proper data dir

* v20 plain upgrade

* lintor

* execute contract's before and after an upgrade

* remove v20 storekey addition

* CreateV20UpgradeHandler

* remove v20

* fix upgrade test (v18 -> v19)
dimiandre pushed a commit that referenced this pull request Mar 2, 2024
…#968)

* fix!: load from the proper data dir

* v20 plain upgrade

* lintor

* execute contract's before and after an upgrade

* remove v20 storekey addition

* CreateV20UpgradeHandler

* remove v20

* fix upgrade test (v18 -> v19)

Co-authored-by: Reece Williams <[email protected]>
dimiandre added a commit that referenced this pull request Mar 2, 2024
* fix! not loading in contracts with custom WasmVM after upgrade (#961)

* fix!: load from the proper data dir

* v20 plain upgrade

* lintor

* execute contract's before and after an upgrade

* remove v20 storekey addition

* CreateV20UpgradeHandler

* remove v20

* fix upgrade test (v18 -> v19)

* Create v21 Namespace & Upgrade Handler

* bump: golang-ci-lint-action (#974)

* Bump golangci/golangci-lint-action from 3 to 4

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](golangci/golangci-lint-action@v3...v4)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* update lint action

* do the easy stuff first....

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* run upgrade test against v20 & remove wasm from store upgrades

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Reece Williams <[email protected]>
Co-authored-by: Jacob Gadikian <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrea Di Michele <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants