Skip to content

Commit

Permalink
fix(explorer): validator info event query (#4307)
Browse files Browse the repository at this point in the history
  • Loading branch information
begonaalvarezd authored Nov 29, 2024
1 parent 978fa07 commit 28aeefc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/core/src/hooks/useGetValidatorsEvents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type GetValidatorsEvent = {

// NOTE: This copies the query limit from our Rust JSON RPC backend, this needs to be kept in sync!
const QUERY_MAX_RESULT_LIMIT = 50;
const VALIDATORS_EVENTS_QUERY = '0x3::validator_set::ValidatorEpochInfoEventV2';
const VALIDATORS_EVENTS_QUERY = '0x3::validator_set::ValidatorEpochInfoEventV1';

//TODO: get validatorEvents by validator address
export function useGetValidatorsEvents({ limit, order }: GetValidatorsEvent) {
Expand Down

0 comments on commit 28aeefc

Please sign in to comment.