Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
HYP-2: linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
n3op2 committed Nov 27, 2023
1 parent 2957f05 commit ab21e23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/onchain/chain.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ describe('on-chain', function () {
// use invalid process to cause a dispatch error
const invalidProcess = { id: 'invalid', version: 1 }
const extrinsic = await node.prepareRunProcess({ process: invalidProcess, inputs: [], outputs: [] })
const [transaction] = await db.insert('transaction', {
const [transaction] = (await db.insert('transaction', {
api_type: 'certificate',
transaction_type: 'creation',
local_id: '0f5af074-7d4d-40b4-86a5-17a2391303cb',
state: 'submitted',
hash: extrinsic.hash.toHex().slice(2),
}) as UUID
})) as UUID

node.submitRunProcess(extrinsic, (state) => db.update('transaction', { id: transaction }, { state }))

Expand Down

0 comments on commit ab21e23

Please sign in to comment.