Skip to content

Commit 8a128f6

Browse files
committed
fixed bulkCreate entity name
1 parent 9bdc6d2 commit 8a128f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mappings/authz/grants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function _handleMsgGrant(msg: CosmosMessage<MsgGrant>): AuthzProps {
7777

7878
export async function handleEventGrant(events: CosmosEvent[]): Promise<void> {
7979
// only handle the events that are finalized because the non-finalized events are being indexed in the /cosmos.authz.v1beta1.MsgGrant msg handler
80-
await store.bulkCreate("AuthzEventGrant", events.filter(isEventOfFinalizedBlockKind).map(_handleEventGrant));
80+
await store.bulkCreate("Authz", events.filter(isEventOfFinalizedBlockKind).map(_handleEventGrant));
8181
}
8282

8383
export async function handleMsgGrant(messages: CosmosMessage[]): Promise<void> {

0 commit comments

Comments
 (0)