Skip to content

Commit

Permalink
Revert tenderly change
Browse files Browse the repository at this point in the history
  • Loading branch information
plusminushalf committed Nov 19, 2023
1 parent bb62a3b commit ff93aae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/rpc/src/vatidation/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@ async function simulateTenderlyCall(publicClient: PublicClient, params: any) {
const parsedObject = z
.object({
cause: z.object({
data: hexDataSchema
data: z.object({
data: hexDataSchema
})
})
})
.parse(response)

return parsedObject.cause.data
return parsedObject.cause.data.data
}

async function getSimulationResult(
Expand Down

0 comments on commit ff93aae

Please sign in to comment.