Skip to content

Commit

Permalink
Fix doc example (#1256)
Browse files Browse the repository at this point in the history
* fix: example

* feat: apply review updates
  • Loading branch information
ericnordelo authored Dec 12, 2024
1 parent 86debd4 commit f7fdf6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/governance/governor.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ mod MyGovernor {
use starknet::ContractAddress;
pub const VOTING_DELAY: u64 = 86400; // 1 day
pub const VOTING_PERIOD: u64 = 432_000; // 1 week
pub const VOTING_PERIOD: u64 = 604800; // 1 week
pub const PROPOSAL_THRESHOLD: u256 = 10;
pub const QUORUM_NUMERATOR: u256 = 40; // 4%
Expand Down Expand Up @@ -269,7 +269,7 @@ pub mod MyTimelockedGovernor {
use starknet::ContractAddress;
pub const VOTING_DELAY: u64 = 86400; // 1 day
pub const VOTING_PERIOD: u64 = 432_000; // 1 week
pub const VOTING_PERIOD: u64 = 604800; // 1 week
pub const PROPOSAL_THRESHOLD: u256 = 10;
pub const QUORUM: u256 = 100_000_000;
Expand Down
6 changes: 3 additions & 3 deletions packages/test_common/src/mocks/governor.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub mod GovernorMock {
use starknet::ContractAddress;

pub const VOTING_DELAY: u64 = 86400; // 1 day
pub const VOTING_PERIOD: u64 = 432_000; // 1 week
pub const VOTING_PERIOD: u64 = 604800; // 1 week
pub const PROPOSAL_THRESHOLD: u256 = 10;
pub const QUORUM: u256 = 100_000_000;

Expand Down Expand Up @@ -145,7 +145,7 @@ pub mod GovernorQuorumFractionMock {
use starknet::ContractAddress;

pub const VOTING_DELAY: u64 = 86400; // 1 day
pub const VOTING_PERIOD: u64 = 432_000; // 1 week
pub const VOTING_PERIOD: u64 = 604800; // 1 week
pub const PROPOSAL_THRESHOLD: u256 = 10;
pub const QUORUM_NUMERATOR: u256 = 600; // 60%

Expand Down Expand Up @@ -275,7 +275,7 @@ pub mod GovernorTimelockedMock {
use starknet::ContractAddress;

pub const VOTING_DELAY: u64 = 86400; // 1 day
pub const VOTING_PERIOD: u64 = 432_000; // 1 week
pub const VOTING_PERIOD: u64 = 604800; // 1 week
pub const PROPOSAL_THRESHOLD: u256 = 10;
pub const QUORUM: u256 = 100_000_000;

Expand Down

0 comments on commit f7fdf6c

Please sign in to comment.