From afa9e1051d4365b8ec63de6cddbbd9c4ce34336b Mon Sep 17 00:00:00 2001 From: juliopavila Date: Thu, 1 Aug 2024 14:59:43 -0300 Subject: [PATCH 1/2] fix: governor mod token validation --- .../AddModule/wizards/OzGovernor/service/tokenValidation.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 From 376e105a5670886aeb18a3013518292403c5a508 Mon Sep 17 00:00:00 2001 From: juliopavila Date: Thu, 1 Aug 2024 17:04:16 -0300 Subject: [PATCH 2/2] v.1.5.1 --- packages/app/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",