Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for Goerli testnet #237

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,7 @@ jobs:

- name: Deploy contracts
env:
# Using fake ternary expression to decide which credentials to use,
# depending on chosen environment. Note: if `GOERLI_ETH_HOSTNAME_HTTP`
# is empty, the expression will be evaluated to
# `SEPOLIA_ETH_HOSTNAME_HTTP`'s value.
CHAIN_API_URL: |
${{ inputs.github.event.inputs.environment == 'goerli'
&& secrets.GOERLI_ETH_HOSTNAME_HTTP
|| secrets.SEPOLIA_ETH_HOSTNAME_HTTP }}
CHAIN_API_URL: ${{ secrets.SEPOLIA_ETH_HOSTNAME_HTTP }}
ACCOUNTS_PRIVATE_KEYS: ${{ secrets.TESTNET_ETH_CONTRACT_OWNER_PRIVATE_KEY }}
run: yarn deploy --network ${{ github.event.inputs.environment }}

Expand Down
17 changes: 0 additions & 17 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,6 @@ const config: HardhatUserConfig = {
chainId: 1101,
tags: ["local"],
},
goerli: {
url: process.env.CHAIN_API_URL || "",
chainId: 5,
accounts: process.env.ACCOUNTS_PRIVATE_KEYS
? process.env.ACCOUNTS_PRIVATE_KEYS.split(",")
: undefined,
tags: ["etherscan", "tenderly"],
},
sepolia: {
url: process.env.CHAIN_API_URL || "",
chainId: 11155111,
Expand Down Expand Up @@ -102,12 +94,6 @@ const config: HardhatUserConfig = {
"node_modules/@keep-network/keep-core/artifacts",
"node_modules/@keep-network/tbtc/artifacts",
],
goerli: [
"node_modules/@threshold-network/solidity-contracts/artifacts",
"node_modules/@keep-network/keep-core/artifacts",
"node_modules/@keep-network/tbtc/artifacts",
"./external/goerli",
],
sepolia: [
"node_modules/@threshold-network/solidity-contracts/artifacts",
"node_modules/@keep-network/keep-core/artifacts",
Expand All @@ -123,19 +109,16 @@ const config: HardhatUserConfig = {
},
rewardManager: {
default: 1,
goerli: 0, // use deployer account
sepolia: 0, // use deployer account
mainnet: 0, // use deployer account
},
thresholdCouncil: {
default: 2,
goerli: 0, // use deployer account
sepolia: 0, // use deployer account
mainnet: "0x9f6e831c8f8939dc0c830c6e492e7cef4f9c2f5f",
},
treasuryGuild: {
default: 3,
goerli: 0, // use deployer account
sepolia: 0, // use deployer account
mainnet: "0x71E47a4429d35827e0312AA13162197C23287546",
},
Expand Down
Loading