- 17 Oct, 2023 12 commits
-
-
Mark Tyneway authored
Now allow deployment for mainnet
-
Mark Tyneway authored
```bash jq -r .address < deployments/mainnet/ProtocolVersionsProxy.json 0x8062AbC286f5e7D9428a0Ccb9AbD71e50d93b935 cast admin $(jq -r .address < deployments/mainnet/ProtocolVersionsProxy.json) 0x543ba4aadbab8f9025686bd03993043599c6fb04 cast implementation $(jq -r .address < deployments/mainnet/ProtocolVersionsProxy.json) 0x42f0bd8313ad456a38061308857b2383fe2c72a0 jq -r .address < deployments/mainnet/ProtocolVersions.json 0x42F0bD8313ad456A38061308857b2383fe2c72a0 cast call $(jq -r .address < deployments/mainnet/ProtocolVersionsProxy.json) 'recommended()' 0x0000000000000000000000000000000000000003000000010000000000000000 cast call $(jq -r .address < deployments/mainnet/ProtocolVersionsProxy.json) 'required()' 0x0000000000000000000000000000000000000003000000010000000000000000 go run op-chain-ops/cmd/protocol-version/main.go decode 0x0000000000000000000000000000000000000003000000010000000000000000 v3.1.0 ```
-
Mark Tyneway authored
Deploy `ProtocolVersions` to mainnet and configure. ```bash cast admin $(jq -r .address < deployments/mainnet/ProtocolVersionsProxy.json) 0x543ba4aadbab8f9025686bd03993043599c6fb04 cast implementation $(jq -r .address < deployments/mainnet/ProtocolVersionsProxy.json) 0x42f0bd8313ad456a38061308857b2383fe2c72a0 jq -r .address < deployments/mainnet/ProtocolVersions.json 0x42F0bD8313ad456A38061308857b2383fe2c72a0 ``` The following diff to the deploy script was used to get around needing to do everything via multisig transactions: ``` diff --git a/packages/contracts-bedrock/scripts/Deploy.s.sol b/packages/contracts-bedrock/scripts/Deploy.s.sol index b65ea490f..6dee882eb 100644 --- a/packages/contracts-bedrock/scripts/Deploy.s.sol +++ b/packages/contracts-bedrock/scripts/Deploy.s.sol @@ -353,8 +353,8 @@ contract Deploy is Deployer { } /// @notice Deploy the ProtocolVersionsProxy - function deployProtocolVersionsProxy() public onlyTestnetOrDevnet broadcast returns (address addr_) { - address proxyAdmin = mustGetAddress("ProxyAdmin"); + function deployProtocolVersionsProxy() public broadcast returns (address addr_) { + address proxyAdmin = 0x354F3f4ECdcA5E0A7acE08d71348cdC1Dab48960; Proxy proxy = new Proxy({ _admin: proxyAdmin }); @@ -458,7 +458,7 @@ contract Deploy is Deployer { } /// @notice Deploy the ProtocolVersions - function deployProtocolVersions() public onlyTestnetOrDevnet broadcast returns (address addr_) { + function deployProtocolVersions() public broadcast returns (address addr_) { ProtocolVersions versions = new ProtocolVersions{ salt: implSalt() }(); save("ProtocolVersions", address(versions)); console.log("ProtocolVersions deployed at %s", address(versions)); @@ -861,7 +861,7 @@ contract Deploy is Deployer { require(portal.paused() == false); } - function initializeProtocolVersions() public onlyTestnetOrDevnet broadcast { + function initializeProtocolVersions() public broadcast { address protocolVersionsProxy = mustGetAddress("ProtocolVersionsProxy"); address protocolVersions = mustGetAddress("ProtocolVersions"); @@ -869,6 +869,19 @@ contract Deploy is Deployer { uint256 requiredProtocolVersion = cfg.requiredProtocolVersion(); uint256 recommendedProtocolVersion = cfg.recommendedProtocolVersion(); + Proxy(payable(protocolVersionsProxy)).upgradeToAndCall( + protocolVersions, + abi.encodeCall( + ProtocolVersions.initialize, + ( + finalSystemOwner, + ProtocolVersion.wrap(requiredProtocolVersion), + ProtocolVersion.wrap(recommendedProtocolVersion) + ) + ) + ); + + /* _upgradeAndCallViaSafe({ _proxy: payable(protocolVersionsProxy), _implementation: protocolVersions, @@ -881,6 +894,7 @@ contract Deploy is Deployer { ) ) }); + */ ProtocolVersions versions = ProtocolVersions(protocolVersionsProxy); string memory version = versions.version(); ```
-
Mark Tyneway authored
chore(contracts-ts): Remove niche hooks and actions
-
Joshua Gutow authored
op-node: Channel ordering fix for canyon
-
protolambda authored
op-service: fix exponential backoff strategy in case of high number of attempts
-
Hamdi Allam authored
feat(indexer) cli & client touchups
-
protolambda authored
-
Mark Tyneway authored
fix(ctb): Fix bindings:go command not found issue
-
Mark Tyneway authored
build(deps-dev): bump @types/chai from 4.3.7 to 4.3.8
-
Hamdi Allam authored
-
Maurelian authored
-
- 16 Oct, 2023 14 commits
-
-
refcell.eth authored
Update STYLE_GUIDE.md
-
refcell.eth authored
op-challenger: Support multiple trace types on the command line/config
-
clabby authored
feat(ctb): Deeper local key contexts
-
refcell.eth authored
op-challenger: Introduce game registry
-
Adrian Sutton authored
op-challenger: Remove Claim.Parent
-
protolambda authored
-
Adrian Sutton authored
We can more easily retrieve the parent from the game when needed.
-
Adrian Sutton authored
-
Adrian Sutton authored
-
Adrian Sutton authored
-
Adrian Sutton authored
-
Carter Carlson authored
Typo: `success` => `status`
-
clabby authored
-
clabby authored
chore: Pin FPA commit
-
- 15 Oct, 2023 4 commits
-
-
Mark Tyneway authored
Update glossary.md
-
Mark Tyneway authored
build(deps): bump commander from 11.0.0 to 11.1.0
-
Adrian Sutton authored
feat(ci): TODO GitHub issue checker
-
Carter Carlson authored
Typo from needs => need
-
- 14 Oct, 2023 10 commits
-
-
dependabot[bot] authored
Bumps [commander](https://github.com/tj/commander.js) from 11.0.0 to 11.1.0. - [Release notes](https://github.com/tj/commander.js/releases) - [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/tj/commander.js/compare/v11.0.0...v11.1.0) --- updated-dependencies: - dependency-name: commander dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com>
-
Mark Tyneway authored
build(deps): bump @sentry/node from 7.73.0 to 7.74.0
-
Hamdi Allam authored
fix(indexer) ca-certificates to the docker image
-
Hamdi Allam authored
Offset Bug Fix for OP Indexer
-
Mark Tyneway authored
build(deps): bump viem from 1.16.4 to 1.16.5
-
dependabot[bot] authored
Bumps [viem](https://github.com/wagmi-dev/viem) from 1.16.4 to 1.16.5. - [Release notes](https://github.com/wagmi-dev/viem/releases) - [Commits](https://github.com/wagmi-dev/viem/compare/viem@1.16.4...viem@1.16.5) --- updated-dependencies: - dependency-name: viem dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 7.73.0 to 7.74.0. - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/7.73.0...7.74.0) --- updated-dependencies: - dependency-name: "@sentry/node" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com>
-
Ethen Pociask authored
-
Ethen Pociask authored
-
dependabot[bot] authored
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.7 to 4.3.8. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai) --- updated-dependencies: - dependency-name: "@types/chai" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com>
-