Skip to content

Commit

Permalink
fix(mu): remove block from write-process and write-message ctxSchem a…
Browse files Browse the repository at this point in the history
…nd simply passthrough
  • Loading branch information
TillaTheHun0 committed Jan 2, 2024
1 parent d336088 commit c7741b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const ctxSchema = z.object({
schedulerTx: z.object({
id: z.string(),
timestamp: z.number()
})
}).passthrough()
}).passthrough()

export function writeMessageTxWith (env) {
Expand Down
5 changes: 2 additions & 3 deletions servers/mu/src/domain/lib/processDataItem/write-process-tx.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ import { parseTags } from '../../utils.js'
const ctxSchema = z.object({
schedulerTx: z.object({
id: z.string(),
timestamp: z.number(),
block: z.coerce.number()
})
timestamp: z.number()
}).passthrough()
}).passthrough()

export function writeProcessTxWith (env) {
Expand Down

0 comments on commit c7741b6

Please sign in to comment.