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

userData during automatic ERC777 peg-in-on-sends needs cropping... #41

Open
gskapka opened this issue Feb 21, 2023 · 0 comments
Open

userData during automatic ERC777 peg-in-on-sends needs cropping... #41

gskapka opened this issue Feb 21, 2023 · 0 comments

Comments

@gskapka
Copy link
Collaborator

gskapka commented Feb 21, 2023

After we decode the required params to handle the automatic peg-in on ERC777 send, we then pass the full userData to the emitted event. Instead we should crop out the bytes required during the first decoding and pass through only what remains.

This line here is where the userData needs cropping.

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

No branches or pull requests

1 participant