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

Fix: isMember function for tokenVoting plugin #310

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modules/client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ TEMPLATE:
### Fixed

- Added missing security check that checks that the `to` address in the permission actions is the DAO address
- Fix isMember function for tokenVoting DAOs by reversing the query id order

## [1.19.2]

Expand Down
2 changes: 1 addition & 1 deletion modules/client/src/tokenVoting/internal/client/methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ export class TokenVotingClientMethods extends ClientCore
query,
params: {
id:
`${params.pluginAddress.toLowerCase()}_${params.address.toLowerCase()}`,
`${params.address.toLowerCase()}_${params.pluginAddress.toLowerCase()}`,
blockHeight: params.blockNumber ? { number: params.blockNumber } : null,
},
name,
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15955,3 +15955,4 @@ yup@^1.2.0:
tiny-case "^1.0.3"
toposort "^2.0.2"
type-fest "^2.19.0"

Loading