Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Governor OZ to OZ Governor #7

Merged
merged 3 commits into from
Jul 1, 2024
Merged

Conversation

prat-gpt
Copy link
Collaborator

No description provided.

@prat-gpt prat-gpt changed the title Renamed Governor OZ to OZ Governor Rename Governor OZ to OZ Governor Jun 28, 2024
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this up to date on the latest version?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is currently on the docs branch as the name of GovernorOZProposal has been updated to OZGovernorProposal on FPS. Once docs PR gets merged there I will update this to the main branch. @ElliotFriedman

address token = addresses.getAddress("GOVERNOR_OZ_VAULT_TOKEN");
(uint256 amount, ) = governorOZVault.deposits(address(token), timelock);
address timelock = addresses.getAddress("OZ_GOVERNOR_TIMELOCK");
Vault OZGovernorVault = Vault(addresses.getAddress("OZ_GOVERNOR_VAULT"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

naming: OZGovernorVault -> ozGovernorVault


string memory output = string(vm.ffi(inputs));

GovernorOZProposal governorOZproposal = GovernorOZProposal(
OZGovernorProposal OZGovernorproposal = OZGovernorProposal(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

camelcase variable name

Comment on lines 12 to 13
Vault OZGovernorVault = Vault(addresses.getAddress("OZ_GOVERNOR_VAULT"));
address OZGovernorTimelock = addresses.getAddress("OZ_GOVERNOR_TIMELOCK");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

camelcase

Copy link

github-actions bot commented Jul 1, 2024

Proposal output for src/proposals/simple-vault-governor-oz/OZGovernorProposal_02.sol:

------------------ Proposal Actions ------------------
  1). calling 0x6fFA4aDB1df78f0Cc127d9BdA946C9E4eBF07C90 with 0 eth and 0xd9caed12000000000000000000000000948b7026411cbb9ef39db330b31c735b3d06359b000000000000000000000000d21a3b1b572f7c38b5e3ff841d1d2903e1b03695000000000000000000000000000000000000000000084595161401484a000000 data.
  target: 0x6fFA4aDB1df78f0Cc127d9BdA946C9E4eBF07C90
payload
  0xd9caed12000000000000000000000000948b7026411cbb9ef39db330b31c735b3d06359b000000000000000000000000d21a3b1b572f7c38b5e3ff841d1d2903e1b03695000000000000000000000000000000000000000000084595161401484a000000
  

  

------------------ Proposal Calldata ------------------
  0x7d5e81e2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000010000000000000000000000006ffa4adb1df78f0cc127d9bda946c9e4ebf07c9000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000064d9caed12000000000000000000000000948b7026411cbb9ef39db330b31c735b3d06359b000000000000000000000000d21a3b1b572f7c38b5e3ff841d1d2903e1b03695000000000000000000000000000000000000000000084595161401484a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b4f5a20476f7665726e6f722070726f706f73616c206d6f636b20320000000000

Copy link
Contributor

@ElliotFriedman ElliotFriedman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ElliotFriedman ElliotFriedman merged commit c8e3cb4 into main Jul 1, 2024
4 checks passed
@ElliotFriedman ElliotFriedman deleted the rename/oz-governor branch July 1, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants