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

feat: packet-forward-middleware #1562

Merged
merged 77 commits into from
Jun 6, 2024

Conversation

PoisonPhang
Copy link
Contributor

@PoisonPhang PoisonPhang commented Mar 14, 2024

  • Add processing and handling for PFM memos to UCS01 coswmwasm
  • Forward packet to next channel/port
  • Unwrap the next pfm into the memo
  • Create uniond go module to supplement differed ack
  • Update to cosmwasm 2.0 for nil ack equivalent
  • Return nil ack on PFM received messages
  • Remove fee collection functionality from PFM
  • Implement ICS20 portion of cosmwasm contract
  • Write upgrade migration to include the deferredack module in uniond
  • Support PFM packets originating from evm (first hop through Union)
    • Add memo to ucs01-relay Solidity contract
    • Update ucli to support memo on evm transactions
    • Testing

Consequences of Intermediate Go Module

The introduction of the go module will lead to tech debt that will need to be resolved once async ack is introduced into a released version of cosmwasm.

Once async ack is made available, we'll need to:

  1. Upgrade the contract to no longer use the go module and instead use async ack
  2. Upgrade the node to remove the intermediate module

@PoisonPhang PoisonPhang linked an issue Mar 14, 2024 that may be closed by this pull request
@PoisonPhang PoisonPhang changed the title 1547 integrate packet forward middleware for usc feat: packet-forward-middleware Mar 14, 2024
@cor
Copy link
Contributor

cor commented Mar 15, 2024

Add a storage upgrade to the next migration to initialize PFM

Given that we'll have a consensus breaking change requiring a reboot anyways, feel free to just skip creating a migration

@PoisonPhang PoisonPhang self-assigned this Mar 27, 2024
@PoisonPhang PoisonPhang force-pushed the 1547-integrate-packet-forward-middleware-for-usc branch from 6b23e7b to 96293ec Compare March 27, 2024 15:46
@PoisonPhang PoisonPhang force-pushed the 1547-integrate-packet-forward-middleware-for-usc branch from 96293ec to 1a76501 Compare April 8, 2024 15:20
@PoisonPhang PoisonPhang force-pushed the 1547-integrate-packet-forward-middleware-for-usc branch 2 times, most recently from 0bfdbc2 to a84c86a Compare May 8, 2024 15:44
@PoisonPhang PoisonPhang force-pushed the 1547-integrate-packet-forward-middleware-for-usc branch 2 times, most recently from d76d39c to e5b6dea Compare May 23, 2024 01:21
@PoisonPhang
Copy link
Contributor Author

Testing is temporarily blocked by #1969

@PoisonPhang PoisonPhang force-pushed the 1547-integrate-packet-forward-middleware-for-usc branch 2 times, most recently from d00557d to 7c76d6f Compare May 28, 2024 13:29
@PoisonPhang PoisonPhang force-pushed the 1547-integrate-packet-forward-middleware-for-usc branch 2 times, most recently from b43b0a4 to a8bc027 Compare May 30, 2024 08:13
@PoisonPhang PoisonPhang force-pushed the 1547-integrate-packet-forward-middleware-for-usc branch from 1a3df60 to 2dd8bce Compare June 3, 2024 09:07
@aeryz aeryz force-pushed the 1547-integrate-packet-forward-middleware-for-usc branch 2 times, most recently from 83e398a to d4cd34c Compare June 5, 2024 17:59
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
@aeryz aeryz force-pushed the 1547-integrate-packet-forward-middleware-for-usc branch from d4cd34c to 7347141 Compare June 5, 2024 18:00
@aeryz aeryz merged commit 17f9053 into main Jun 6, 2024
79 checks passed
@aeryz aeryz deleted the 1547-integrate-packet-forward-middleware-for-usc branch June 6, 2024 07:12
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.

Integrate packet-forward-middleware for USC
5 participants