Skip to content

Problem: recent bug fixes are not included#340

Merged
yihuang merged 12 commits into
crypto-org-chain:mainfrom
yihuang:testnet-hotfix
Feb 16, 2022
Merged

Problem: recent bug fixes are not included#340
yihuang merged 12 commits into
crypto-org-chain:mainfrom
yihuang:testnet-hotfix

Conversation

@yihuang

@yihuang yihuang commented Feb 14, 2022

Copy link
Copy Markdown
Contributor

Solution:

  • update ethermint/cosmos-sdk dependencies
  • prepare a breaking upgrade on testnet

👮🏻👮🏻👮🏻 !!!! 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! :)

@yihuang
yihuang requested a review from a team as a code owner February 14, 2022 09:01
@yihuang
yihuang requested review from JayT106 and calvinaco and removed request for a team February 14, 2022 09:01
Comment thread app/app.go Outdated
Comment thread go.mod Outdated
@codecov

codecov Bot commented Feb 14, 2022

Copy link
Copy Markdown

Codecov Report

Merging #340 (08d637c) into main (3ea70c5) will increase coverage by 19.54%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##             main     #340       +/-   ##
===========================================
+ Coverage   21.51%   41.06%   +19.54%     
===========================================
  Files          27       30        +3     
  Lines        1729     1505      -224     
===========================================
+ Hits          372      618      +246     
+ Misses       1324      841      -483     
- 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 64.89% <ø> (-29.45%) ⬇️
... and 28 more

Comment thread go.mod
github.com/99designs/keyring => github.com/crypto-org-chain/keyring v1.1.6-fixes
github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.45.1
// release/v0.45.x branch, TODO use tag when released
github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.45.2-0.20220209090836-4161d2b6022a

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 marked this pull request as draft February 14, 2022 09:11
Solution:
- update ethermint/cosmos-sdk dependencies
- prepare a breaking upgrade on testnet

changelog

Apply suggestions from code review
@yihuang
yihuang marked this pull request as ready for review February 14, 2022 09:43
Comment thread app/app.go Outdated

@JayT106 JayT106 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.

LGTM

Comment thread go.mod Outdated
@yihuang
yihuang requested a review from crypto-facs February 15, 2022 04:20
HuangYi added 3 commits February 15, 2022 15:33
Comment thread go.mod
github.com/tecbot/gorocksdb => github.com/cosmos/gorocksdb v1.1.1

github.com/tharsis/ethermint => github.com/crypto-org-chain/ethermint v0.10.0-alpha1-cronos-4
github.com/tharsis/ethermint => github.com/crypto-org-chain/ethermint v0.10.0-alpha1-cronos-6

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 requested a review from JayT106 February 15, 2022 13:16

@crypto-facs crypto-facs left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

Comment thread app/app.go Outdated
return app.mm.RunMigrations(ctx, app.configurator, fromVM)
})
// this upgrade is for breaking bug fixes on testnet
plan0_7_0HotfixTestnet := "v0.7.0-hotfix-testnet"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

since we are planning to do a new binary release, should be increase the minor version?

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.

currently, it's still 0.7.0-rcX

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

maybe change the name of the plan to "v0.7.0-rc2" ?

Because if we do another upgrade for testnet hotfix after this one, the naming will become really confusing

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.

done

@yihuang
yihuang merged commit b9368d7 into crypto-org-chain:main Feb 16, 2022
@yihuang
yihuang deleted the testnet-hotfix branch February 16, 2022 07:38
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.

4 participants