Skip to content

Commit

Permalink
required block actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kyscott18 committed Nov 12, 2024
1 parent 15e44ec commit bc1c4e0
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions packages/core/src/indexing/ponderActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,16 @@ export const getPonderActions = (
actions[action] = _publicActions[action];
}

// maybe block dependent actions
// getBlock()
// getBlockTransactionCount()
// getTransactionCount()
// required block actions

for (const action of [
"getBlock",
"getBlockTransactionCount",
"getTransactionCount",
]) {
// @ts-ignore
actions[action] = _publicActions[action];
}

return actions;
};
Expand Down

0 comments on commit bc1c4e0

Please sign in to comment.