UNPKG

@tevm/actions

Version:

A typesafe library for writing forge scripts in typescript

15 lines (13 loc) 373 B
import { z } from 'zod' import { zAddress } from './zAddress.js' import { zHex } from './zHex.js' export const zStateOverrideSet = z.record( zAddress, z.strictObject({ balance: z.bigint().gte(0n).optional(), nonce: z.bigint().gte(0n).optional(), code: zHex.optional(), state: z.record(zHex, zHex).optional(), stateDiff: z.record(zHex, zHex).optional(), }), )