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

Son/iavl v1 #494

Merged
merged 10 commits into from
Nov 15, 2023
Merged

Son/iavl v1 #494

merged 10 commits into from
Nov 15, 2023

Conversation

sontrinh16
Copy link

@sontrinh16 sontrinh16 commented Nov 14, 2023

What is the purpose of the change

Fixing build error for iavl v1 for osmosis cosmos sdk fork

Brief Changelog

Use iavl v1

Migrate
github.com/cometbft/cometbft/libs/log to cosmossdk.io/log
github.com/cometbft/tm-db to github.com/cosmos/cosmos-db
github.com/confio/ics23/go to github.com/cosmos/ics23/go

Testing and Verifying

(Please pick one of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added unit test that validates ...
  • Added integration tests for end-to-end deployment with ...
  • Extended integration test for ...
  • Manually verified the change by ...

Documentation and Release Note

  • Does this pull request introduce a new feature or user-facing behavior changes? (yes / no)
  • Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? (yes / no)
  • How is the feature or change documented? (not applicable / specification (x/<module>/spec/) / Osmosis docs repo / not documented)

iterator := st.tree.Iterator(start, end, true)
iterator, err := st.tree.Iterator(start, end, true)
if err != nil {
panic(err)

Check warning

Code scanning / CodeQL

Panic in BeginBock or EndBlock consensus methods

Possible panics in BeginBock- or EndBlock-related consensus methods could cause a chain halt
iterator := st.tree.Iterator(start, end, false)
iterator, err := st.tree.Iterator(start, end, false)
if err != nil {
panic(err)

Check warning

Code scanning / CodeQL

Panic in BeginBock or EndBlock consensus methods

Possible panics in BeginBock- or EndBlock-related consensus methods could cause a chain halt
@hieuvubk hieuvubk merged commit 4720227 into osmosis-labs:notional/iavl-v1 Nov 15, 2023
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.

2 participants