diff --git a/packages/app/package.json b/packages/app/package.json index c2fac48..240571f 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -1,6 +1,6 @@ { "name": "zodiac-app", - "version": "1.5.0", + "version": "1.5.1", "private": true, "homepage": "./", "type": "module", diff --git a/packages/app/src/views/AddModule/wizards/OzGovernor/service/tokenValidation.ts b/packages/app/src/views/AddModule/wizards/OzGovernor/service/tokenValidation.ts index d76e287..f4bff07 100644 --- a/packages/app/src/views/AddModule/wizards/OzGovernor/service/tokenValidation.ts +++ b/packages/app/src/views/AddModule/wizards/OzGovernor/service/tokenValidation.ts @@ -20,10 +20,9 @@ export const isVotesCompilable = (provider: BrowserProvider) => async (tokenAddr tokenContract.getVotes(RANDOM_VALID_ADDRESS), tokenContract.getPastVotes(RANDOM_VALID_ADDRESS, RANDOM_BLOCK_NUMBER), tokenContract.getPastTotalSupply(RANDOM_BLOCK_NUMBER), - tokenContract.delegates(RANDOM_VALID_ADDRESS), + tokenContract.delegates.staticCall(RANDOM_VALID_ADDRESS), ]) - // @ts-ignore - tokenContract.functions['delegateBySig'].name + tokenContract.delegateBySig.name } catch (e) { console.log(e) return false