Skip to content

Commit

Permalink
changed setup finalizing
Browse files Browse the repository at this point in the history
  • Loading branch information
ssubik committed Feb 15, 2023
1 parent 2b41065 commit d49d2d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions scripts/migrations/deployment/5_deploy_governor.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ const MultiSigWallet_address = MultiSigWallet.address;
const initialVotingDelay = 86400; //Approx. 2 days with one block every 2s
const votingPeriod = 216000; // approx. 5 days with one block every 2s -- (5 * 24 * 60 * 60) / 2,
const initialProposalThreshold = 1000;
// time delay is in timestamp not block.
// below are in timestamp and not blocks
// Each user cannot make proposals if they have recently made a proposal, for a given time delay.
// This given delay is proposalTimeDelay, the time between multiple proposals for each user
const proposalTimeDelay = 86400;
const proposalTimeDelay = 86400; // 1 day
// After the proposal is created, till what time period the proposal can be executed.
// After the lifetime exceeds, the proposal can’t be executed.
const proposalLifetime = 14 * 86400;
const proposalLifetime = 60 * 86400; // 2months


module.exports = async function(deployer) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/migrations/setup/1_init_timelock_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const ITimelockController = artifacts.require('./dao/governance/interfaces/ITime
// A Scheduled operation is an operation that becomes valid after a given delay.
// Once the delay time has passed, the operation can be performed. Each schedules delay must be at least minDelay.
// minDelay is set in the initialize function call, and can be updated using function updateDelay.
const minDelay = 86400
const minDelay = 7 * 86400 // 14 days, with 2s blocks
const proposers = [MainTokenGovernor.address];
const executors = [MainTokenGovernor.address];

Expand Down

0 comments on commit d49d2d0

Please sign in to comment.