diff --git a/apps/whale-api/src/e2e.defid.module.ts b/apps/whale-api/src/e2e.defid.module.ts index fbc751ad4c..5aa26a2cc2 100644 --- a/apps/whale-api/src/e2e.defid.module.ts +++ b/apps/whale-api/src/e2e.defid.module.ts @@ -681,10 +681,7 @@ export class DefidBin { '-oceanarchive', `-oceanarchiveport=${this.oceanPort}`, '-oceanarchivebind=0.0.0.0', - ...opts - ] - - const extraArgs = [ + // hf '-amkheight=0', '-bayfrontheight=1', '-bayfrontgardensheight=2', @@ -703,10 +700,11 @@ export class DefidBin { '-fortcanningepilogueheight=15', '-grandcentralheight=16', '-grandcentralepilogueheight=17', - '-metachainheight=18' + '-metachainheight=18', + ...opts ] - const binary = spawn(process.env.DEFID, args.concat(extraArgs)) + const binary = spawn(process.env.DEFID, args) binary.on('error', err => { if ((err as any).errno === 'ENOENT') { diff --git a/apps/whale-api/src/module.api/__defid__/masternode.controller.defid.ts b/apps/whale-api/src/module.api/__defid__/masternode.controller.defid.ts index 88e1b92680..0e9a5c838f 100644 --- a/apps/whale-api/src/module.api/__defid__/masternode.controller.defid.ts +++ b/apps/whale-api/src/module.api/__defid__/masternode.controller.defid.ts @@ -89,7 +89,7 @@ describe('get', () => { describe('resign', () => { beforeAll(async () => { app = new DefidBin() - await app.start() + await app.start(['-eunospayaheight=200']) controller = app.ocean.masternodeController container = app.rpc await app.waitForBlockHeight(101)