Skip to content

Commit 826b1cd

Browse files
committed
Clean
1 parent 2813cc8 commit 826b1cd

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

packages/sharing-smart-contract/contracts/ManageOrders.sol

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ abstract contract ManageOrders {
3838
0x0000000000000000000000000000000000000000000000000000000000000003; // [tee,scone]
3939
uint256 internal constant TRUST = 0; // No replication
4040
string internal _iexecResultStorageProvider;
41-
// This value is not used anymore but it is kept
42-
// as a placeholder to not break storage of the proxy
43-
// deployed on Bellecour.
41+
// This value is not used anymore but it must be kept
42+
// to not break deployed proxies when upgrading them.
4443
string internal _iexecResultStorageProxy;
4544
uint256 private _salt;
4645

packages/sharing-smart-contract/test/e2e/upgrade.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ describe('DataProtectorSharing', function () {
2929
owner,
3030
);
3131
await upgrades
32-
.upgradeProxy(contractAddress, newImplementationFactory)
32+
.upgradeProxy(contractAddress, newImplementationFactory, {
33+
kind: 'transparent',
34+
})
3335
.then((contract) => contract.waitForDeployment());
3436
const dataProtectorSharingContractV2 = await ethers.getContractAt(
3537
'DataProtectorSharingV2Mock',

0 commit comments

Comments
 (0)