Skip to content

Commit

Permalink
Merge remote-tracking branch 'template/develop' into update-with-temp…
Browse files Browse the repository at this point in the history
…late-repo
  • Loading branch information
clauBv23 committed May 10, 2024
2 parents 47e427f + 1a61f1d commit 88ee6a2
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 72 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# GENERAL

## The network used for testing purposes
NETWORK_NAME="sepolia" # ["mainnet", "sepolia", "polygon", "mumbai","baseMainnet", "baseGoerli", "baseSepolia", "arbitrum", "arbitrumSepolia"]
NETWORK_NAME="sepolia" # ["mainnet", "sepolia", "polygon", "baseMainnet", "arbitrum"]

# CONTRACTS

Expand Down Expand Up @@ -29,4 +29,4 @@ GRAPH_KEY="zzzzzzzzzzzz"
## Subgraph
SUBGRAPH_NAME="osx"
SUBGRAPH_VERSION="v1.0.0"
SUBGRAPH_NETWORK_NAME="mainnet" # ["mainnet", "goerli", "sepolia", "polygon", "polygonMumbai", "base", "baseSepolia", "arbitrum", "arbitrumSepolia"]
SUBGRAPH_NETWORK_NAME="mainnet" # ["mainnet", "sepolia", "polygon", "base", "arbitrum"]
2 changes: 1 addition & 1 deletion USAGE_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ GRAPH_KEY="zzzzzzzzzzzz"
## Subgraph
SUBGRAPH_NAME="osx"
SUBGRAPH_VERSION="v1.0.0"
SUBGRAPH_NETWORK_NAME="mainnet" # ["mainnet", "goerli", "sepolia", "polygon", "polygonMumbai", "base", "baseSepolia", "arbitrum", "arbitrumSepolia"]
SUBGRAPH_NETWORK_NAME="mainnet" # ["mainnet", "sepolia", "polygon", "base", "arbitrum"]
```

- `GRAPH_KEY`: This key will be used for deploying the subgraph.
Expand Down
12 changes: 0 additions & 12 deletions packages/contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,10 @@ const config: HardhatUserConfig = {
etherscan: {
apiKey: {
mainnet: process.env.ETHERSCAN_API_KEY || '',
goerli: process.env.ETHERSCAN_API_KEY || '',
sepolia: process.env.ETHERSCAN_API_KEY || '',
polygon: process.env.POLYGONSCAN_API_KEY || '',
polygonMumbai: process.env.POLYGONSCAN_API_KEY || '',
base: process.env.BASESCAN_API_KEY || '',
baseGoerli: process.env.BASESCAN_API_KEY || '',
arbitrumOne: process.env.ARBISCAN_API_KEY || '',
arbitrumGoerli: process.env.ARBISCAN_API_KEY || '',
},
customChains: [
{
Expand All @@ -142,14 +138,6 @@ const config: HardhatUserConfig = {
browserURL: 'https://basescan.org',
},
},
{
network: 'baseGoerli',
chainId: 84531,
urls: {
apiURL: 'https://api-goerli.basescan.org/api',
browserURL: 'https://goerli.basescan.org',
},
},
],
},

Expand Down
2 changes: 0 additions & 2 deletions packages/contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"name": "@aragon/osx-plugin-template-contracts",
"version": "1.0.0",
"license": "AGPL-3.0-or-later",
"scripts": {
"build": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,6 @@ describe(`Deployment on network '${productionNetworkName}'`, function () {
it('registers the setup', async () => {
const {pluginRepo} = await loadFixture(fixture);

await pluginRepo['getVersion((uint8,uint16))']({
release: VERSION.release,
build: VERSION.build,
});

const results = await pluginRepo['getVersion((uint8,uint16))']({
release: VERSION.release,
build: VERSION.build,
Expand Down
16 changes: 0 additions & 16 deletions packages/subgraph/manifest/data/arbitrumSepolia.json

This file was deleted.

16 changes: 0 additions & 16 deletions packages/subgraph/manifest/data/baseSepolia.json

This file was deleted.

16 changes: 0 additions & 16 deletions packages/subgraph/manifest/data/mumbai.json

This file was deleted.

5 changes: 3 additions & 2 deletions packages/subgraph/scripts/deploy-subgraph.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ echo ''
echo '> Building subgraph'
./scripts/build-subgraph.sh

if [ "$SUBGRAPH_NETWORK_NAME" == 'localhost' ]; then
SUBGRAPH_NETWORK_NAME='goerli'
if [ "$SUBGRAPH_NETWORK_NAME" == 'localhost' ]
then
SUBGRAPH_NETWORK_NAME='sepolia'
fi

# Prepare subgraph name
Expand Down

0 comments on commit 88ee6a2

Please sign in to comment.