Skip to content

Commit 7fd3cdb

Browse files
committed
chore(eth): add eth config
WIN-666
1 parent d62883d commit 7fd3cdb

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/deploy_and_release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ jobs:
3636
result-encoding: string
3737
script: |
3838
const tag = process.env.GITHUB_REF_NAME;
39-
const regex = /v.*\-(eth|gteth|matic|tmatic|bsc|tbsc)$/;
39+
const regex = /v.*\-(eth|hteth|matic|tmatic|bsc|tbsc)$/;
4040
const network = tag.match(regex);
41-
return network ? network[1] : "gteth";
41+
return network ? network[1] : "hteth";
4242
deploy-to-test:
4343
runs-on: ubuntu-latest
4444
needs: [lint-and-test, get-network]
45-
if: ${{ (needs.get-network.outputs.network == 'gteth' ) || (needs.get-network.outputs.network == 'tmatic' ) || (needs.get-network.outputs.network == 'tbsc' ) }}
45+
if: ${{ (needs.get-network.outputs.network == 'hteth' ) || (needs.get-network.outputs.network == 'tmatic' ) || (needs.get-network.outputs.network == 'tbsc' ) }}
4646
environment: testnet
4747
steps:
4848
- uses: actions/checkout@v2

hardhat.config.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ import 'solidity-coverage';
1111

1212
const {
1313
PRIVATE_KEY,
14-
ALCHEMY_ETHER_API_KEY,
14+
QUICKNODE_ETH_MAINNET_API_KEY,
15+
QUICKNODE_ETH_HOLESKY_API_KEY,
1516
ETHERSCAN_API_KEY,
1617
ALCHEMY_POLYGON_API_KEY,
1718
POLYGONSCAN_API_KEY,
@@ -41,11 +42,11 @@ const config: HardhatUserConfig = {
4142
loggingEnabled: false
4243
},
4344
eth: {
44-
url: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_ETHER_API_KEY}`,
45+
url: `https://ultra-empty-sanctuary.quiknode.pro/${QUICKNODE_ETH_MAINNET_API_KEY}`,
4546
accounts: [`${PRIVATE_KEY}`]
4647
},
47-
gteth: {
48-
url: `https://eth-goerli.alchemyapi.io/v2/${ALCHEMY_ETHER_API_KEY}`,
48+
hteth: {
49+
url: `https://boldest-cosmological-mountain.ethereum-holesky.quiknode.pro/${QUICKNODE_ETH_HOLESKY_API_KEY}`,
4950
accounts: [`${PRIVATE_KEY}`]
5051
},
5152
matic: {

scripts/deploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async function main() {
1919
// https://chainlist.org/
2020
//eth
2121
case 1:
22-
//gteth
22+
//hteth
2323
case 5:
2424
walletImplementationContractName = 'WalletSimple';
2525
break;

0 commit comments

Comments
 (0)