SIGN IN SIGN UP
unionlabs / union UNCLAIMED

The trust-minimized, zero-knowledge bridging protocol, designed for censorship resistance, extremely high security, and usage in decentralized finance.

0 0 174 Rust

fix(evm): ucs01: revert invalid change in denom prefixing (#2729)

Revert changes made in https://github.com/unionlabs/union/pull/2672
where we wrongly switched the prefixing. See `onRecvPacket` function in
https://github.com/cosmos/ibc/tree/main/spec/app/ics-020-fungible-token-transfer:
```js
    // we are the source if the packets were prefixed by the sending chain
    // if the sender sends the tokens prefixed with their channel end's
    // port and channel identifiers then we are receiving tokens we 
    // previously had sent to the sender, thus we are receiving the tokens
    // as a source zone
    if isTracePrefixed(packet.sourcePort, packet.sourceChannel, token) {
```
H
hussein-aitlahcen committed
1e76e158e465251e0a83757a09db18e40168421c
Committed by GitHub <noreply@github.com> on 8/12/2024, 9:55:10 AM