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

Token fields are not updated when token's implementation updates #326

Open
Romsters opened this issue Nov 25, 2024 · 0 comments
Open

Token fields are not updated when token's implementation updates #326

Romsters opened this issue Nov 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Romsters
Copy link
Collaborator

🐛 Bug Report

If token contract is a Proxy, when implementation changes the token's fields in the explorer DB are not updated. Each time when implementation is updated token name, decimals and symbol have to be updated.

More info here:

zkSync-Community-Hub/zksync-developers#245

🔄 Reproduction Steps

  • Create a proxy token contract;
  • Make a transfer;
  • Change implementation and update decimals value;
  • Make another transfer;
  • Both transfers would have the original decimals value;

🤔 Expected Behavior

After every implementation update token's name, symbol and decimals should be updated.

😯 Current Behavior

On implementation update token's name, symbol and decimals are not updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants