You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pegasus implements denom prefixing semantics for IBC connections, as described in the ICS 20 spec
Notably, when IBC-Pegasus sends remotePegged tokens back to their source, the sent denom string must be prefixed with their source's port and channel, such as: {ics20Port}/{ics20Channel}/{denom}. When IBC-Pegasus receives a packet, localPegged tokens must only be matched if they use the channel's local prefix.
token source
packet sender
action
local
us
no prefix
local
them
verify and strip their prefix
remote
us
add our prefix
remote
them
no prefix
Platform Environment
what OS are you using? what version of Node.js?
is there anything special/unusual about your platform?
what version of the Agoric-SDK are you using? (run git describe --tags --always)
Additional context
Add any other context about the problem here.
Screenshots
If applicable, add screenshots to help explain your problem, especially for UI interactions.
The text was updated successfully, but these errors were encountered:
Describe the bug
To Reproduce
From
@simpletrontdip
on Discord (https://discord.com/channels/585576150827532298/766087740336635924/943026098986422314):Pegasus seems to send an IBC package with non-prefixed denom (uphoton instead of pegasus/channel-0/uphoton)
This makes the target chain treat it as a remote one (although it was sent back)
Expected behavior
Pegasus implements denom prefixing semantics for IBC connections, as described in the ICS 20 spec
Notably, when IBC-Pegasus sends remotePegged tokens back to their source, the sent denom string must be prefixed with their source's port and channel, such as:
{ics20Port}/{ics20Channel}/{denom}
. When IBC-Pegasus receives a packet, localPegged tokens must only be matched if they use the channel's local prefix.Platform Environment
git describe --tags --always
)Additional context
Add any other context about the problem here.
Screenshots
If applicable, add screenshots to help explain your problem, especially for UI interactions.
The text was updated successfully, but these errors were encountered: