Skip to content

Commit

Permalink
proposer deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
cody-wang-cb committed Aug 28, 2024
1 parent b8d2d67 commit 72d5b17
Show file tree
Hide file tree
Showing 7 changed files with 118 additions and 2 deletions.
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
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();
}
}

0 comments on commit 72d5b17

Please sign in to comment.