Skip to content

Commit

Permalink
enable logging to debug issue with CI
Browse files Browse the repository at this point in the history
  • Loading branch information
shekohex committed Jul 17, 2023
1 parent 612e1ea commit c2f0886
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/test/evm/proposals.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import { UsageMode } from '../../lib/substrateNodeBase.js';
// to support chai-as-promised
Chai.use(ChaiAsPromised);

describe('Proposals (DKG <=> Relayer <=> SigBridge)', function () {
describe('Proposals (DKG <=> Relayer <=> SigBridge)', function() {
const tmpDirPath = temp.mkdirSync();
let localChain1: LocalChain;
let localChain2: LocalChain;
Expand All @@ -68,18 +68,18 @@ describe('Proposals (DKG <=> Relayer <=> SigBridge)', function () {

let webbRelayer: WebbRelayer;

before(async function () {
before(async function() {
const PK1 = u8aToHex(ethers.utils.randomBytes(32));
const PK2 = u8aToHex(ethers.utils.randomBytes(32));
const relayerPk = u8aToHex(ethers.utils.randomBytes(32));
const usageMode: UsageMode = isCi
? { mode: 'docker', forcePullImage: false }
: {
mode: 'host',
nodePath: path.resolve(
'../../tangle/target/release/tangle-standalone'
),
};
mode: 'host',
nodePath: path.resolve(
'../../tangle/target/release/tangle-standalone'
),
};
const enabledPallets: Pallet[] = [
{
pallet: 'DKGProposalHandler',
Expand All @@ -96,15 +96,15 @@ describe('Proposals (DKG <=> Relayer <=> SigBridge)', function () {
authority: 'alice',
usageMode,
ports: 'auto',
enableLogging: false,
enableLogging: true,
});

charlieNode = await LocalTangle.start({
name: 'substrate-charlie',
authority: 'charlie',
usageMode,
ports: 'auto',
enableLogging: false,
enableLogging: true,
});

const api = await charlieNode.api();
Expand Down

0 comments on commit c2f0886

Please sign in to comment.