Skip to content
Merged
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 packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- **Breaking change**: Update to OpenZeppelin Contracts 4.9. ([#252](https://github.com/OpenZeppelin/contracts-wizard/pull/252))
- Change default voting delay to 1 day in `governor`. ([#258](https://github.com/OpenZeppelin/contracts-wizard/pull/258))

## 0.2.3 (2023-03-23)

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/governor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function testGovernor(title: string, opts: Partial<GovernorOptions>) {
test(title, t => {
t.is(governor.print(opts), printContract(buildGovernor({
name: 'MyGovernor',
delay: '1 block',
delay: '1 day',
period: '1 week',
...opts,
})));
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/governor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { durationToBlocks } from "./utils/duration";

export const defaults: Required<GovernorOptions> = {
name: 'MyGovernor',
delay: '1 block',
delay: '1 day',
period: '1 week',

votes: 'erc20votes',
Expand Down