Closed juliopavila closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
zodiac-safe-app-ui | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 1, 2024 8:05pm |
@juliopavila, would you mind also bumping the package version so we can publish a new release immediately?
Bug Report
https://discord.com/channels/881881751369175040/1032974561735606322/1268312094386950286
Implementation
In the
packages/app/src/views/AddModule/wizards/OzGovernor/service/tokenValidation.ts
file, the following changes were made to fix the bug:tokenContract.delegates(RANDOM_VALID_ADDRESS)
withtokenContract.delegates.staticCall(RANDOM_VALID_ADDRESS)
.These changes ensure the application correctly identifies and calls the
delegateBySig
function on the contract, addressing the issues caused by the proxy contract used by the Arbitrum Foundation.Additional Context
The error reported was:
This error occurred while testing with the Arbitrum Foundation's address
0x912CE59144191C1204E64559FE8253a0e49E6548
. The application was not seeing thedelegateBySig()
function on the contract, likely due to the proxy contract being used.Commit Changes
This change ensures that the function calls are correctly handled and improves compatibility with contracts deployed on all networks, specifically addressing the issues with proxy contracts.