diff --git a/foundry.toml b/foundry.toml index 4826c97..e9e8be2 100644 --- a/foundry.toml +++ b/foundry.toml @@ -9,7 +9,7 @@ name = "rain-deploy" # moves it, in lockstep with the frozen src/generated// record that release # writes. A version published before this lifecycle has no such record, so # src/generated/ holds no directory for it. -version = "0.1.7" +version = "0.1.8" # SPDX-License-Identifier: LicenseRef-DCL-1.0 # SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd diff --git a/src/generated/0_1_8/AddressRegistry.sol b/src/generated/0_1_8/AddressRegistry.sol new file mode 100644 index 0000000..a23e8bc --- /dev/null +++ b/src/generated/0_1_8/AddressRegistry.sol @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd +pragma solidity ^0.8.25; + +// THIS FILE IS AUTOGENERATED BY THE BUILD SCRIPT. DO NOT EDIT BY HAND. + +/// @dev Hash of the known bytecode. +bytes32 constant BYTECODE_HASH = bytes32(0x6c37a6ad35101c07818fd5ea57c8d7ed4ed54f4a9ba7b0fce86e27cfc6510097); + +/// @dev The deterministic deploy address of the contract when deployed via +/// the Zoltu factory. +address constant DEPLOYED_ADDRESS = address(0x8cACfbD5d78b6D87080cE0839708ac2dA5461F78); + +/// @dev The creation bytecode of the contract. +bytes constant CREATION_CODE = + hex"6080604052348015600e575f80fd5b506102568061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610034575f3560e01c80638eaa6ac014610038578063d22057a914610074575b5f80fd5b61004b6100463660046101f9565b610089565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b610087610082366004610210565b6100f2565b005b5f8181526020819052604081205473ffffffffffffffffffffffffffffffffffffffff16806100ec576040517fe9b7924f000000000000000000000000000000000000000000000000000000008152600481018490526024015b60405180910390fd5b92915050565b331561012c576040517f8c7257830000000000000000000000000000000000000000000000000000000081523360048201526024016100e3565b73ffffffffffffffffffffffffffffffffffffffff811661017c576040517f657fb0ff000000000000000000000000000000000000000000000000000000008152600481018390526024016100e3565b5f8281526020819052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85169081179091559051909184917f1082cda15f9606da555bb7e9bf4eeee2f8e34abe85d3924bf9bacb716f8feca69190a35050565b5f60208284031215610209575f80fd5b5035919050565b5f8060408385031215610221575f80fd5b82359150602083013573ffffffffffffffffffffffffffffffffffffffff8116811461024b575f80fd5b80915050925092905056"; + +/// @dev The runtime bytecode of the contract. +bytes constant RUNTIME_CODE = + hex"608060405234801561000f575f80fd5b5060043610610034575f3560e01c80638eaa6ac014610038578063d22057a914610074575b5f80fd5b61004b6100463660046101f9565b610089565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b610087610082366004610210565b6100f2565b005b5f8181526020819052604081205473ffffffffffffffffffffffffffffffffffffffff16806100ec576040517fe9b7924f000000000000000000000000000000000000000000000000000000008152600481018490526024015b60405180910390fd5b92915050565b331561012c576040517f8c7257830000000000000000000000000000000000000000000000000000000081523360048201526024016100e3565b73ffffffffffffffffffffffffffffffffffffffff811661017c576040517f657fb0ff000000000000000000000000000000000000000000000000000000008152600481018390526024016100e3565b5f8281526020819052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85169081179091559051909184917f1082cda15f9606da555bb7e9bf4eeee2f8e34abe85d3924bf9bacb716f8feca69190a35050565b5f60208284031215610209575f80fd5b5035919050565b5f8060408385031215610221575f80fd5b82359150602083013573ffffffffffffffffffffffffffffffffffffffff8116811461024b575f80fd5b80915050925092905056"; + +/// @dev The addresses that MUST already have code on a network before +/// this release can be broadcast there, `abi.encode`d as an `address[]` +/// because Solidity has no file-scope constant of dynamic array type. +bytes constant DEPENDENCIES = + hex"00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000"; diff --git a/src/generated/0_1_8/MigrationRegistry.sol b/src/generated/0_1_8/MigrationRegistry.sol new file mode 100644 index 0000000..a031048 --- /dev/null +++ b/src/generated/0_1_8/MigrationRegistry.sol @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd +pragma solidity ^0.8.25; + +// THIS FILE IS AUTOGENERATED BY THE BUILD SCRIPT. DO NOT EDIT BY HAND. + +/// @dev Hash of the known bytecode. +bytes32 constant BYTECODE_HASH = bytes32(0xb9a3ed001b8e4acff189216b31f4598759df873dbb9f7c114bf2995941e3723c); + +/// @dev The deterministic deploy address of the contract when deployed via +/// the Zoltu factory. +address constant DEPLOYED_ADDRESS = address(0x13175E90969fE4977834210F25Fb3ED3ABBA64C7); + +/// @dev The creation bytecode of the contract. +bytes constant CREATION_CODE = + hex"6080604052348015600e575f80fd5b506106428061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610064575f3560e01c8063a56d39e01161004d578063a56d39e0146100a2578063bda4fec5146100b5578063e2930416146100c8575f80fd5b8063280a6565146100685780638c3f2ba51461007d575b5f80fd5b61007b610076366004610590565b6100db565b005b61009061008b3660046105e1565b6100eb565b60405190815260200160405180910390f35b61007b6100b0366004610609565b61012c565b6100906100c3366004610629565b61013b565b6100906100d63660046105e1565b6101e3565b6100e6838383610221565b505050565b5f6100f683836104b3565b5073ffffffffffffffffffffffffffffffffffffffff919091165f90815260208181526040808320938352929052206001015490565b610137828242610221565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff8216610189576040517f895c0eb100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82165f9081526001602052604090205480156101ba57806101dc565b7fd85a7f14bb19a07649810ac09029cc9c29667e4059cb83e258bc52e213365d3f5b9392505050565b5f6101ee83836104b3565b5073ffffffffffffffffffffffffffffffffffffffff919091165f90815260208181526040808320938352929052205490565b81610258576040517f7704c9bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fd85a7f14bb19a07649810ac09029cc9c29667e4059cb83e258bc52e213365d3f82036102b1576040517f86ba6ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f036102ea576040517fda16d76700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b335f9081526020818152604080832085845290915290205415610347576040517fd242f96f000000000000000000000000000000000000000000000000000000008152336004820152602481018390526044015b60405180910390fd5b5f6103513361013b565b905080841461039c576040517facbe6852000000000000000000000000000000000000000000000000000000008152336004820152602481018590526044810182905260640161033e565b335f90815260208181526040808320848452909152902054808310156103f8576040517f29d1b347000000000000000000000000000000000000000000000000000000008152600481018490526024810182905260440161033e565b4283111561043b576040517f8fdce34f0000000000000000000000000000000000000000000000000000000081526004810184905242602482015260440161033e565b6040805180820182528481526020808201858152335f8181528084528581208a82528452858120945185559151600194850155808252928252839020879055915185815286927f7758a2e9a4f791e6196587ea8cf721b01284de690cbf67ce7a0962b3c80601f6910160405180910390a35050505050565b73ffffffffffffffffffffffffffffffffffffffff8216610500576040517f895c0eb100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80610537576040517f7704c9bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fd85a7f14bb19a07649810ac09029cc9c29667e4059cb83e258bc52e213365d3f8103610137576040517f86ba6ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f805f606084860312156105a2575f80fd5b505081359360208301359350604090920135919050565b803573ffffffffffffffffffffffffffffffffffffffff811681146105dc575f80fd5b919050565b5f80604083850312156105f2575f80fd5b6105fb836105b9565b946020939093013593505050565b5f806040838503121561061a575f80fd5b50508035926020909101359150565b5f60208284031215610639575f80fd5b6101dc826105b956"; + +/// @dev The runtime bytecode of the contract. +bytes constant RUNTIME_CODE = + hex"608060405234801561000f575f80fd5b5060043610610064575f3560e01c8063a56d39e01161004d578063a56d39e0146100a2578063bda4fec5146100b5578063e2930416146100c8575f80fd5b8063280a6565146100685780638c3f2ba51461007d575b5f80fd5b61007b610076366004610590565b6100db565b005b61009061008b3660046105e1565b6100eb565b60405190815260200160405180910390f35b61007b6100b0366004610609565b61012c565b6100906100c3366004610629565b61013b565b6100906100d63660046105e1565b6101e3565b6100e6838383610221565b505050565b5f6100f683836104b3565b5073ffffffffffffffffffffffffffffffffffffffff919091165f90815260208181526040808320938352929052206001015490565b610137828242610221565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff8216610189576040517f895c0eb100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82165f9081526001602052604090205480156101ba57806101dc565b7fd85a7f14bb19a07649810ac09029cc9c29667e4059cb83e258bc52e213365d3f5b9392505050565b5f6101ee83836104b3565b5073ffffffffffffffffffffffffffffffffffffffff919091165f90815260208181526040808320938352929052205490565b81610258576040517f7704c9bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fd85a7f14bb19a07649810ac09029cc9c29667e4059cb83e258bc52e213365d3f82036102b1576040517f86ba6ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f036102ea576040517fda16d76700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b335f9081526020818152604080832085845290915290205415610347576040517fd242f96f000000000000000000000000000000000000000000000000000000008152336004820152602481018390526044015b60405180910390fd5b5f6103513361013b565b905080841461039c576040517facbe6852000000000000000000000000000000000000000000000000000000008152336004820152602481018590526044810182905260640161033e565b335f90815260208181526040808320848452909152902054808310156103f8576040517f29d1b347000000000000000000000000000000000000000000000000000000008152600481018490526024810182905260440161033e565b4283111561043b576040517f8fdce34f0000000000000000000000000000000000000000000000000000000081526004810184905242602482015260440161033e565b6040805180820182528481526020808201858152335f8181528084528581208a82528452858120945185559151600194850155808252928252839020879055915185815286927f7758a2e9a4f791e6196587ea8cf721b01284de690cbf67ce7a0962b3c80601f6910160405180910390a35050505050565b73ffffffffffffffffffffffffffffffffffffffff8216610500576040517f895c0eb100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80610537576040517f7704c9bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fd85a7f14bb19a07649810ac09029cc9c29667e4059cb83e258bc52e213365d3f8103610137576040517f86ba6ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f805f606084860312156105a2575f80fd5b505081359360208301359350604090920135919050565b803573ffffffffffffffffffffffffffffffffffffffff811681146105dc575f80fd5b919050565b5f80604083850312156105f2575f80fd5b6105fb836105b9565b946020939093013593505050565b5f806040838503121561061a575f80fd5b50508035926020909101359150565b5f60208284031215610639575f80fd5b6101dc826105b956"; + +/// @dev The addresses that MUST already have code on a network before +/// this release can be broadcast there, `abi.encode`d as an `address[]` +/// because Solidity has no file-scope constant of dynamic array type. +bytes constant DEPENDENCIES = + hex"00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000"; diff --git a/src/lib/LibAddressRegistryReleased.sol b/src/lib/LibAddressRegistryReleased.sol index 5ccad3f..c81d0be 100644 --- a/src/lib/LibAddressRegistryReleased.sol +++ b/src/lib/LibAddressRegistryReleased.sol @@ -14,6 +14,14 @@ import { DEPENDENCIES as AddressRegistry_0_1_7_DEPENDENCIES } from "../generated/0_1_7/AddressRegistry.sol"; +import { + DEPLOYED_ADDRESS as AddressRegistry_0_1_8_DEPLOYED_ADDRESS, + BYTECODE_HASH as AddressRegistry_0_1_8_BYTECODE_HASH, + CREATION_CODE as AddressRegistry_0_1_8_CREATION_CODE, + RUNTIME_CODE as AddressRegistry_0_1_8_RUNTIME_CODE, + DEPENDENCIES as AddressRegistry_0_1_8_DEPENDENCIES +} from "../generated/0_1_8/AddressRegistry.sol"; + /// @title LibAddressRegistryReleased /// @notice Every frozen release of `AddressRegistry`: one entry per file in /// the append-only `src/generated//` record, in tag order. @@ -34,7 +42,7 @@ library LibAddressRegistryReleased { /// Every frozen release, in tag order. /// @return The released suites. function releasedSuites() internal pure returns (DeploySuite[] memory) { - DeploySuite[] memory suites = new DeploySuite[](1); + DeploySuite[] memory suites = new DeploySuite[](2); suites[0] = DeploySuite({ suite: "address-registry@0_1_7", creationCode: AddressRegistry_0_1_7_CREATION_CODE, @@ -44,6 +52,15 @@ library LibAddressRegistryReleased { artifactPath: "src/concrete/AddressRegistry.sol:AddressRegistry", dependencies: abi.decode(AddressRegistry_0_1_7_DEPENDENCIES, (address[])) }); + suites[1] = DeploySuite({ + suite: "address-registry@0_1_8", + creationCode: AddressRegistry_0_1_8_CREATION_CODE, + storedDeployedAddress: AddressRegistry_0_1_8_DEPLOYED_ADDRESS, + storedBytecodeHash: AddressRegistry_0_1_8_BYTECODE_HASH, + storedRuntimeCode: AddressRegistry_0_1_8_RUNTIME_CODE, + artifactPath: "src/concrete/AddressRegistry.sol:AddressRegistry", + dependencies: abi.decode(AddressRegistry_0_1_8_DEPENDENCIES, (address[])) + }); return suites; } } diff --git a/src/lib/LibMigrationRegistryReleased.sol b/src/lib/LibMigrationRegistryReleased.sol index 63f1026..bcde393 100644 --- a/src/lib/LibMigrationRegistryReleased.sol +++ b/src/lib/LibMigrationRegistryReleased.sol @@ -14,6 +14,14 @@ import { DEPENDENCIES as MigrationRegistry_0_1_7_DEPENDENCIES } from "../generated/0_1_7/MigrationRegistry.sol"; +import { + DEPLOYED_ADDRESS as MigrationRegistry_0_1_8_DEPLOYED_ADDRESS, + BYTECODE_HASH as MigrationRegistry_0_1_8_BYTECODE_HASH, + CREATION_CODE as MigrationRegistry_0_1_8_CREATION_CODE, + RUNTIME_CODE as MigrationRegistry_0_1_8_RUNTIME_CODE, + DEPENDENCIES as MigrationRegistry_0_1_8_DEPENDENCIES +} from "../generated/0_1_8/MigrationRegistry.sol"; + /// @title LibMigrationRegistryReleased /// @notice Every frozen release of `MigrationRegistry`: one entry per file in /// the append-only `src/generated//` record, in tag order. @@ -34,7 +42,7 @@ library LibMigrationRegistryReleased { /// Every frozen release, in tag order. /// @return The released suites. function releasedSuites() internal pure returns (DeploySuite[] memory) { - DeploySuite[] memory suites = new DeploySuite[](1); + DeploySuite[] memory suites = new DeploySuite[](2); suites[0] = DeploySuite({ suite: "migration-registry@0_1_7", creationCode: MigrationRegistry_0_1_7_CREATION_CODE, @@ -44,6 +52,15 @@ library LibMigrationRegistryReleased { artifactPath: "src/concrete/MigrationRegistry.sol:MigrationRegistry", dependencies: abi.decode(MigrationRegistry_0_1_7_DEPENDENCIES, (address[])) }); + suites[1] = DeploySuite({ + suite: "migration-registry@0_1_8", + creationCode: MigrationRegistry_0_1_8_CREATION_CODE, + storedDeployedAddress: MigrationRegistry_0_1_8_DEPLOYED_ADDRESS, + storedBytecodeHash: MigrationRegistry_0_1_8_BYTECODE_HASH, + storedRuntimeCode: MigrationRegistry_0_1_8_RUNTIME_CODE, + artifactPath: "src/concrete/MigrationRegistry.sol:MigrationRegistry", + dependencies: abi.decode(MigrationRegistry_0_1_8_DEPENDENCIES, (address[])) + }); return suites; } }