Skip to content
This repository was archived by the owner on Apr 10, 2024. It is now read-only.

Commit 24cb304

Browse files
authored
chore: update config (#52)
update config
1 parent 769858e commit 24cb304

File tree

4 files changed

+7
-20
lines changed

4 files changed

+7
-20
lines changed

config-dev.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,17 @@ domain_list:
5252
- domain_id: 1
5353
gas_price_apis:
5454
- implementation: etherscan
55-
source: etherscan
55+
source: etherscan_goerli
5656
enable: true
5757
url: https://api.etherscan.io/api?module=gastracker&action=gasoracle&apikey=
5858
decimals: 9
5959
- domain_id: 2
6060
gas_price_apis:
6161
- implementation: etherscan
62-
source: etherscan
62+
source: etherscan_sepolia
6363
enable: true
6464
url: https://api.etherscan.io/api?module=gastracker&action=gasoracle&apikey=
6565
decimals: 9
66-
- domain_id: 3
67-
gas_price_apis:
68-
- implementation: moonscan
69-
source: moonscan
70-
enable: false
71-
url: https://api-moonbeam.moonscan.io/api?module=proxy&action=eth_gasPrice&apikey=
72-
decimals:
7366

7467
# conversion_rate_pairs contains price pair for conversion rate
7568
# must be paired and follow the format of [ base, foreign, base, foreign, ... ]

config-test.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,17 @@ domain_list:
5252
- domain_id: 1
5353
gas_price_apis:
5454
- implementation: etherscan
55-
source: etherscan
55+
source: etherscan_goerli
5656
enable: true
5757
url: https://api.etherscan.io/api?module=gastracker&action=gasoracle&apikey=
5858
decimals: 9
5959
- domain_id: 2
6060
gas_price_apis:
6161
- implementation: etherscan
62-
source: etherscan
62+
source: etherscan_sepolia
6363
enable: true
6464
url: https://api.etherscan.io/api?module=gastracker&action=gasoracle&apikey=
6565
decimals: 9
66-
- domain_id: 3
67-
gas_price_apis:
68-
- implementation: moonscan
69-
source: moonscan
70-
enable: false
71-
url: https://api-moonbeam.moonscan.io/api?module=proxy&action=eth_gasPrice&apikey=
72-
decimals:
7366

7467
# conversion_rate_pairs contains price pair for conversion rate
7568
# must be paired and follow the format of [ base, foreign, base, foreign, ... ]

domain.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@
4040
]
4141
}
4242
]
43-
}
43+
}

e2e/endpoint_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ import (
88
"encoding/hex"
99
"encoding/json"
1010
"fmt"
11-
"github.com/ethereum/go-ethereum/accounts/abi/bind"
1211
"io/ioutil"
1312
"math/big"
1413
"net/http"
1514
"strconv"
1615
"testing"
1716

17+
"github.com/ethereum/go-ethereum/accounts/abi/bind"
18+
1819
"github.com/ChainSafe/sygma-fee-oracle/identity/secp256k1"
1920
"github.com/ChainSafe/sygma-fee-oracle/types"
2021
"github.com/ethereum/go-ethereum/crypto"

0 commit comments

Comments
 (0)