Skip to content

Problem: query legacy block failed after upgrade#446

Merged
yihuang merged 5 commits into
crypto-org-chain:mainfrom
yihuang:fix-get-block-api
May 3, 2022
Merged

Problem: query legacy block failed after upgrade#446
yihuang merged 5 commits into
crypto-org-chain:mainfrom
yihuang:fix-get-block-api

Conversation

@yihuang

@yihuang yihuang commented Apr 29, 2022

Copy link
Copy Markdown
Contributor

Solution:

  • fix in ethermint and update the dependency

👮🏻👮🏻👮🏻 !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! 👮🏻👮🏻👮🏻

PR Checklist:

  • Have you read the CONTRIBUTING.md?
  • Does your PR follow the C4 patch requirements?
  • Have you rebased your work on top of the latest master?
  • Have you checked your code compiles? (make)
  • Have you included tests for any non-trivial functionality?
  • Have you checked your code passes the unit tests? (make test)
  • Have you checked your code formatting is correct? (go fmt)
  • Have you checked your basic code style is fine? (golangci-lint run)
  • If you added any dependencies, have you checked they do not contain any known vulnerabilities? (go list -json -m all | nancy sleuth)
  • If your changes affect the client infrastructure, have you run the integration test?
  • If your changes affect public APIs, does your PR follow the C4 evolution of public contracts?
  • If your code changes public APIs, have you incremented the crate version numbers and documented your changes in the CHANGELOG.md?
  • If you are contributing for the first time, please read the agreement in CONTRIBUTING.md now and add a comment to this pull request stating that your PR is in accordance with the Developer's Certificate of Origin.

Thank you for your code, it's appreciated! :)

Solution:
- fix in ethermint and update the dependency
@yihuang
yihuang requested a review from a team as a code owner April 29, 2022 03:25
@yihuang
yihuang requested review from devashishdxt and thomas-nguy and removed request for a team April 29, 2022 03:25
@yihuang
yihuang marked this pull request as draft April 29, 2022 03:25
Comment thread go.mod Outdated
@codecov

codecov Bot commented Apr 29, 2022

Copy link
Copy Markdown

Codecov Report

Merging #446 (9319573) into main (3ea70c5) will increase coverage by 17.88%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##             main     #446       +/-   ##
===========================================
+ Coverage   21.51%   39.40%   +17.88%     
===========================================
  Files          27       31        +4     
  Lines        1729     1571      -158     
===========================================
+ Hits          372      619      +247     
+ Misses       1324      906      -418     
- Partials       33       46       +13     
Impacted Files Coverage Δ
x/cronos/genesis.go 61.53% <ø> (-38.47%) ⬇️
x/cronos/handler.go 100.00% <ø> (ø)
x/cronos/keeper/evm.go 58.00% <ø> (+6.27%) ⬆️
x/cronos/keeper/evm_hooks.go 80.00% <ø> (ø)
x/cronos/keeper/evm_log_handlers.go 83.50% <ø> (ø)
x/cronos/keeper/gravity_hooks.go 0.00% <ø> (ø)
x/cronos/keeper/grpc_query.go 0.00% <ø> (ø)
x/cronos/keeper/ibc.go 83.20% <ø> (+5.01%) ⬆️
x/cronos/keeper/ibc_hooks.go 50.00% <ø> (-8.83%) ⬇️
x/cronos/keeper/keeper.go 65.26% <ø> (-29.08%) ⬇️
... and 29 more

@yihuang
yihuang marked this pull request as ready for review April 30, 2022 16:35
Comment thread go.mod
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1

github.com/tharsis/ethermint => github.com/crypto-org-chain/ethermint v0.10.0-alpha1-cronos-8.0.20220426081631-a178ce6dba6e
github.com/tharsis/ethermint => github.com/crypto-org-chain/ethermint v0.10.0-alpha1-cronos-8.0.20220430162531-36b9c095b351

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@yihuang yihuang mentioned this pull request May 1, 2022
13 tasks
@yihuang
yihuang requested review from JayT106 and tomtau May 3, 2022 01:11
@yihuang yihuang assigned adu-crypto and unassigned adu-crypto May 3, 2022
@yihuang
yihuang requested a review from adu-crypto May 3, 2022 01:12

@tomtau tomtau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why is there a need for the ethermint fork? can the upstream be used if the PRs are merged?

@yihuang

yihuang commented May 3, 2022

Copy link
Copy Markdown
Contributor Author

why is there a need for the ethermint fork? can the upstream be used if the PRs are merged?

there's still breaking changes are not included for 0.7.0 upgrade, including the ibc-go 0.3, so we'll need to maintain this fork for the 0.7.0 release.

@yihuang
yihuang merged commit 5291768 into crypto-org-chain:main May 3, 2022
@yihuang
yihuang deleted the fix-get-block-api branch May 3, 2022 02:27
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.

3 participants