Skip to content

Commit 1e8d6d7

Browse files
committed
Add base
1 parent 803278d commit 1e8d6d7

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

.github/workflows/Release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
node: ["21.x"]
14-
chain: ["linea", "mode"]
14+
chain: ["base", "linea", "mode"]
1515
os: [ubuntu-latest]
1616

1717
runs-on: ${{ matrix.os }}

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ yarn test:lint # run prettier linter
5757
### How to add a new network
5858

5959
1. Add the network configuration [config/<network>.json](config/).
60-
- `clockTickBlocks` is the number of blocks between each clock tick, aim for a clock tick every ~5 minutes.
6160
2. Add dev RPCs in graph-node config [docker/graph-node/config.toml](docker/graph-node/config.toml).
6261
3. Add a new `prepare:<network>` script in [package.json](package.json).
6362
4. Add the chain in `.github/workflows/Release.yml` to configure deployments.

config/base.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"network": "base",
3+
"shareTokenMintAddress": "0x0000000000000000000000000000000000000000",
4+
"vaultFactoryAddress": "0xbc4a342b0c057501e081484a2d24e576e854f823",
5+
"vaultFactoryStartBlock": 2181945,
6+
"vaultInitializedEvent": "Initialized(uint8)"
7+
}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"create-local": "graph create beefyfinance/local --node http://127.0.0.1:8020",
1515
"deploy-local": "graph deploy beefyfinance/local --node http://127.0.0.1:8020 --ipfs http://localhost:5001",
1616
"remove-local": "graph remove beefyfinance/local --node http://127.0.0.1:8020",
17+
"prepare:base": "./bin/prepare.sh base",
1718
"prepare:linea": "./bin/prepare.sh linea",
1819
"prepare:mode": "./bin/prepare.sh mode"
1920
},

0 commit comments

Comments
 (0)