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

Add migration docs for 02-client refactor #1287

Conversation

catShaark
Copy link
Contributor

…ht client impl to migration doc

Description

I add migration docs for 02-client refactor, this should clearly explain how to go from the old 02-client API to the new API

closes: #1202


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@catShaark catShaark force-pushed the add-migration-docs-for-client-refactor branch from 13dad85 to 1fc561e Compare April 25, 2022 03:19
Copy link
Contributor

@colin-axner colin-axner left a comment

Choose a reason for hiding this comment

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

Thank you!

docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
catShaark and others added 5 commits April 25, 2022 18:54
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
@catShaark
Copy link
Contributor Author

catShaark commented Apr 25, 2022

Thank you so much for reviewing this. @colin-axner. I'll apply the changes needed

catShaark and others added 2 commits April 25, 2022 19:02
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
@catShaark catShaark force-pushed the add-migration-docs-for-client-refactor branch from fad2d0f to 6c9551f Compare April 26, 2022 02:48
Copy link
Contributor

@crodriguezvega crodriguezvega left a comment

Choose a reason for hiding this comment

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

Thanks for writing this. I just left some nits. :)

docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
docs/migrations/v3-to-v4.md Show resolved Hide resolved
docs/migrations/v3-to-v4.md Show resolved Hide resolved
docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
catShaark and others added 7 commits April 26, 2022 13:26
Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
@catShaark
Copy link
Contributor Author

Thanks for reviewing this, @crodriguezvega

@catShaark catShaark changed the title add changes on : ClientState, Header, Misbehaviour, ConsensState, lig… Add migration docs for 02-client refactor Apr 26, 2022
Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
Co-authored-by: Sean King <seantking@users.noreply.github.com>
Copy link
Contributor

@seantking seantking left a comment

Choose a reason for hiding this comment

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

Great work :-)

catShaark and others added 2 commits April 29, 2022 10:24
Copy link
Contributor

@colin-axner colin-axner left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!

docs/migrations/v3-to-v4.md Outdated Show resolved Hide resolved
docs/migrations/v3-to-v4.md Show resolved Hide resolved
@crodriguezvega crodriguezvega merged commit e1f2103 into cosmos:02-client-refactor May 10, 2022
@crodriguezvega crodriguezvega mentioned this pull request May 30, 2022
9 tasks
oshorefueled pushed a commit to ComposableFi/ibc-go that referenced this pull request Aug 9, 2022
* add changes on : ClientState, Header, Misbehaviour, ConsensState, light client impl  to migration doc

* Update docs/migrations/v3-to-v4.md

Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>

* Update docs/migrations/v3-to-v4.md

Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>

* Update docs/migrations/v3-to-v4.md

Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>

* Update docs/migrations/v3-to-v4.md

Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>

* Update docs/migrations/v3-to-v4.md

Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>

* Update docs/migrations/v3-to-v4.md

Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>

* add more entries and more description

* Update docs/migrations/v3-to-v4.md

Co-authored-by: Carlos Rodriguez <carlos@interchain.io>

* Update docs/migrations/v3-to-v4.md

Co-authored-by: Carlos Rodriguez <carlos@interchain.io>

* Update docs/migrations/v3-to-v4.md

Co-authored-by: Carlos Rodriguez <carlos@interchain.io>

* Update docs/migrations/v3-to-v4.md

Co-authored-by: Carlos Rodriguez <carlos@interchain.io>

* Update docs/migrations/v3-to-v4.md

Co-authored-by: Carlos Rodriguez <carlos@interchain.io>

* Update docs/migrations/v3-to-v4.md

Co-authored-by: Carlos Rodriguez <carlos@interchain.io>

* Update docs/migrations/v3-to-v4.md

Co-authored-by: Carlos Rodriguez <carlos@interchain.io>

* Update docs/migrations/v3-to-v4.md

Co-authored-by: Carlos Rodriguez <carlos@interchain.io>

* Update docs/migrations/v3-to-v4.md

Co-authored-by: Sean King <seantking@users.noreply.github.com>

* Update docs/migrations/v3-to-v4.md

Co-authored-by: Carlos Rodriguez <carlos@interchain.io>

* update migration doc

* update migration doc

* update migration doc

Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
Co-authored-by: Sean King <seantking@users.noreply.github.com>
CosmosCar pushed a commit to caelus-labs/ibc-go that referenced this pull request Nov 6, 2023
Fixes cosmos#1283 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

Refactor:
- Improvement: Enhanced the transaction handling process in the
`TxMempool` module. Transactions are now more accurately filtered based
on their gas and data size limits, ensuring that only valid transactions
are processed. This update improves the overall efficiency and
reliability of transaction processing.

Tests:
- Test: Added a new test, `TestTxMempoolTxLargerThanMaxBytes`, to verify
the correct handling of large transactions. This ensures the robustness
of the system when dealing with transactions of varying sizes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Ganesha Upadhyaya <gupadhyaya@Ganeshas-MacBook-Pro-2.local>
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