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

Update eigenda batch metadata subgraph #221

Merged
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
1,773 changes: 853 additions & 920 deletions subgraphs/eigenda-batch-metadata/abis/EigenDAServiceManager.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion subgraphs/eigenda-batch-metadata/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dataSources:
- function: confirmBatch((bytes32,bytes,bytes,uint32),(uint32[],(uint256,uint256)[],(uint256,uint256)[],(uint256[2],uint256[2]),(uint256,uint256),uint32[],uint32[],uint32[][]))
handler: handleConfirmBatchCall
eventHandlers:
- event: BatchConfirmed(indexed bytes32,uint32,uint96)
- event: BatchConfirmed(indexed bytes32,uint32)
handler: handleBatchConfirmed
receipt: true
file: ./src/edasm.ts
3 changes: 0 additions & 3 deletions subgraphs/eigenda-batch-metadata/tests/edasm-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ export function createNewBatchConfirmedEvent(
batchConfirmedEvent.parameters.push(
new ethereum.EventParam("batchId", ethereum.Value.fromUnsignedBigInt(batchId))
)
batchConfirmedEvent.parameters.push(
new ethereum.EventParam("fee", ethereum.Value.fromUnsignedBigInt(fee))
)

return batchConfirmedEvent
}
Expand Down
6 changes: 0 additions & 6 deletions subgraphs/eigenda-batch-metadata/tests/edasm.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,6 @@ describe("EigenDASM", () => {
BATCH_PREFIX_BYTES.concat(confirmBatchCall.transaction.hash).toHexString()
)

assert.fieldEquals(
"NonSigning",
nonSigningEntityId.toHexString(),
"batch",
confirmBatchCall.transaction.hash.toHexString()
)

assert.fieldEquals(
"NonSigning",
Expand Down
Loading
Loading