Skip to content

Commit 78fc7b6

Browse files
jrainvilleiurimatias
authored andcommitted
fix(@embark/ens): fix tests erroring on FIFS contract deploy
Was caused by the contract being added in case another contract uses it as a dependency, but it automatically tried to deploy with it, so instead, set it as `deploy: false` until we see if we need to register it
1 parent d529420 commit 78fc7b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugins/ens/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ class ENS {
294294
// Add contracts to contract manager so that they can be resolved as dependencies
295295
this.ensConfig.ENSRegistry = await this.events.request2('contracts:add', this.ensConfig.ENSRegistry);
296296
this.ensConfig.Resolver = await this.events.request2('contracts:add', this.ensConfig.Resolver);
297-
this.ensConfig.FIFSRegistrar = await this.events.request2('contracts:add', this.ensConfig.FIFSRegistrar);
297+
this.ensConfig.FIFSRegistrar = await this.events.request2('contracts:add', Object.assign({}, this.ensConfig.FIFSRegistrar, {deploy: false}));
298298
cb();
299299
}
300300

0 commit comments

Comments
 (0)