Skip to content

Commit

Permalink
Revert "Arb sepolia"
Browse files Browse the repository at this point in the history
  • Loading branch information
plusminushalf authored Nov 28, 2023
1 parent c92bd52 commit 71c0a88
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 15 deletions.
10 changes: 8 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
"license": "GPL-3.0-or-later",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": ["lib/**/*.d.ts", "lib/**/*.js", "lib/**/*.js.map", "*.d.ts", "*.js"],
"files": [
"lib/**/*.d.ts",
"lib/**/*.js",
"lib/**/*.js.map",
"*.d.ts",
"*.js"
],
"scripts": {
"build": "tsc -p ./tsconfig.build.json",
"test": "test -d test && mocha test/**/*.test.ts --exit || echo 'No test folder found. Skipping tests.'",
Expand All @@ -23,7 +29,7 @@
"@types/node": "^18.16.3",
"dotenv": "^16.0.3",
"prom-client": "^14.2.0",
"viem": "^1.19.1",
"viem": "^1.10.8",
"yargs": "^17.7.1",
"zod-validation-error": "^1.3.0",
"zod": "^3.21.4"
Expand Down
10 changes: 8 additions & 2 deletions packages/executor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
"license": "GPL-3.0-or-later",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": ["lib/**/*.d.ts", "lib/**/*.js", "lib/**/*.js.map", "*.d.ts", "*.js"],
"files": [
"lib/**/*.d.ts",
"lib/**/*.js",
"lib/**/*.js.map",
"*.d.ts",
"*.js"
],
"scripts": {
"build": "tsc -p ./tsconfig.build.json",
"test": "test -d test && mocha test/**/*.test.ts --exit || echo 'No test folder found. Skipping tests.'",
Expand All @@ -23,7 +29,7 @@
"@alto/mempool": "*",
"@types/node": "^18.16.3",
"async-mutex": "^0.4.0",
"viem": "^1.19.1",
"viem": "^1.10.8",
"zod-validation-error": "^1.3.0",
"prom-client": "^14.2.0"
}
Expand Down
10 changes: 8 additions & 2 deletions packages/mempool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
"license": "GPL-3.0-or-later",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": ["lib/**/*.d.ts", "lib/**/*.js", "lib/**/*.js.map", "*.d.ts", "*.js"],
"files": [
"lib/**/*.d.ts",
"lib/**/*.js",
"lib/**/*.js.map",
"*.d.ts",
"*.js"
],
"scripts": {
"build": "tsc -p ./tsconfig.build.json",
"test": "test -d test && mocha test/**/*.test.ts || echo 'No test folder found. Skipping tests.'",
Expand All @@ -18,7 +24,7 @@
"@alto/types": "*",
"@alto/utils": "*",
"async-mutex": "^0.4.0",
"viem": "^1.19.1",
"viem": "^1.10.8",
"prom-client": "^14.2.0"
}
}
10 changes: 8 additions & 2 deletions packages/rpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
"license": "GPL-3.0-or-later",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": ["lib/**/*.d.ts", "lib/**/*.js", "lib/**/*.js.map", "*.d.ts", "*.js"],
"files": [
"lib/**/*.d.ts",
"lib/**/*.js",
"lib/**/*.js.map",
"*.d.ts",
"*.js"
],
"scripts": {
"build": "tsc -p ./tsconfig.build.json",
"test": "test -d test && mocha test/**/*.test.ts --exit || echo 'No test folder found. Skipping tests.'",
Expand All @@ -24,7 +30,7 @@
"fastify-cors": "3.0.3",
"pino-http": "^8.3.3",
"prom-client": "^14.2.0",
"viem": "^1.19.1",
"viem": "^1.10.8",
"zod": "^3.21.4",
"zod-validation-error": "^1.3.0"
}
Expand Down
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
10 changes: 8 additions & 2 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
"license": "GPL-3.0-or-later",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": ["lib/**/*.d.ts", "lib/**/*.js", "lib/**/*.js.map", "*.d.ts", "*.js"],
"files": [
"lib/**/*.d.ts",
"lib/**/*.js",
"lib/**/*.js.map",
"*.d.ts",
"*.js"
],
"scripts": {
"build": "tsc -p ./tsconfig.build.json",
"test": "test -d test && mocha test/**/*.test.ts --exit || echo 'No test folder found. Skipping tests.'",
Expand All @@ -16,7 +22,7 @@
},
"dependencies": {
"abitype": "^0.8.0",
"viem": "^1.19.1",
"viem": "^1.10.8",
"zod": "^3.21.4"
}
}
12 changes: 9 additions & 3 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
"license": "GPL-3.0-or-later",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": ["lib/**/*.d.ts", "lib/**/*.js", "lib/**/*.js.map", "*.d.ts", "*.js"],
"files": [
"lib/**/*.d.ts",
"lib/**/*.js",
"lib/**/*.js.map",
"*.d.ts",
"*.js"
],
"scripts": {
"build": "tsc -p ./tsconfig.build.json",
"test": "test -d test && mocha test/**/*.test.ts --exit || echo 'No test folder found. Skipping tests.'",
Expand All @@ -24,7 +30,7 @@
"pino-loki": "^2.1.3",
"pino-pretty": "^10.0.0",
"prom-client": "^14.2.0",
"viem": "^1.19.1",
"viem": "^1.10.8",
"zod-validation-error": "^1.3.0"
}
}
}

0 comments on commit 71c0a88

Please sign in to comment.