diff --git a/packages/cli/package.json b/packages/cli/package.json index 229ea8ca..20cd00f4 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -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.'", @@ -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" diff --git a/packages/executor/package.json b/packages/executor/package.json index a71c4baf..bbe6fe85 100644 --- a/packages/executor/package.json +++ b/packages/executor/package.json @@ -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.'", @@ -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" } diff --git a/packages/mempool/package.json b/packages/mempool/package.json index 3143a38a..cc0c1353 100644 --- a/packages/mempool/package.json +++ b/packages/mempool/package.json @@ -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.'", @@ -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" } } diff --git a/packages/rpc/package.json b/packages/rpc/package.json index a53026cf..9fff4c9e 100644 --- a/packages/rpc/package.json +++ b/packages/rpc/package.json @@ -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.'", @@ -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" } diff --git a/packages/rpc/src/vatidation/validator.ts b/packages/rpc/src/vatidation/validator.ts index 7c134b17..d248e3a7 100644 --- a/packages/rpc/src/vatidation/validator.ts +++ b/packages/rpc/src/vatidation/validator.ts @@ -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( diff --git a/packages/types/package.json b/packages/types/package.json index 5956ac03..6415a384 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -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.'", @@ -22,7 +16,7 @@ }, "dependencies": { "abitype": "^0.8.0", - "viem": "^1.10.8", + "viem": "^1.19.1", "zod": "^3.21.4" } } diff --git a/packages/utils/package.json b/packages/utils/package.json index a2446a90..b27b535c 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -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.'", @@ -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" } -} \ No newline at end of file +}