Skip to content

Conversation

@vladjdk
Copy link
Member

@vladjdk vladjdk commented Oct 10, 2025

closes: #570

Adds the address codec in ERC20 callbacks to allow for 0x recipients to unescrow their native ERC20s after they had sent it to another chain. Tested with an integration test.

Copy link
Member

@srdtrk srdtrk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work. There is an API break, so the PR title should reflect that.

I added my comments. I'm curious if we should make changes to to x/ibc/callbacks and/or x/ibc/transfer as well.

Copy link
Member

@almk-dev almk-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, minor comments.

Copy link
Member

@almk-dev almk-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG 🚀

@almk-dev
Copy link
Member

NIt: could we undo the weird spacing changes introduced by this commit 7be479d? It makes diffs harder to read, especially for argument/param lists.

Copy link
Member

@srdtrk srdtrk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm. I added two more suggestions. This can be merged even without those suggestions imo.

@vladjdk vladjdk enabled auto-merge October 10, 2025 17:31
@vladjdk vladjdk added this pull request to the merge queue Oct 10, 2025
Merged via the queue into main with commit 720ba9c Oct 10, 2025
20 checks passed
@vladjdk vladjdk deleted the vlad/erc20-address-codec branch October 10, 2025 17:50
zsystm pushed a commit to zsystm/evm that referenced this pull request Nov 2, 2025
* use address codec in erc20 callbacks

* add test and ibc-go v10.4.0 as a hash (temporarily)

* lint

* cl cl cl

* systest gomod

* rename encodings

* use accountkeeper

* remove weird helper function

* rename misleading test

* fix comments

* undo spacing

* lint
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.

feat: support address codec in erc20 callbacks

4 participants