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

fix: set ZETA token address from constructor argument #151

Merged
merged 2 commits into from
Jun 14, 2024

Conversation

fadeev
Copy link
Member

@fadeev fadeev commented Jun 7, 2024

Reverting back to setting ZETA token address explicitly through a constructor argument, instead of reading it from the connector, because connector on Ethereum and BNB has ZETA token address stored in zetaToken, and connector on ZetaChain has ZETA token address stored in WZETA (zeta-chain/protocol-contracts#158) Thus, we can't use the same constructor to read ZETA token address, so we have to revert back to passing it explicitly.

Tested messaging to and from ZetaChain, it works.

https://zetachain-athens-3.blockscout.com/address/0xf401596Ff974F379cE85F727D2F2dc441a319e06?tab=logs

https://sepolia.etherscan.io/address/0x08b6C291B45949A2ab646C1969493913F1771DFc#events

@fadeev fadeev marked this pull request as ready for review June 7, 2024 15:18
@fadeev fadeev requested review from andresaiello, lucas-janon and a team as code owners June 7, 2024 15:18
Copy link
Collaborator

@GMaiolo GMaiolo left a comment

Choose a reason for hiding this comment

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

Concept ACK

@fadeev fadeev merged commit 9462da3 into main Jun 14, 2024
5 checks passed
@fadeev fadeev deleted the constructor-zeta-token branch June 14, 2024 23:56
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.

3 participants