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

feat: update gravity bridge to v1.5.0 + upgrade handler for Calypso (v2.0.0) #729

Merged
merged 40 commits into from
Apr 4, 2022

Conversation

facundomedica
Copy link
Contributor

@facundomedica facundomedica commented Mar 31, 2022

Description

  • Upgrade to Gravity Bridge v1.5.0
  • Add upgrade handlers to do the Calypso update (Leverage and oracle modules)
  • While I was at it I added the option to run tests with Ganache instead of geth, pretty helpful when running on Mac M1

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 appropriate labels to the PR
  • added ! to the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • added a changelog entry to CHANGELOG.md
  • 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
  • manually tested (if applicable)

@facundomedica facundomedica requested a review from a team as a code owner March 31, 2022 17:44
@facundomedica facundomedica changed the title update gravity bridge to v1.5.0 + add missing keepers [WIP] update gravity bridge to v1.5.0 + add missing keepers + upgrade handler Mar 31, 2022
@facundomedica facundomedica changed the title [WIP] update gravity bridge to v1.5.0 + add missing keepers + upgrade handler feat: [WIP] update gravity bridge to v1.5.0 + add missing keepers + upgrade handler Mar 31, 2022
@facundomedica facundomedica changed the title feat: [WIP] update gravity bridge to v1.5.0 + add missing keepers + upgrade handler feat: [WIP] update gravity bridge to v1.5.0 + add missing keepers + upgrade handler for Calypso (v2.0.0) Apr 1, 2022
@facundomedica facundomedica changed the title feat: [WIP] update gravity bridge to v1.5.0 + add missing keepers + upgrade handler for Calypso (v2.0.0) feat: [WIP] update gravity bridge to v1.5.0 + upgrade handler for Calypso (v2.0.0) Apr 1, 2022
@facundomedica facundomedica changed the title feat: [WIP] update gravity bridge to v1.5.0 + upgrade handler for Calypso (v2.0.0) feat: update gravity bridge to v1.5.0 + upgrade handler for Calypso (v2.0.0) Apr 1, 2022
@toteki
Copy link
Member

toteki commented Apr 2, 2022

It does seem to avoid importing ibc-go so it's probably not a problem. I was looking at the go.mod over at bech32ibc to see what it's doing roughly.

Copy link
Collaborator

@adamewozniak adamewozniak left a comment

Choose a reason for hiding this comment

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

Left a few small suggestions 😄

app/app.go Outdated Show resolved Hide resolved
app/app.go Outdated Show resolved Hide resolved
app/app.go Outdated Show resolved Hide resolved
app/upgrades/calypso/handler.go Outdated Show resolved Hide resolved
app/upgrades/calypso/handler.go Outdated Show resolved Hide resolved
app/upgrades/calypso/handler.go Outdated Show resolved Hide resolved
app/upgrades/register.go Outdated Show resolved Hide resolved
app/upgrades/calypso/handler.go Outdated Show resolved Hide resolved
Copy link
Member

@toteki toteki left a comment

Choose a reason for hiding this comment

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

Agree on removing any print lines as long as we log.Info all the important stuff. I'll run a test upgrade locally with this then drop an approval once it works on my machine.

Copy link
Member

@toteki toteki left a comment

Choose a reason for hiding this comment

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

working, it seems to be
merge, we should

Copy link
Collaborator

@adamewozniak adamewozniak left a comment

Choose a reason for hiding this comment

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

A couple nits but LGTM

app/app.go Outdated Show resolved Hide resolved
app/app.go Outdated Show resolved Hide resolved
@mergify mergify bot merged commit 3b596e0 into main Apr 4, 2022
@mergify mergify bot deleted the facu/upgrade-gb branch April 4, 2022 23:14
mergify bot pushed a commit that referenced this pull request Apr 4, 2022
…v2.0.0) (#729)

## Description

- Upgrade to Gravity Bridge v1.5.0
- Add upgrade handlers to do the Calypso update (Leverage and oracle modules)
- While I was at it I added the option to run tests with Ganache instead of geth, pretty helpful when running on Mac M1

----

### 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](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added appropriate labels to the PR
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/umee-network/umee/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] 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](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) 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
- [ ] manually tested (if applicable)

(cherry picked from commit 3b596e0)

# Conflicts:
#	price-feeder/go.mod
#	price-feeder/go.sum
adamewozniak added a commit that referenced this pull request Apr 5, 2022
…v2.0.0) (backport #729) (#736)

* feat: update gravity bridge to v1.5.0 + upgrade handler for Calypso (v2.0.0) (#729)

## Description

- Upgrade to Gravity Bridge v1.5.0
- Add upgrade handlers to do the Calypso update (Leverage and oracle modules)
- While I was at it I added the option to run tests with Ganache instead of geth, pretty helpful when running on Mac M1

----

### 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](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added appropriate labels to the PR
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/umee-network/umee/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] 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](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) 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
- [ ] manually tested (if applicable)

(cherry picked from commit 3b596e0)

# Conflicts:
#	price-feeder/go.mod
#	price-feeder/go.sum

* fix conflict issue

* piggyback other go.mod backports (prometheus, toml)

Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: RafilxTenfen <rafaeltenfen.rt@gmail.com>
Co-authored-by: toteki <63419657+toteki@users.noreply.github.com>
Co-authored-by: Adam Wozniak <29418299+adamewozniak@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants