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(ucs01-relay): create pfm events st hubble can track outgoing hop packets #2057

Conversation

PoisonPhang
Copy link
Contributor

@PoisonPhang PoisonPhang commented Jun 7, 2024

  • Add event for PFM hops (expected format below)
  • Cleanup existing PFM events
  • Remove uses of unwrap relevant to PFM

PFM Hop Event Structure

packet_forward_hop:
  - recv_sequence: <u64>
  - dest_channel: <String>
  - dest_port: <String>
  - sent_sequence: <u64>
  - src_channel: <String>
  - src_port: <String>

Real Example

Osmosis -> Union -> Ethereum

- attributes:
  - index: true
    key: _contract_address
    value: union1uvagqv5qy0d6udhj3wq74jxelqs8nl7rxdun4fdtymhv24d4zrcs9n97rr
  - index: true
    key: recv_sequence
    value: "1"
  - index: true
    key: dest_channel
    value: channel-0
  - index: true
    key: dest_port
    value: wasm.union1uvagqv5qy0d6udhj3wq74jxelqs8nl7rxdun4fdtymhv24d4zrcs9n97rr
  - index: true
    key: sent_sequence
    value: "1"
  - index: true
    key: src_channel
    value: channel-0
  - index: true
    key: src_port
    value: transfer
  - index: true
    key: msg_index
    value: "0"
  type: wasm-packet_forward_hop

@PoisonPhang PoisonPhang added the C-enhancement Category: An issue proposing an enhancement or a PR with one. label Jun 7, 2024
@PoisonPhang PoisonPhang self-assigned this Jun 7, 2024
@PoisonPhang PoisonPhang linked an issue Jun 7, 2024 that may be closed by this pull request
@PoisonPhang PoisonPhang force-pushed the 2056-create-pfm-events-st-hubble-can-track-outgoing-hop-packets branch from 6ad876c to 76c523a Compare June 7, 2024 06:30
@PoisonPhang PoisonPhang merged commit b12c744 into main Jun 7, 2024
36 checks passed
@PoisonPhang PoisonPhang deleted the 2056-create-pfm-events-st-hubble-can-track-outgoing-hop-packets branch June 7, 2024 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create PFM events s.t. Hubble can track outgoing hop packets
2 participants