Skip to content

Commit 96ebd19

Browse files
committed
near: Remove functionCallHandlers (not supported at first)
1 parent eec24c0 commit 96ebd19

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

manifest-schema.graphql

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ type NearContractMapping {
5858
entities: [String!]!
5959
blockHandlers: [NearBlockHandler!]
6060
receiptHandlers: [NearReceiptHandler!]
61-
functionCallHandlers: [NearFunctionCallHandler!]
6261
}
6362

6463
type EthereumContractAbi {
@@ -94,11 +93,6 @@ type EthereumContractEventHandler {
9493
handler: String!
9594
}
9695

97-
type NearFunctionCallHandler {
98-
function: String!
99-
handler: String!
100-
}
101-
10296
type Graft {
10397
base: String!
10498
block: BigInt!

src/protocols/near/subgraph.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ For further information look for: https://docs.near.org/docs/concepts/account#ac
3737
return immutable.List([
3838
'blockHandlers',
3939
'receiptHandlers',
40-
'functionCallHandlers',
4140
])
4241
}
4342
}

tests/cli/validation/near-is-valid/subgraph.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,3 @@ dataSources:
1919
- handler: handleNewBlock
2020
receiptHandlers:
2121
- handler: handleReceipt
22-
functionCallHandlers:
23-
- function: setPurpose
24-
handler: handleSetPurpose

0 commit comments

Comments
 (0)