Skip to content

Commit b2b73f8

Browse files
authored
Merge pull request #47 from etherspot/polygon-gas-station-change
change polygon gas station
2 parents 3269d7e + d2553e9 commit b2b73f8

9 files changed

Lines changed: 20 additions & 20 deletions

File tree

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
],
55
"npmClient": "yarn",
66
"useWorkspaces": true,
7-
"version": "0.0.11",
7+
"version": "0.0.12",
88
"stream": "true",
99
"command": {
1010
"version": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "root",
33
"private": true,
4-
"version": "0.0.11",
4+
"version": "0.0.12",
55
"engines": {
66
"node": ">=18.0.0"
77
},

packages/api/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "api",
3-
"version": "0.0.11",
3+
"version": "0.0.12",
44
"description": "The API module of Etherspot bundler client",
55
"author": "Etherspot",
66
"homepage": "https://https://github.com/etherspot/skandha#readme",
@@ -35,12 +35,12 @@
3535
"class-transformer": "0.5.1",
3636
"class-validator": "0.14.0",
3737
"ethers": "5.7.2",
38-
"executor": "^0.0.11",
38+
"executor": "^0.0.12",
3939
"fastify": "4.14.1",
4040
"pino": "8.11.0",
4141
"pino-pretty": "10.0.0",
4242
"reflect-metadata": "0.1.13",
43-
"types": "^0.0.11"
43+
"types": "^0.0.12"
4444
},
4545
"devDependencies": {
4646
"@types/connect": "3.4.35"

packages/cli/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cli",
3-
"version": "0.0.11",
3+
"version": "0.0.12",
44
"description": "> TODO: description",
55
"author": "zincoshine <psramanuj@gmail.com>",
66
"homepage": "https://https://github.com/etherspot/skandha#readme",
@@ -31,13 +31,13 @@
3131
"url": "https://https://github.com/etherspot/skandha/issues"
3232
},
3333
"dependencies": {
34-
"api": "^0.0.11",
35-
"db": "^0.0.11",
36-
"executor": "^0.0.11",
34+
"api": "^0.0.12",
35+
"db": "^0.0.12",
36+
"executor": "^0.0.12",
3737
"find-up": "5.0.0",
3838
"got": "12.5.3",
3939
"js-yaml": "4.1.0",
40-
"types": "^0.0.11",
40+
"types": "^0.0.12",
4141
"yargs": "17.6.2"
4242
},
4343
"devDependencies": {

packages/db/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "db",
3-
"version": "0.0.11",
3+
"version": "0.0.12",
44
"description": "The DB module of Etherspot bundler client",
55
"author": "Etherspot",
66
"homepage": "https://github.com/etherspot/etherspot-bundler#readme",
@@ -37,6 +37,6 @@
3737
"devDependencies": {
3838
"@types/rocksdb": "3.0.1",
3939
"prettier": "^2.8.4",
40-
"types": "^0.0.11"
40+
"types": "^0.0.12"
4141
}
4242
}

packages/executor/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "executor",
3-
"version": "0.0.11",
3+
"version": "0.0.12",
44
"description": "The Relayer module of Etherspot bundler client",
55
"author": "Etherspot",
66
"homepage": "https://https://github.com/etherspot/skandha#readme",
@@ -33,7 +33,7 @@
3333
"dependencies": {
3434
"async-mutex": "0.4.0",
3535
"ethers": "5.7.2",
36-
"params": "^0.0.11",
37-
"types": "^0.0.11"
36+
"params": "^0.0.12",
37+
"types": "^0.0.12"
3838
}
3939
}

packages/executor/src/utils/getGasFee.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const getGasFee = async (
1313
): Promise<IGetGasFeeResult> => {
1414
if (network === "matic") {
1515
try {
16-
return getMaticGasFee();
16+
return await getMaticGasFee();
1717
} catch (err) {
1818
// eslint-disable-next-line no-console
1919
console.error(`Couldn't fetch fee data for matic: ${err}`);
@@ -53,7 +53,7 @@ function parseGwei(num: number): BigNumber {
5353
}
5454

5555
export const getMaticGasFee = async (): Promise<IGetGasFeeResult> => {
56-
const oracle = "https://gasstation-mainnet.matic.network/v2";
56+
const oracle = "https://gasstation.polygon.technology/v2";
5757
const data = await (await fetch(oracle)).json();
5858
return {
5959
maxPriorityFeePerGas: parseGwei(data.fast.maxPriorityFee),

packages/params/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "params",
3-
"version": "0.0.11",
3+
"version": "0.0.12",
44
"description": "Various bundler parameters",
55
"author": "Etherspot",
66
"homepage": "https://github.com/etherspot/skandha#readme",
@@ -24,7 +24,7 @@
2424
"@arbitrum/sdk": "3.1.4",
2525
"@eth-optimism/sdk": "3.0.0",
2626
"ethers": "5.7.2",
27-
"types": "^0.0.11"
27+
"types": "^0.0.12"
2828
},
2929
"scripts": {
3030
"clean": "rm -rf lib && rm -f *.tsbuildinfo",

packages/types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "types",
3-
"version": "0.0.11",
3+
"version": "0.0.12",
44
"description": "The types of Etherspot bundler client",
55
"author": "Etherspot",
66
"homepage": "https://https://github.com/etherspot/skandha#readme",

0 commit comments

Comments
 (0)