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

Commit

Permalink
chore: update config (#52)
Browse files Browse the repository at this point in the history
update config
  • Loading branch information
tcar121293 authored Sep 20, 2023
1 parent 769858e commit 24cb304
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 20 deletions.
11 changes: 2 additions & 9 deletions config-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,17 @@ domain_list:
- domain_id: 1
gas_price_apis:
- implementation: etherscan
source: etherscan
source: etherscan_goerli
enable: true
url: https://api.etherscan.io/api?module=gastracker&action=gasoracle&apikey=
decimals: 9
- domain_id: 2
gas_price_apis:
- implementation: etherscan
source: etherscan
source: etherscan_sepolia
enable: true
url: https://api.etherscan.io/api?module=gastracker&action=gasoracle&apikey=
decimals: 9
- domain_id: 3
gas_price_apis:
- implementation: moonscan
source: moonscan
enable: false
url: https://api-moonbeam.moonscan.io/api?module=proxy&action=eth_gasPrice&apikey=
decimals:

# conversion_rate_pairs contains price pair for conversion rate
# must be paired and follow the format of [ base, foreign, base, foreign, ... ]
Expand Down
11 changes: 2 additions & 9 deletions config-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,17 @@ domain_list:
- domain_id: 1
gas_price_apis:
- implementation: etherscan
source: etherscan
source: etherscan_goerli
enable: true
url: https://api.etherscan.io/api?module=gastracker&action=gasoracle&apikey=
decimals: 9
- domain_id: 2
gas_price_apis:
- implementation: etherscan
source: etherscan
source: etherscan_sepolia
enable: true
url: https://api.etherscan.io/api?module=gastracker&action=gasoracle&apikey=
decimals: 9
- domain_id: 3
gas_price_apis:
- implementation: moonscan
source: moonscan
enable: false
url: https://api-moonbeam.moonscan.io/api?module=proxy&action=eth_gasPrice&apikey=
decimals:

# conversion_rate_pairs contains price pair for conversion rate
# must be paired and follow the format of [ base, foreign, base, foreign, ... ]
Expand Down
2 changes: 1 addition & 1 deletion domain.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
]
}
]
}
}
3 changes: 2 additions & 1 deletion e2e/endpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ import (
"encoding/hex"
"encoding/json"
"fmt"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"io/ioutil"
"math/big"
"net/http"
"strconv"
"testing"

"github.com/ethereum/go-ethereum/accounts/abi/bind"

"github.com/ChainSafe/sygma-fee-oracle/identity/secp256k1"
"github.com/ChainSafe/sygma-fee-oracle/types"
"github.com/ethereum/go-ethereum/crypto"
Expand Down

0 comments on commit 24cb304

Please sign in to comment.