Skip to content

Commit

Permalink
no init warn
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Nov 10, 2023
1 parent 842ba7b commit 6016b20
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
7 changes: 1 addition & 6 deletions packages/e2e/src/chopsticks-provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ describe('chopsticks provider works', async () => {
const chopsticksProvider = new ChopsticksProvider(chain)
const api = await ApiPromise.create({
provider: chopsticksProvider,
signedExtensions: {
SetEvmOrigin: {
extrinsic: {},
payload: {},
},
},
noInitWarn: true,
})

beforeAll(async () => {
Expand Down
7 changes: 1 addition & 6 deletions packages/e2e/src/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,7 @@ export const setupAll = async ({
const ws = new WsProvider(`ws://localhost:${port}`, undefined, undefined, 300_000)
const apiPromise = await ApiPromise.create({
provider: ws,
signedExtensions: {
SetEvmOrigin: {
extrinsic: {},
payload: {},
},
},
noInitWarn: true,
})

await apiPromise.isReady
Expand Down
7 changes: 1 addition & 6 deletions packages/testing/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,7 @@ export const setupContextWithConfig = async ({ timeout, ...config }: SetupConfig
const ws = new WsProvider(url, undefined, undefined, timeout)
const api = await ApiPromise.create({
provider: ws,
signedExtensions: {
SetEvmOrigin: {
extrinsic: {},
payload: {},
},
},
noInitWarn: true,
})

await api.isReady
Expand Down

0 comments on commit 6016b20

Please sign in to comment.