|
45 | 45 | with: |
46 | 46 | # This version should be updated whenever we release new contract versions or |
47 | 47 | # touch a contract upgrade path. |
48 | | - ref: v0.8.0 |
| 48 | + ref: v0.8.1 |
49 | 49 | path: previous-fhevm |
50 | 50 | persist-credentials: 'false' |
51 | 51 |
|
@@ -122,83 +122,83 @@ jobs: |
122 | 122 |
|
123 | 123 | # TODO: We should instead automatically detect if the contract needs to be upgraded |
124 | 124 | # See https://github.com/zama-ai/fhevm-internal/issues/379 |
125 | | - - name: Upgrade GatewayConfig contract |
126 | | - working-directory: current-fhevm/gateway-contracts |
127 | | - env: |
128 | | - DOTENV_CONFIG_PATH: .env |
129 | | - HARDHAT_NETWORK: staging |
130 | | - CHAIN_ID_GATEWAY: 54321 |
131 | | - RPC_URL: http://localhost:8546 |
132 | | - run: | |
133 | | - npx hardhat task:upgradeGatewayConfig \ |
134 | | - --current-implementation previous-contracts/GatewayConfig.sol:GatewayConfig \ |
135 | | - --new-implementation contracts/GatewayConfig.sol:GatewayConfig \ |
136 | | - --use-internal-proxy-address true \ |
137 | | - --verify-contract false |
| 125 | + # - name: Upgrade GatewayConfig contract |
| 126 | + # working-directory: current-fhevm/gateway-contracts |
| 127 | + # env: |
| 128 | + # DOTENV_CONFIG_PATH: .env |
| 129 | + # HARDHAT_NETWORK: staging |
| 130 | + # CHAIN_ID_GATEWAY: 54321 |
| 131 | + # RPC_URL: http://localhost:8546 |
| 132 | + # run: | |
| 133 | + # npx hardhat task:upgradeGatewayConfig \ |
| 134 | + # --current-implementation previous-contracts/GatewayConfig.sol:GatewayConfig \ |
| 135 | + # --new-implementation contracts/GatewayConfig.sol:GatewayConfig \ |
| 136 | + # --use-internal-proxy-address true \ |
| 137 | + # --verify-contract false |
138 | 138 |
|
139 | 139 | # TODO: We should instead automatically detect if the contract needs to be upgraded |
140 | 140 | # See https://github.com/zama-ai/fhevm-internal/issues/379 |
141 | | - - name: Upgrade Decryption contract |
142 | | - working-directory: current-fhevm/gateway-contracts |
143 | | - env: |
144 | | - DOTENV_CONFIG_PATH: .env |
145 | | - HARDHAT_NETWORK: staging |
146 | | - CHAIN_ID_GATEWAY: 54321 |
147 | | - RPC_URL: http://localhost:8546 |
148 | | - run: | |
149 | | - npx hardhat task:upgradeDecryption \ |
150 | | - --current-implementation previous-contracts/Decryption.sol:Decryption \ |
151 | | - --new-implementation contracts/Decryption.sol:Decryption \ |
152 | | - --use-internal-proxy-address true \ |
153 | | - --verify-contract false |
| 141 | + # - name: Upgrade Decryption contract |
| 142 | + # working-directory: current-fhevm/gateway-contracts |
| 143 | + # env: |
| 144 | + # DOTENV_CONFIG_PATH: .env |
| 145 | + # HARDHAT_NETWORK: staging |
| 146 | + # CHAIN_ID_GATEWAY: 54321 |
| 147 | + # RPC_URL: http://localhost:8546 |
| 148 | + # run: | |
| 149 | + # npx hardhat task:upgradeDecryption \ |
| 150 | + # --current-implementation previous-contracts/Decryption.sol:Decryption \ |
| 151 | + # --new-implementation contracts/Decryption.sol:Decryption \ |
| 152 | + # --use-internal-proxy-address true \ |
| 153 | + # --verify-contract false |
154 | 154 |
|
155 | 155 | # TODO: We should instead automatically detect if the contract needs to be upgraded |
156 | 156 | # See https://github.com/zama-ai/fhevm-internal/issues/379 |
157 | | - - name: Upgrade CiphertextCommits contract |
158 | | - working-directory: current-fhevm/gateway-contracts |
159 | | - env: |
160 | | - DOTENV_CONFIG_PATH: .env |
161 | | - HARDHAT_NETWORK: staging |
162 | | - CHAIN_ID_GATEWAY: 54321 |
163 | | - RPC_URL: http://localhost:8546 |
164 | | - run: | |
165 | | - npx hardhat task:upgradeCiphertextCommits \ |
166 | | - --current-implementation previous-contracts/CiphertextCommits.sol:CiphertextCommits \ |
167 | | - --new-implementation contracts/CiphertextCommits.sol:CiphertextCommits \ |
168 | | - --use-internal-proxy-address true \ |
169 | | - --verify-contract false |
| 157 | + # - name: Upgrade CiphertextCommits contract |
| 158 | + # working-directory: current-fhevm/gateway-contracts |
| 159 | + # env: |
| 160 | + # DOTENV_CONFIG_PATH: .env |
| 161 | + # HARDHAT_NETWORK: staging |
| 162 | + # CHAIN_ID_GATEWAY: 54321 |
| 163 | + # RPC_URL: http://localhost:8546 |
| 164 | + # run: | |
| 165 | + # npx hardhat task:upgradeCiphertextCommits \ |
| 166 | + # --current-implementation previous-contracts/CiphertextCommits.sol:CiphertextCommits \ |
| 167 | + # --new-implementation contracts/CiphertextCommits.sol:CiphertextCommits \ |
| 168 | + # --use-internal-proxy-address true \ |
| 169 | + # --verify-contract false |
170 | 170 |
|
171 | 171 | # TODO: We should instead automatically detect if the contract needs to be upgraded |
172 | 172 | # See https://github.com/zama-ai/fhevm-internal/issues/379 |
173 | | - - name: Upgrade InputVerification contract |
174 | | - working-directory: current-fhevm/gateway-contracts |
175 | | - env: |
176 | | - DOTENV_CONFIG_PATH: .env |
177 | | - HARDHAT_NETWORK: staging |
178 | | - CHAIN_ID_GATEWAY: 54321 |
179 | | - RPC_URL: http://localhost:8546 |
180 | | - run: | |
181 | | - npx hardhat task:upgradeInputVerification \ |
182 | | - --current-implementation previous-contracts/InputVerification.sol:InputVerification \ |
183 | | - --new-implementation contracts/InputVerification.sol:InputVerification \ |
184 | | - --use-internal-proxy-address true \ |
185 | | - --verify-contract false |
| 173 | + # - name: Upgrade InputVerification contract |
| 174 | + # working-directory: current-fhevm/gateway-contracts |
| 175 | + # env: |
| 176 | + # DOTENV_CONFIG_PATH: .env |
| 177 | + # HARDHAT_NETWORK: staging |
| 178 | + # CHAIN_ID_GATEWAY: 54321 |
| 179 | + # RPC_URL: http://localhost:8546 |
| 180 | + # run: | |
| 181 | + # npx hardhat task:upgradeInputVerification \ |
| 182 | + # --current-implementation previous-contracts/InputVerification.sol:InputVerification \ |
| 183 | + # --new-implementation contracts/InputVerification.sol:InputVerification \ |
| 184 | + # --use-internal-proxy-address true \ |
| 185 | + # --verify-contract false |
186 | 186 |
|
187 | 187 | # TODO: We should instead automatically detect if the contract needs to be upgraded |
188 | 188 | # See https://github.com/zama-ai/fhevm-internal/issues/379 |
189 | | - - name: Upgrade MultichainAcl contract |
190 | | - working-directory: current-fhevm/gateway-contracts |
191 | | - env: |
192 | | - DOTENV_CONFIG_PATH: .env |
193 | | - HARDHAT_NETWORK: staging |
194 | | - CHAIN_ID_GATEWAY: 54321 |
195 | | - RPC_URL: http://localhost:8546 |
196 | | - run: | |
197 | | - npx hardhat task:upgradeMultichainAcl \ |
198 | | - --current-implementation previous-contracts/MultichainAcl.sol:MultichainAcl \ |
199 | | - --new-implementation contracts/MultichainAcl.sol:MultichainAcl \ |
200 | | - --use-internal-proxy-address true \ |
201 | | - --verify-contract false |
| 189 | + # - name: Upgrade MultichainAcl contract |
| 190 | + # working-directory: current-fhevm/gateway-contracts |
| 191 | + # env: |
| 192 | + # DOTENV_CONFIG_PATH: .env |
| 193 | + # HARDHAT_NETWORK: staging |
| 194 | + # CHAIN_ID_GATEWAY: 54321 |
| 195 | + # RPC_URL: http://localhost:8546 |
| 196 | + # run: | |
| 197 | + # npx hardhat task:upgradeMultichainAcl \ |
| 198 | + # --current-implementation previous-contracts/MultichainAcl.sol:MultichainAcl \ |
| 199 | + # --new-implementation contracts/MultichainAcl.sol:MultichainAcl \ |
| 200 | + # --use-internal-proxy-address true \ |
| 201 | + # --verify-contract false |
202 | 202 |
|
203 | 203 | # TODO: We should instead automatically detect if the contract needs to be upgraded |
204 | 204 | # See https://github.com/zama-ai/fhevm-internal/issues/379 |
|
0 commit comments