Skip to content

Commit

Permalink
Merge pull request #46 from pimlicolabs/arb-sepolia
Browse files Browse the repository at this point in the history
Arb sepolia
  • Loading branch information
plusminushalf authored Nov 28, 2023
2 parents 66b9547 + 782e0fe commit c92bd52
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 53 deletions.
10 changes: 2 additions & 8 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@
"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 @@ -29,7 +23,7 @@
"@types/node": "^18.16.3",
"dotenv": "^16.0.3",
"prom-client": "^14.2.0",
"viem": "^1.10.8",
"viem": "^1.19.1",
"yargs": "^17.7.1",
"zod-validation-error": "^1.3.0",
"zod": "^3.21.4"
Expand Down
10 changes: 2 additions & 8 deletions packages/executor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@
"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 @@ -29,7 +23,7 @@
"@alto/mempool": "*",
"@types/node": "^18.16.3",
"async-mutex": "^0.4.0",
"viem": "^1.10.8",
"viem": "^1.19.1",
"zod-validation-error": "^1.3.0",
"prom-client": "^14.2.0"
}
Expand Down
10 changes: 2 additions & 8 deletions packages/mempool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@
"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 @@ -24,7 +18,7 @@
"@alto/types": "*",
"@alto/utils": "*",
"async-mutex": "^0.4.0",
"viem": "^1.10.8",
"viem": "^1.19.1",
"prom-client": "^14.2.0"
}
}
10 changes: 2 additions & 8 deletions packages/rpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@
"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 @@ -30,7 +24,7 @@
"fastify-cors": "3.0.3",
"pino-http": "^8.3.3",
"prom-client": "^14.2.0",
"viem": "^1.10.8",
"viem": "^1.19.1",
"zod": "^3.21.4",
"zod-validation-error": "^1.3.0"
}
Expand Down
6 changes: 2 additions & 4 deletions packages/rpc/src/vatidation/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,12 @@ async function simulateTenderlyCall(publicClient: PublicClient, params: any) {
const parsedObject = z
.object({
cause: z.object({
data: z.object({
data: hexDataSchema
})
data: hexDataSchema
})
})
.parse(response)

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

async function getSimulationResult(
Expand Down
10 changes: 2 additions & 8 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@
"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 @@ -22,7 +16,7 @@
},
"dependencies": {
"abitype": "^0.8.0",
"viem": "^1.10.8",
"viem": "^1.19.1",
"zod": "^3.21.4"
}
}
12 changes: 3 additions & 9 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@
"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 @@ -30,7 +24,7 @@
"pino-loki": "^2.1.3",
"pino-pretty": "^10.0.0",
"prom-client": "^14.2.0",
"viem": "^1.10.8",
"viem": "^1.19.1",
"zod-validation-error": "^1.3.0"
}
}
}

0 comments on commit c92bd52

Please sign in to comment.