Skip to content

Commit f5af161

Browse files
committed
Add startBlock to test case
1 parent f8a4032 commit f5af161

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/cli/tests/cli/add.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ describe('Add command', () => {
1919
'0x2E645469f354BB4F5c8a05B3b30A929361cf77eC',
2020
'--contract-name',
2121
'Gravatar',
22+
'--start-block',
23+
'6175244',
2224
'--abi',
2325
`${EXAMPLE_SUBGRAPH_PATH}/abis/Gravity.json`,
2426
],

packages/cli/tests/cli/add/expected/subgraph.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ dataSources:
3232
source:
3333
address: "0x2E645469f354BB4F5c8a05B3b30A929361cf77eC"
3434
abi: Gravatar
35+
startBlock: 6175244
3536
mapping:
3637
kind: ethereum/events
3738
apiVersion: 0.0.7

0 commit comments

Comments
 (0)