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

chore!: migrate escrow accounts #2993

Merged
merged 2 commits into from
Mar 13, 2024
Merged

chore!: migrate escrow accounts #2993

merged 2 commits into from
Mar 13, 2024

Conversation

sainoe
Copy link
Contributor

@sainoe sainoe commented Mar 12, 2024

Description

Closes: #2989

cc @jtieri


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • Included the correct type prefix in the PR title
  • Added ! to the type prefix if API, client, or state breaking change (i.e., requires minor or major version bump)
  • Targeted the correct branch (see PR Targeting)
  • Provided a link to the relevant issue or specification
  • Followed the guidelines for building SDK modules
  • Included the necessary unit and integration tests
  • Added a changelog entry in .changelog (for details, see contributing guidelines)
  • Included comments for documenting Go code
  • Updated the relevant documentation or specification
  • Reviewed "Files changed" and left comments if necessary
  • Confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed ! in the type prefix if API or client breaking change
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic
  • reviewed API design and naming
  • reviewed documentation is accurate
  • reviewed tests and test coverage

@sainoe sainoe changed the base branch from main to release/v15.1.x March 12, 2024 09:17
app/upgrades/v15/upgrades.go Dismissed Show dismissed Hide dismissed
Copy link
Contributor

@mpoke mpoke left a comment

Choose a reason for hiding this comment

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

Please rebase on main and add label to backport to v15.1.x. Also, see my comments below.

app/upgrades/v15/upgrades.go Outdated Show resolved Hide resolved
app/upgrades/v15/upgrades.go Show resolved Hide resolved
app/upgrades/v15/upgrades.go Outdated Show resolved Hide resolved
app/upgrades/v15/upgrades_test.go Show resolved Hide resolved
@sainoe sainoe changed the base branch from release/v15.1.x to main March 12, 2024 13:26
@sainoe sainoe force-pushed the sainoe/migrate-escrow-accounts branch from bf5bed2 to d064275 Compare March 12, 2024 14:10
* Add UT for escrow accounts migration
* Add changelog entry
* Address comments and fix test issue
@sainoe sainoe force-pushed the sainoe/migrate-escrow-accounts branch from d064275 to 5ad7047 Compare March 12, 2024 14:19
Copy link
Contributor

@MSalopek MSalopek left a comment

Choose a reason for hiding this comment

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

Found no issues.

LGTM!

// to be represented using an 64-bit integer. Therefore, it's added to the
// escrow updates list under the condition that the amount is successfully
// converted to the sdk.Int type.
if amt, ok := sdk.NewIntFromString("4388000000000000000000"); !ok {
Copy link
Contributor

Choose a reason for hiding this comment

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

Unfortunately there isn't a sdk.MustNewIntFromString function so this will do.

@mpoke mpoke merged commit d8d90cc into main Mar 13, 2024
18 checks passed
@mpoke mpoke deleted the sainoe/migrate-escrow-accounts branch March 13, 2024 17:59
mergify bot pushed a commit that referenced this pull request Mar 13, 2024
* Add UT for escrow accounts migration
* Add changelog entry
* Address comments and fix test issue

(cherry picked from commit d8d90cc)
sainoe added a commit that referenced this pull request Mar 13, 2024
* Add UT for escrow accounts migration
* Add changelog entry
* Address comments and fix test issue

(cherry picked from commit d8d90cc)

Co-authored-by: Simon Noetzlin <[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.

Migrate escrow accounts with discrepancies
3 participants