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

feat: update token for upgradable transactions where implementation i… #348

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kiriyaga-txfusion
Copy link

@kiriyaga-txfusion kiriyaga-txfusion commented Dec 4, 2024

…s token

What ❔

This PR updates the token reference in the database for Transparent and UUPS proxies linked to ERC20 token implementations. The upgradable transaction handler detects and replaces outdated tokens with the correct updated version.

Why ❔

Users can modify the symbol, name, and decimals of tokens deployed as proxies, so these details must be updated in the database to ensure they are displayed correctly in the UI. Note that Etherscan does not support this feature, and certain proxy patterns, such as Beacon proxies, are not affected in our case. (since beacon is upgraded but beacon proxy points to him).

This is a PR for this issue:
#326

Checklist

  • [+] PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • [+] Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.

Copy link

github-actions bot commented Dec 4, 2024

API E2E Test Results

207 tests   207 ✅  19s ⏱️
 14 suites    0 💤
  1 files      0 ❌

Results for commit e39da6d.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 4, 2024

Unit Test Results

    4 files    265 suites   11m 20s ⏱️
2 135 tests 2 134 ✅ 1 💤 0 ❌
2 347 runs  2 346 ✅ 1 💤 0 ❌

Results for commit e39da6d.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 4, 2024

Visit the preview URL for this PR:
https://staging-scan-v2--pr-348-ag79m18c.web.app

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.

2 participants