Skip to content

Commit

Permalink
support somnia-devnet revert schema
Browse files Browse the repository at this point in the history
  • Loading branch information
mouseless0x committed Dec 9, 2024
1 parent a8bfdc7 commit 9f60466
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rpc/estimation/gasEstimationsV06.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ export class GasEstimatorV06 {
),
data: hexDataSchema
}),
/* Monad devnet RPC return in this format */
/* Monad devnet and Somnia-Devnet RPC return in this format */
z.object({
code: z.literal(-32603),
code: z.number(),
message: z.string().regex(/execution reverted.*/),
data: hexDataSchema
})
Expand Down

0 comments on commit 9f60466

Please sign in to comment.