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: price feeder imports umee/v2.0.0 #766

Merged
merged 13 commits into from Apr 6, 2022
Merged

chore: price feeder imports umee/v2.0.0 #766

merged 13 commits into from Apr 6, 2022

Conversation

RafilxTenfen
Copy link
Contributor

Description

  • update price-feeder to umee/v2

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)

@RafilxTenfen RafilxTenfen requested a review from toteki April 6, 2022 13:31
@RafilxTenfen RafilxTenfen self-assigned this Apr 6, 2022
@RafilxTenfen RafilxTenfen requested a review from a team as a code owner April 6, 2022 13:31
@toteki
Copy link
Member

toteki commented Apr 6, 2022

All tests passing - but let's hold up on merging this until v2 PR is in main or perhaps further

Base automatically changed from adam/v2 to main April 6, 2022 15:37
price-feeder/go.mod Outdated Show resolved Hide resolved
@toteki toteki changed the title chore: pf importing umee/v2 chore: price feeder imports umee/v2.0.0 Apr 6, 2022
module github.com/umee-network/umee/price-feeder
module github.com/umee-network/umee/v2/price-feeder
Copy link
Member

@toteki toteki Apr 6, 2022

Choose a reason for hiding this comment

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

This change - is it correct?

edit: to test this, try importing price feeder into a fresh go.mod based project. If it errors "why does 0.2 have a v2 url?" then I will revert this line

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The v2 is for the umee part, the price-feeder is in its own version like 0.20

Maybe it wouldn't be better for the price-feeder to have its own repository?
@toteki @adamewozniak

Copy link
Member

Choose a reason for hiding this comment

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

Long term, separate repo could simplify things.

As for the price-feeder/go.mod import path, this PR might work without (since only the umee go.mod, not the whole umee repository, has changed import paths).

@codecov-commenter
Copy link

Codecov Report

Merging #766 (85d2155) into main (a176fb2) will decrease coverage by 0.42%.
The diff coverage is 0.00%.

❗ Current head 85d2155 differs from pull request most recent head 1eb9d2f. Consider uploading reports for the commit 1eb9d2f to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #766      +/-   ##
==========================================
- Coverage   48.03%   47.60%   -0.43%     
==========================================
  Files          64       64              
  Lines        9329     9413      +84     
==========================================
  Hits         4481     4481              
- Misses       4581     4665      +84     
  Partials      267      267              
Impacted Files Coverage Δ
ante/fee.go 93.61% <ø> (ø)
ante/spam_prevention.go 61.76% <ø> (ø)
x/ibctransfer/keeper/keeper.go 77.92% <ø> (ø)
x/leverage/abci.go 0.00% <ø> (ø)
x/leverage/client/cli/proposal.go 72.72% <ø> (ø)
x/leverage/client/cli/query.go 0.00% <ø> (ø)
x/leverage/client/cli/tx.go 0.00% <ø> (ø)
x/leverage/client/tests/suite.go 100.00% <ø> (ø)
x/leverage/client/tests/util.go 87.69% <ø> (ø)
x/leverage/genesis.go 50.00% <ø> (ø)
... and 34 more

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.

For now, working without v2 on price-feeder/go.mod line 1, which also reduces files changed to 5.

Can merge in this form, and we can fix it later if any import errors emerge.

@toteki
Copy link
Member

toteki commented Apr 6, 2022

Finished a local test of importing price feeder at this commit on an empty / "hello world" type of project, and confirmed no errors appear with the non-v2 import path. Merging now.

@toteki toteki merged commit 11c0f76 into main Apr 6, 2022
@toteki toteki deleted the adam/v2-pf branch April 6, 2022 18:00
mergify bot pushed a commit that referenced this pull request Apr 6, 2022
* all replaces EXCEPT in price feeder - not complete

* go mod replace price feeder 0.2

* fix make proto-gen output folder to allow major versions

* revert some price feeder path changes

* cannot find module providing package github.com/umee-network/umee/v2/app/params: import lookup disabled by -mod=readonly

* chore: pf importing umee/v2

* Update price-feeder/go.mod

* go mod tidy --compat=1.17

* try undo price feeder v2 import path

Co-authored-by: toteki <63419657+toteki@users.noreply.github.com>
(cherry picked from commit 11c0f76)

# Conflicts:
#	price-feeder/go.sum
mergify bot pushed a commit that referenced this pull request Apr 6, 2022
* all replaces EXCEPT in price feeder - not complete

* go mod replace price feeder 0.2

* fix make proto-gen output folder to allow major versions

* revert some price feeder path changes

* cannot find module providing package github.com/umee-network/umee/v2/app/params: import lookup disabled by -mod=readonly

* chore: pf importing umee/v2

* Update price-feeder/go.mod

* go mod tidy --compat=1.17

* try undo price feeder v2 import path

Co-authored-by: toteki <63419657+toteki@users.noreply.github.com>
(cherry picked from commit 11c0f76)
toteki pushed a commit that referenced this pull request Apr 6, 2022
* all replaces EXCEPT in price feeder - not complete

* go mod replace price feeder 0.2

* fix make proto-gen output folder to allow major versions

* revert some price feeder path changes

* cannot find module providing package github.com/umee-network/umee/v2/app/params: import lookup disabled by -mod=readonly

* chore: pf importing umee/v2

* Update price-feeder/go.mod

* go mod tidy --compat=1.17

* try undo price feeder v2 import path

Co-authored-by: toteki <63419657+toteki@users.noreply.github.com>
(cherry picked from commit 11c0f76)

Co-authored-by: Rafael Tenfen <rafaeltenfen.rt@gmail.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