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

Adding proposer deploy records #210

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion sepolia-alpha/2024-08-21-update-batcher-proposer/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
OP_COMMIT=9047beb54c66a5c572784efec8984f259302ec92
OP_COMMIT=33f06d2d5e4034125df02264a5ffe84571bd0359
Copy link

@cbfyi cbfyi Aug 28, 2024

Choose a reason for hiding this comment

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

Confirmed op-contracts/v1.6.0-rc.3

BASE_CONTRACTS_COMMIT=e961e8638874d571aa63a6e35507e3779131d1eb

# Batcher
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ fs_permissions = [ {access = "read-write", path = "./"} ]
optimizer = true
optimizer_runs = 999999
solc_version = "0.8.15"
via-ir = true
# via-ir = true
ignored_error_codes = ["transient-storage", "code-size", "init-code-size", 5159]
remappings = [
'@eth-optimism-bedrock/=lib/optimism/packages/contracts-bedrock/',
'@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts',
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ contract UpdateProposer is Script {
console.log("Current proposer: ");
console.log(pdg.proposer());

vm.startBroadcast();
PermissionedDisputeGame newPdgImpl = new PermissionedDisputeGame({
_gameType: pdg.gameType(),
_absolutePrestate: pdg.absolutePrestate(),
Expand All @@ -42,5 +43,6 @@ contract UpdateProposer is Script {
require(newPdgImpl.proposer() == NEW_PROPOSER, "Deploy: proposer is incorrect");
console.log("Updated proposer to: ");
console.log(NEW_PROPOSER);
vm.stopBroadcast();
}
}