Skip to content

sequencer: fix denom prefix on balance check in ICS20 transfer #849

@noot

Description

@noot

from zellic:

The prefix is not removed from the incoming denom when Astria was the original source This means the asset will have a different id and the escrow balance key will not match as it was set using the unprefixed denom id. -

if is_source(source_port, source_channel, &denom, is_refund) {
// sender of packet (us) was the source chain
// subtract balance from escrow account and transfer to user

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingsequencerpertaining to the astria-sequencer crate

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions