4545 with :
4646 # This version should be updated whenever we release new contract versions or
4747 # touch a contract upgrade path.
48- ref : v0.7. 4
48+ ref : v0.8.0- 4
4949 path : previous-fhevm
5050 persist-credentials : ' false'
5151
@@ -123,33 +123,37 @@ jobs:
123123 npx hardhat task:deployEmptyUUPSProxies
124124 docker cp deploy-gateway-contracts:/app/addresses ./
125125
126- - name : Upgrade GatewayConfig contract
127- working-directory : current-fhevm/gateway-contracts
128- env :
129- DOTENV_CONFIG_PATH : .env
130- HARDHAT_NETWORK : staging
131- CHAIN_ID_GATEWAY : 54321
132- RPC_URL : http://localhost:8546
133- run : |
134- npx hardhat task:upgradeGatewayConfig \
135- --current-implementation previous-contracts/GatewayConfig.sol:GatewayConfig \
136- --new-implementation contracts/GatewayConfig.sol:GatewayConfig \
137- --use-internal-proxy-address true \
138- --verify-contract false
139-
140- - name : Upgrade Decryption contract
141- working-directory : current-fhevm/gateway-contracts
142- env :
143- DOTENV_CONFIG_PATH : .env
144- HARDHAT_NETWORK : staging
145- CHAIN_ID_GATEWAY : 54321
146- RPC_URL : http://localhost:8546
147- run : |
148- npx hardhat task:upgradeDecryption \
149- --current-implementation previous-contracts/Decryption.sol:Decryption \
150- --new-implementation contracts/Decryption.sol:Decryption \
151- --use-internal-proxy-address true \
152- --verify-contract false
126+ # TODO: We should instead automatically detect if the contract needs to be upgraded
127+ # See https://github.com/zama-ai/fhevm-internal/issues/379
128+ # - name: Upgrade GatewayConfig contract
129+ # working-directory: current-fhevm/gateway-contracts
130+ # env:
131+ # DOTENV_CONFIG_PATH: .env
132+ # HARDHAT_NETWORK: staging
133+ # CHAIN_ID_GATEWAY: 54321
134+ # RPC_URL: http://localhost:8546
135+ # run: |
136+ # npx hardhat task:upgradeGatewayConfig \
137+ # --current-implementation previous-contracts/GatewayConfig.sol:GatewayConfig \
138+ # --new-implementation contracts/GatewayConfig.sol:GatewayConfig \
139+ # --use-internal-proxy-address true \
140+ # --verify-contract false
141+
142+ # TODO: We should instead automatically detect if the contract needs to be upgraded
143+ # See https://github.com/zama-ai/fhevm-internal/issues/379
144+ # - name: Upgrade Decryption contract
145+ # working-directory: current-fhevm/gateway-contracts
146+ # env:
147+ # DOTENV_CONFIG_PATH: .env
148+ # HARDHAT_NETWORK: staging
149+ # CHAIN_ID_GATEWAY: 54321
150+ # RPC_URL: http://localhost:8546
151+ # run: |
152+ # npx hardhat task:upgradeDecryption \
153+ # --current-implementation previous-contracts/Decryption.sol:Decryption \
154+ # --new-implementation contracts/Decryption.sol:Decryption \
155+ # --use-internal-proxy-address true \
156+ # --verify-contract false
153157
154158 - name : Upgrade CiphertextCommits contract
155159 working-directory : current-fhevm/gateway-contracts
@@ -165,6 +169,54 @@ jobs:
165169 --use-internal-proxy-address true \
166170 --verify-contract false
167171
172+ # TODO: We should instead automatically detect if the contract needs to be upgraded
173+ # See https://github.com/zama-ai/fhevm-internal/issues/379
174+ # - name: Upgrade InputVerification contract
175+ # working-directory: current-fhevm/gateway-contracts
176+ # env:
177+ # DOTENV_CONFIG_PATH: .env
178+ # HARDHAT_NETWORK: staging
179+ # CHAIN_ID_GATEWAY: 54321
180+ # RPC_URL: http://localhost:8546
181+ # run: |
182+ # npx hardhat task:upgradeInputVerification \
183+ # --current-implementation previous-contracts/InputVerification.sol:InputVerification \
184+ # --new-implementation contracts/InputVerification.sol:InputVerification \
185+ # --use-internal-proxy-address true \
186+ # --verify-contract false
187+
188+ # TODO: We should instead automatically detect if the contract needs to be upgraded
189+ # See https://github.com/zama-ai/fhevm-internal/issues/379
190+ # - name: Upgrade MultichainAcl contract
191+ # working-directory: current-fhevm/gateway-contracts
192+ # env:
193+ # DOTENV_CONFIG_PATH: .env
194+ # HARDHAT_NETWORK: staging
195+ # CHAIN_ID_GATEWAY: 54321
196+ # RPC_URL: http://localhost:8546
197+ # run: |
198+ # npx hardhat task:upgradeMultichainAcl \
199+ # --current-implementation previous-contracts/MultichainAcl.sol:MultichainAcl \
200+ # --new-implementation contracts/MultichainAcl.sol:MultichainAcl \
201+ # --use-internal-proxy-address true \
202+ # --verify-contract false
203+
204+ # TODO: We should instead automatically detect if the contract needs to be upgraded
205+ # See https://github.com/zama-ai/fhevm-internal/issues/379
206+ # - name: Upgrade KmsManagement contract
207+ # working-directory: current-fhevm/gateway-contracts
208+ # env:
209+ # DOTENV_CONFIG_PATH: .env
210+ # HARDHAT_NETWORK: staging
211+ # CHAIN_ID_GATEWAY: 54321
212+ # RPC_URL: http://localhost:8546
213+ # run: |
214+ # npx hardhat task:upgradeKmsManagement \
215+ # --current-implementation previous-contracts/KmsManagement.sol:KmsManagement \
216+ # --new-implementation contracts/KmsManagement.sol:KmsManagement \
217+ # --use-internal-proxy-address true \
218+ # --verify-contract false
219+
168220 - name : Clean up
169221 working-directory : previous-fhevm/gateway-contracts
170222 if : always()
0 commit comments