Skip to content

Commit

Permalink
feat: Add quorumType to space settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR committed Mar 14, 2024
1 parent 0a69ff0 commit cadb5e1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/schemas/space.json
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@
"type": "number",
"minimum": 0
},
"quorumType": {
"type": "string",
"enum": ["optimistic"]
},
"blind": {
"type": "boolean"
},
Expand Down
4 changes: 2 additions & 2 deletions src/sign/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ const VERSION = '0.1.4';

export const domain = {
name: NAME,
version: VERSION
// chainId: 1
version: VERSION,
chainId: 1
};

export default class Client {
Expand Down
3 changes: 2 additions & 1 deletion test/examples/space.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
},
"voting":{
"delay": 2592000,
"period": 15552000
"period": 15552000,
"quorum": 100
}
}

0 comments on commit cadb5e1

Please sign in to comment.