Skip to content

Commit

Permalink
fix: governor mod token validation
Browse files Browse the repository at this point in the history
  • Loading branch information
juliopavila committed Aug 1, 2024
1 parent 802c296 commit afa9e10
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit afa9e10

Please sign in to comment.