Skip to content

Commit

Permalink
fix(tests): Regenerate lock files to fix build on CI (#128)
Browse files Browse the repository at this point in the history
* fix(tests): Regenerate lock files to fix build on CI

* fix(tests): Fix accounts tests

* chore(utils): Adjust client creating arguments

* chore(utils): debug CI
  • Loading branch information
nduchak committed Apr 1, 2020
1 parent 068d0ba commit 23168ae
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 488 deletions.
8 changes: 5 additions & 3 deletions bin/utils/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export async function initTxBuilder ({ url, internalUrl, force: forceCompatibili
return Tx({
nodes: [{ name: 'test-node', instance: await Node({ url, internalUrl, forceCompatibility }) }],
nativeMode,
forceCompatibility,
showWarning
})
}
Expand All @@ -62,13 +63,14 @@ export function initOfflineTxBuilder () {
// Create `Chain` client
export async function initChain ({ url, internalUrl, force: forceCompatibility }) {
return Chain({
nodes: [{ name: 'test-node', instance: await Node({ url, internalUrl, forceCompatibility }) }]
nodes: [{ name: 'test-node', instance: await Node({ url, internalUrl, forceCompatibility }) }],
forceCompatibility
})
}

// Create `Chain` client
export async function initCompiler ({ url, internalUrl, compilerUrl }) {
return ContractCompilerAPI({ compilerUrl })
export async function initCompiler ({ url, internalUrl, compilerUrl, forceCompatibility }) {
return ContractCompilerAPI({ compilerUrl, forceCompatibility })
}

// ## Get account files and decrypt it using password
Expand Down

0 comments on commit 23168ae

Please sign in to comment.