Skip to content

Commit 310f0ed

Browse files
committed
refactor: Update IexecEscrowFacet initialization to remove native chain condition
1 parent 7a33bfd commit 310f0ed

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

scripts/upgrades/v6.2.0.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
IexecCategoryManagerFacet__factory,
77
IexecConfigurationExtraFacet__factory,
88
IexecConfigurationFacet__factory,
9-
IexecEscrowNativeFacet__factory,
109
IexecEscrowTokenFacet__factory,
1110
IexecOrderManagementFacet__factory,
1211
IexecPoco1Facet__factory,
@@ -151,11 +150,9 @@ async function main() {
151150
factory: new IexecConfigurationFacet__factory(iexecLibOrders),
152151
},
153152
{
154-
name: isNative ? 'IexecEscrowNativeFacet' : 'IexecEscrowTokenFacet',
153+
name: 'IexecEscrowTokenFacet',
155154
address: null,
156-
factory: isNative
157-
? new IexecEscrowNativeFacet__factory()
158-
: new IexecEscrowTokenFacet__factory(),
155+
factory: new IexecEscrowTokenFacet__factory(),
159156
},
160157
{
161158
name: 'IexecOrderManagementFacet',

0 commit comments

Comments
 (0)