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

x/ibc: simulation store decoders #6247

Merged
merged 13 commits into from
Jun 10, 2020
Merged

x/ibc: simulation store decoders #6247

merged 13 commits into from
Jun 10, 2020

Conversation

fedekunze
Copy link
Collaborator

Description

closes: #5935

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.


For contributor use:

  • 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

@codecov
Copy link

codecov bot commented Jun 9, 2020

Codecov Report

Merging #6247 into master will increase coverage by 0.09%.
The diff coverage is 97.33%.

@@            Coverage Diff             @@
##           master    #6247      +/-   ##
==========================================
+ Coverage   55.60%   55.69%   +0.09%     
==========================================
  Files         457      464       +7     
  Lines       27444    27519      +75     
==========================================
+ Hits        15259    15328      +69     
- Misses      11084    11090       +6     
  Partials     1101     1101              

@fedekunze fedekunze added R4R and removed WIP labels Jun 9, 2020
@fedekunze fedekunze marked this pull request as ready for review June 9, 2020 19:44
Copy link
Member

@AdityaSripal AdityaSripal left a comment

Choose a reason for hiding this comment

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

LGTM, just one nit


kvPairs := tmkv.Pairs{
tmkv.Pair{
Key: append(host.KeyClientStorePrefix, append([]byte("/"+clientID+"/"), host.KeyClientState()...)...),
Copy link
Member

Choose a reason for hiding this comment

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

nit: Can these appends be in a helper function?

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.

LGTM, nice work!

@fedekunze fedekunze added the A:automerge Automatically merge PR once all prerequisites pass. label Jun 10, 2020
@mergify mergify bot merged commit 744c1ce into master Jun 10, 2020
@mergify mergify bot deleted the fedekunze/5935-ibc-decoders branch June 10, 2020 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass. C:Simulations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IBC simulation of import/export
3 participants