diff --git a/lerna.json b/lerna.json index 3c4dfaee..4b91bb70 100644 --- a/lerna.json +++ b/lerna.json @@ -4,7 +4,7 @@ ], "npmClient": "yarn", "useWorkspaces": true, - "version": "1.0.24-alpha", + "version": "1.0.25-alpha", "stream": "true", "command": { "version": { diff --git a/package.json b/package.json index 5383c69b..a290a359 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "root", "private": true, - "version": "1.0.24-alpha", + "version": "1.0.25-alpha", "engines": { "node": ">=18.0.0" }, diff --git a/packages/api/package.json b/packages/api/package.json index 7f8f7367..f5aa63f0 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "api", - "version": "1.0.24-alpha", + "version": "1.0.25-alpha", "description": "The API module of Etherspot bundler client", "author": "Etherspot", "homepage": "https://https://github.com/etherspot/skandha#readme", @@ -35,13 +35,13 @@ "class-transformer": "0.5.1", "class-validator": "0.14.0", "ethers": "5.7.2", - "executor": "^1.0.24-alpha", + "executor": "^1.0.25-alpha", "fastify": "4.14.1", - "monitoring": "^1.0.24-alpha", + "monitoring": "^1.0.25-alpha", "pino": "8.11.0", "pino-pretty": "10.0.0", "reflect-metadata": "0.1.13", - "types": "^1.0.24-alpha" + "types": "^1.0.25-alpha" }, "devDependencies": { "@types/connect": "3.4.35" diff --git a/packages/cli/package.json b/packages/cli/package.json index 694ade87..8f1ff1ca 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "cli", - "version": "1.0.24-alpha", + "version": "1.0.25-alpha", "description": "> TODO: description", "author": "zincoshine ", "homepage": "https://https://github.com/etherspot/skandha#readme", @@ -38,15 +38,15 @@ "@libp2p/peer-id-factory": "2.0.1", "@libp2p/prometheus-metrics": "1.1.3", "@multiformats/multiaddr": "12.1.3", - "api": "^1.0.24-alpha", - "db": "^1.0.24-alpha", - "executor": "^1.0.24-alpha", + "api": "^1.0.25-alpha", + "db": "^1.0.25-alpha", + "executor": "^1.0.25-alpha", "find-up": "5.0.0", "got": "12.5.3", "js-yaml": "4.1.0", - "monitoring": "^1.0.24-alpha", - "node": "^1.0.24-alpha", - "types": "^1.0.24-alpha", + "monitoring": "^1.0.25-alpha", + "node": "^1.0.25-alpha", + "types": "^1.0.25-alpha", "yargs": "17.6.2" }, "devDependencies": { diff --git a/packages/db/package.json b/packages/db/package.json index 4007ac6b..0a517aa6 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -1,6 +1,6 @@ { "name": "db", - "version": "1.0.24-alpha", + "version": "1.0.25-alpha", "description": "The DB module of Etherspot bundler client", "author": "Etherspot", "homepage": "https://github.com/etherspot/etherspot-bundler#readme", @@ -33,7 +33,7 @@ "dependencies": { "@chainsafe/ssz": "0.10.1", "@farcaster/rocksdb": "5.5.0", - "types": "^1.0.24-alpha" + "types": "^1.0.25-alpha" }, "devDependencies": { "@types/rocksdb": "3.0.1", diff --git a/packages/executor/package.json b/packages/executor/package.json index 58a577b3..90a27baf 100644 --- a/packages/executor/package.json +++ b/packages/executor/package.json @@ -1,6 +1,6 @@ { "name": "executor", - "version": "1.0.24-alpha", + "version": "1.0.25-alpha", "description": "The Relayer module of Etherspot bundler client", "author": "Etherspot", "homepage": "https://https://github.com/etherspot/skandha#readme", @@ -33,8 +33,8 @@ "dependencies": { "async-mutex": "0.4.0", "ethers": "5.7.2", - "monitoring": "^1.0.24-alpha", - "params": "^1.0.24-alpha", - "types": "^1.0.24-alpha" + "monitoring": "^1.0.25-alpha", + "params": "^1.0.25-alpha", + "types": "^1.0.25-alpha" } } diff --git a/packages/monitoring/package.json b/packages/monitoring/package.json index c5e76b99..3d77b627 100644 --- a/packages/monitoring/package.json +++ b/packages/monitoring/package.json @@ -1,6 +1,6 @@ { "name": "monitoring", - "version": "1.0.24-alpha", + "version": "1.0.25-alpha", "description": "The Monitoring module of Etherspot bundler client", "author": "Etherspot", "homepage": "https://github.com/etherspot/etherspot-bundler#readme", @@ -32,6 +32,6 @@ }, "dependencies": { "prom-client": "^14.2.0", - "types": "^1.0.24-alpha" + "types": "^1.0.25-alpha" } } diff --git a/packages/node/package.json b/packages/node/package.json index b75c987f..5a3f7962 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,6 +1,6 @@ { "name": "node", - "version": "1.0.24-alpha", + "version": "1.0.25-alpha", "description": "The bundler node module of Etherspot bundler client", "author": "Etherspot", "homepage": "https://https://github.com/etherspot/skandha#readme", @@ -56,25 +56,25 @@ "@libp2p/tcp": "6.1.0", "@multiformats/multiaddr": "11.4.0", "abstract-leveldown": "7.2.0", - "api": "^1.0.24-alpha", + "api": "^1.0.25-alpha", "datastore-core": "8.0.1", - "db": "^1.0.24-alpha", + "db": "^1.0.25-alpha", "ethers": "5.7.2", - "executor": "^1.0.24-alpha", + "executor": "^1.0.25-alpha", "it-filter": "1.0.2", "it-map": "1.0.5", "it-sort": "1.0.0", "it-take": "1.0.1", "libp2p": "0.42.2", - "monitoring": "^1.0.24-alpha", - "params": "^1.0.24-alpha", + "monitoring": "^1.0.25-alpha", + "params": "^1.0.25-alpha", "prettier": "2.8.4", "snappy": "7.2.2", "snappyjs": "0.7.0", "stream-to-it": "0.2.4", "strict-event-emitter-types": "2.0.0", - "types": "^1.0.24-alpha", - "utils": "^1.0.24-alpha", + "types": "^1.0.25-alpha", + "utils": "^1.0.25-alpha", "varint": "6.0.0", "xxhash-wasm": "1.0.2" }, diff --git a/packages/params/package.json b/packages/params/package.json index a971e4e1..1724b096 100644 --- a/packages/params/package.json +++ b/packages/params/package.json @@ -1,6 +1,6 @@ { "name": "params", - "version": "1.0.24-alpha", + "version": "1.0.25-alpha", "description": "Various bundler parameters", "author": "Etherspot", "homepage": "https://github.com/etherspot/skandha#readme", @@ -26,8 +26,8 @@ "@eth-optimism/sdk": "3.0.0", "@mantleio/sdk": "0.2.1", "ethers": "5.7.2", - "types": "^1.0.24-alpha", - "utils": "^1.0.24-alpha" + "types": "^1.0.25-alpha", + "utils": "^1.0.25-alpha" }, "scripts": { "clean": "rm -rf lib && rm -f *.tsbuildinfo", diff --git a/packages/params/src/gas-price-oracles/getGasFee.ts b/packages/params/src/gas-price-oracles/getGasFee.ts index 2e6d5411..0b118e2d 100644 --- a/packages/params/src/gas-price-oracles/getGasFee.ts +++ b/packages/params/src/gas-price-oracles/getGasFee.ts @@ -19,8 +19,8 @@ export const getGasFee = async ( try { const feeData = await provider.getFeeData(); return { - maxPriorityFeePerGas: feeData.maxPriorityFeePerGas ?? 0, - maxFeePerGas: feeData.maxFeePerGas ?? 0, + maxPriorityFeePerGas: feeData.maxPriorityFeePerGas ?? feeData.gasPrice ?? 0, + maxFeePerGas: feeData.maxFeePerGas ?? feeData.gasPrice ?? 0, gasPrice: feeData.gasPrice ?? 0, }; } catch (err) { diff --git a/packages/types/package.json b/packages/types/package.json index b296dd47..7d979e6b 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "types", - "version": "1.0.24-alpha", + "version": "1.0.25-alpha", "description": "The types of Etherspot bundler client", "author": "Etherspot", "homepage": "https://https://github.com/etherspot/skandha#readme", diff --git a/packages/utils/package.json b/packages/utils/package.json index 75c11196..7e83f6d2 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "utils", - "version": "1.0.24-alpha", + "version": "1.0.25-alpha", "description": "utils of Etherspot bundler client", "author": "Etherspot", "homepage": "https://https://github.com/etherspot/skandha#readme", @@ -37,6 +37,6 @@ "case": "^1.6.3", "pino": "8.11.0", "pino-pretty": "10.0.0", - "types": "^1.0.24-alpha" + "types": "^1.0.25-alpha" } }