-
Notifications
You must be signed in to change notification settings - Fork 586
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
imp!: removed 'ConsensusHost' interface #6937
Conversation
* imp: removed ValidateSelfClient * docs: updated a godoc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wooo! Super excited with all these red diffs. So nice to see a reduction in complexity!! Thanks for ripping this out @srdtrk and thank you @crodriguezvega for the docs!
I think it might be nice to keep an eye on code cov here. I think I found 1 small unit tests which should be added back, and I'm wondering it might be hard to catch others accidentally removed like this
) (string, error) { | ||
// generate a new connection | ||
connectionID := k.GenerateConnectionIdentifier(ctx) | ||
|
||
// check that the consensus height the counterparty chain is using to store a representation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these diffs are the ones we will backport
if msg.PreviousConnectionId != "" { | ||
return errorsmod.Wrap(ErrInvalidConnectionIdentifier, "previous connection identifier must be empty, this field has been deprecated as crossing hellos are no longer supported") | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
opened #6987 as I feel we should just reserve this field now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lovely to see this, great trimming! I also noticed we have the Staking keeper interface still in 02-client's expected keeper's, might as well drop that too.
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>
Quality Gate passed for 'ibc-go'Issues Measures |
* imp(02-client,03-connection)!: remove `ValidateSelfClient` (#6853) * imp: removed ValidateSelfClient * docs: updated a godoc * imp: deleted consensus host from core * imp(08-wasm): removed consensus host * imp: fix linter * imp: fixed linter * imp: fixed simapp * imp: updated docs * imp: removed more code * revert * imp: removed unneeded proto fields * imp: lint * lint * imp: auto generated code * imp: removed conflicts * imp: removed more code * fix: tests * feat: all tests passing * fix: added the reserved proto fields back with deprecation notice * style: linted * imp: regenerated proto * imp: review item * revert: conn name change * docs: added changelog * add godoc string of QueryConnectionHandshakeProof * add migration docs for ibc-go * Update CHANGELOG.md * update changelog * imp(proto): added deprecation notice to field * imp: ran 'make proto-all' * imp: removed unused keeper * Update CHANGELOG.md Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> * Update docs/docs/05-migrations/13-v8-to-v9.md Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> * Update docs/docs/05-migrations/13-v8-to-v9.md Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> --------- Co-authored-by: Carlos Rodriguez <carlos@interchain.io> Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> (cherry picked from commit 2028e9a) # Conflicts: # CHANGELOG.md # docs/docs/01-ibc/02-integration.md # docs/docs/05-migrations/13-v8-to-v9.md # modules/core/02-client/keeper/keeper.go # modules/core/keeper/keeper.go # modules/light-clients/08-wasm/CHANGELOG.md
* imp!: removed 'ConsensusHost' interface (#6937) * imp(02-client,03-connection)!: remove `ValidateSelfClient` (#6853) * imp: removed ValidateSelfClient * docs: updated a godoc * imp: deleted consensus host from core * imp(08-wasm): removed consensus host * imp: fix linter * imp: fixed linter * imp: fixed simapp * imp: updated docs * imp: removed more code * revert * imp: removed unneeded proto fields * imp: lint * lint * imp: auto generated code * imp: removed conflicts * imp: removed more code * fix: tests * feat: all tests passing * fix: added the reserved proto fields back with deprecation notice * style: linted * imp: regenerated proto * imp: review item * revert: conn name change * docs: added changelog * add godoc string of QueryConnectionHandshakeProof * add migration docs for ibc-go * Update CHANGELOG.md * update changelog * imp(proto): added deprecation notice to field * imp: ran 'make proto-all' * imp: removed unused keeper * Update CHANGELOG.md Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> * Update docs/docs/05-migrations/13-v8-to-v9.md Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> * Update docs/docs/05-migrations/13-v8-to-v9.md Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> --------- Co-authored-by: Carlos Rodriguez <carlos@interchain.io> Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> (cherry picked from commit 2028e9a) # Conflicts: # CHANGELOG.md # docs/docs/01-ibc/02-integration.md # docs/docs/05-migrations/13-v8-to-v9.md # modules/core/02-client/keeper/keeper.go # modules/core/keeper/keeper.go # modules/light-clients/08-wasm/CHANGELOG.md * fix merge conflicts, changelog, delete docs, keeper fns --------- Co-authored-by: srdtrk <59252793+srdtrk@users.noreply.github.com> Co-authored-by: Colin Axnér <25233464+colin-axner@users.noreply.github.com>
Description
closes: #XXXX
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.
docs/
).godoc
comments.Files changed
in the GitHub PR explorer.SonarCloud Report
in the comment section below once CI passes.