Skip to content

Commit

Permalink
camelCase TX event names (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdw authored Sep 25, 2023
1 parent 16a63aa commit a4d8c94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/chopsticks/src/rpc/substrate/author.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@ export const author_submitAndWatchExtrinsic: Handler<[HexString], string> = asyn
logger.debug({ block: block.hash }, 'author_extrinsicUpdate')

callback({
InBlock: block.hash,
inBlock: block.hash,
})
callback({
Finalized: block.hash,
finalized: block.hash,
})
done(id)
}

try {
await context.chain.submitExtrinsic(extrinsic)
callback({
Ready: null,
ready: null,
})
} catch (error) {
logger.error({ error }, 'ExtrinsicFailed')
Expand Down

0 comments on commit a4d8c94

Please sign in to comment.