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
This commit is contained in:
Jonathan Rainville 2020-02-04 11:47:16 -05:00 committed by Iuri Matias
parent d5294203b7
commit 78fc7b6a90
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ class ENS {
// Add contracts to contract manager so that they can be resolved as dependencies
this.ensConfig.ENSRegistry = await this.events.request2('contracts:add', this.ensConfig.ENSRegistry);
this.ensConfig.Resolver = await this.events.request2('contracts:add', this.ensConfig.Resolver);
this.ensConfig.FIFSRegistrar = await this.events.request2('contracts:add', this.ensConfig.FIFSRegistrar);
this.ensConfig.FIFSRegistrar = await this.events.request2('contracts:add', Object.assign({}, this.ensConfig.FIFSRegistrar, {deploy: false}));
cb();
}