Skip to content

Commit

Permalink
Updates new contract deployment info
Browse files Browse the repository at this point in the history
  • Loading branch information
emmdim committed Nov 9, 2023
1 parent 1ce1129 commit 6d99a28
Show file tree
Hide file tree
Showing 5 changed files with 465 additions and 30 deletions.
38 changes: 19 additions & 19 deletions packages/contracts/deployments/goerli/VocdoniVotingSetup.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions packages/contracts/plugin-info.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
{
"goerli": {
"repo": "vocdoni-offchain-voting-poc-13",
"address": "0xD2F3a1dCb24949D6d4a9d161f28BDeDFEc805BED",
"repo": "vocdoni-gasless-voting-poc",
"address": "0x74057f3F3809a874f28E3EbE80A1f1a5a137b64E",
"args": [],
"blockNumberOfDeployment": 10001521,
"blockNumberOfDeployment": 10008529,
"releases": {
"1": {
"builds": {
"1": {
"setup": {
"name": "VocdoniVotingSetup",
"address": "0x72F16919A4230049424660f6AB4F617660F5Aefb",
"address": "0xf8454f52f3ecA6c1a9E5Da0119173832F208ab18",
"args": [],
"blockNumberOfDeployment": 10001451
"blockNumberOfDeployment": 10008531
},
"implementation": {
"name": "VocdoniVoting",
"address": "0x3DE5732d19828f04fA616dEF5bD32B7F72cB2170",
"address": "0x46f31156Ff2557EA7C1E592bdB3Ad81CfCCE297c",
"args": [],
"blockNumberOfDeployment": 10001451
"blockNumberOfDeployment": 10008531
},
"helpers": [],
"buildMetadataURI": "ipfs://QmSH3MLwaKV4SH4r4RdrqFQUoSjk97H2Z4VjMewXvu7yLT",
"blockNumberOfPublication": 10001522
"blockNumberOfPublication": 10008533
}
},
"releaseMetadataURI": "ipfs://QmcuUcHeFcQe4LhLyXBkLCxU61Asy6nYi1WRYZ6C4Ui42V"
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/plugin-settings.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import buildMetadata from './src/build-metadata.json';
import releaseMetadata from './src/release-metadata.json';

export const PLUGIN_REPO_ENS_NAME = 'vocdoni-offchain-voting-poc-13';
export const PLUGIN_REPO_ENS_NAME = 'vocdoni-gasless-voting-poc';
export const PLUGIN_CONTRACT_NAME = 'VocdoniVoting';
export const PLUGIN_SETUP_CONTRACT_NAME = 'VocdoniVotingSetup';

Expand Down
4 changes: 2 additions & 2 deletions packages/contracts/src/VocdoniVoting.sol
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ contract VocdoniVoting is
});
}

if (_pluginSettings.minVoteDuration < 60 minutes) {
if (_pluginSettings.minVoteDuration < 5 minutes) {
revert VoteDurationOutOfBounds({
limit: 60 minutes,
actual: _pluginSettings.minVoteDuration
Expand All @@ -284,7 +284,7 @@ contract VocdoniVoting is
});
}

if (_pluginSettings.minTallyDuration < 60 minutes) {
if (_pluginSettings.minTallyDuration < 5 minutes) {
revert TallyDurationOutOfBounds({
limit: 60 minutes,
actual: _pluginSettings.minTallyDuration
Expand Down

0 comments on commit 6d99a28

Please sign in to comment.