pokt-network / pocket

Official implementation of the Pocket Network Protocol v1
https://pokt.network
MIT License
61 stars 33 forks source link

[IBC] Implement ICS-24 - Tracking IBC store transitions in the network state #847

Closed h5law closed 11 months ago

h5law commented 1 year ago

Description

Summary generated by Reviewpad on 12 Jul 23 20:45 UTC

This pull request includes the following changes:

Issue

Fixes #840

Type of change

Please mark the relevant option(s):

List of changes

Testing

Required Checklist

If Applicable Checklist

h5law commented 1 year ago

Note: This PR is based ontop of #843 (inturn also on #756), #842 and #845 but the main logic for the mempool interactions, ICS-23 proof generation/verification and ICS-24 stores is in place

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 18.91% and project coverage change: -0.54 :warning:

Comparison is base (89cc3b0) 31.44% compared to head (0a0a067) 30.91%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## ibc/initial_module #847 +/- ## ====================================================== - Coverage 31.44% 30.91% -0.54% ====================================================== Files 110 114 +4 Lines 9190 9595 +405 ====================================================== + Hits 2890 2966 +76 - Misses 5955 6282 +327 - Partials 345 347 +2 ``` | [Impacted Files](https://app.codecov.io/gh/pokt-network/pocket/pull/847?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pokt-network) | Coverage Δ | | |---|---|---| | [ibc/store/provable\_store.go](https://app.codecov.io/gh/pokt-network/pocket/pull/847?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pokt-network#diff-aWJjL3N0b3JlL3Byb3ZhYmxlX3N0b3JlLmdv) | `0.00% <0.00%> (ø)` | | | [persistence/trees/trees.go](https://app.codecov.io/gh/pokt-network/pocket/pull/847?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pokt-network#diff-cGVyc2lzdGVuY2UvdHJlZXMvdHJlZXMuZ28=) | `0.00% <0.00%> (ø)` | | | [persistence/types/ibc.go](https://app.codecov.io/gh/pokt-network/pocket/pull/847?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pokt-network#diff-cGVyc2lzdGVuY2UvdHlwZXMvaWJjLmdv) | `0.00% <0.00%> (ø)` | | | [shared/core/types/error.go](https://app.codecov.io/gh/pokt-network/pocket/pull/847?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pokt-network#diff-c2hhcmVkL2NvcmUvdHlwZXMvZXJyb3IuZ28=) | `5.84% <0.00%> (-0.21%)` | :arrow_down: | | [shared/messaging/events.go](https://app.codecov.io/gh/pokt-network/pocket/pull/847?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pokt-network#diff-c2hhcmVkL21lc3NhZ2luZy9ldmVudHMuZ28=) | `0.00% <ø> (ø)` | | | [utility/unit\_of\_work/transaction.go](https://app.codecov.io/gh/pokt-network/pocket/pull/847?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pokt-network#diff-dXRpbGl0eS91bml0X29mX3dvcmsvdHJhbnNhY3Rpb24uZ28=) | `45.20% <0.00%> (ø)` | | | [utility/unit\_of\_work/tx\_message\_handler.go](https://app.codecov.io/gh/pokt-network/pocket/pull/847?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pokt-network#diff-dXRpbGl0eS91bml0X29mX3dvcmsvdHhfbWVzc2FnZV9oYW5kbGVyLmdv) | `32.22% <0.00%> (-2.30%)` | :arrow_down: | | [utility/unit\_of\_work/tx\_message\_signers.go](https://app.codecov.io/gh/pokt-network/pocket/pull/847?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pokt-network#diff-dXRpbGl0eS91bml0X29mX3dvcmsvdHhfbWVzc2FnZV9zaWduZXJzLmdv) | `37.50% <0.00%> (-6.25%)` | :arrow_down: | | [utility/utility\_message\_handler.go](https://app.codecov.io/gh/pokt-network/pocket/pull/847?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pokt-network#diff-dXRpbGl0eS91dGlsaXR5X21lc3NhZ2VfaGFuZGxlci5nbw==) | `0.00% <ø> (ø)` | | | [ibc/store/proofs\_ics23.go](https://app.codecov.io/gh/pokt-network/pocket/pull/847?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pokt-network#diff-aWJjL3N0b3JlL3Byb29mc19pY3MyMy5nbw==) | `92.68% <92.68%> (ø)` | | | ... and [1 more](https://app.codecov.io/gh/pokt-network/pocket/pull/847?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pokt-network) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

gitguardian[bot] commented 1 year ago

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them. Once a secret has been leaked into a git repository, you should consider it compromised, even if it was deleted immediately. Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

h5law commented 1 year ago

🚨 I REWROTE HISTORY 🚨

This PR was based off of numerous other branches which have now been merged into main. Because of this I have rebased entirely off of ibc/ics23_integration and this the commit history has changed.

h5law commented 11 months ago

Can you please merge with main before we take another look at this?

@Olshansk Dunno why it did this, I merged with main earlier today o-o did again should be fine now

Olshansk commented 11 months ago

@h5law Replied to some of the lingering comments. Re-request a review once done / replied to and I'll take a final look.