Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit b7817a2

Browse files
committed
https://github.com/w3f/1k-validators-be/pull/2869
1 parent c32b1f2 commit b7817a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/common/src/db/models.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ export interface ValidatorSet {
143143
}
144144

145145
export const ValidatorSetSchema = new Schema({
146-
session: Number,
147-
era: Number,
146+
session: { type: Number, index: true },
147+
era: { type: Number, index: true },
148148
validators: [String],
149149
});
150150

0 commit comments

Comments
 (0)