Skip to content

Commit

Permalink
fix: args in stats api
Browse files Browse the repository at this point in the history
  • Loading branch information
aloknerurkar authored Jan 29, 2024
2 parents 53d2224 + df2bc4a commit 060fa0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions integrationtest/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ priv_key_file: /key
log_level: debug
l1_rpc_url: <L1_URL>
settlement_rpc_url: http://sl-bootnode:8545
oracle_contract_addr: 0x3F4edEB407aB1Ecca3729C9CD3c9f7DC63b307A3
preconf_contract_addr: 0xBB632720f817792578060F176694D8f7230229d9
oracle_contract_addr: 0xF82E60097df8A1c2c58dC95ce08fe00F30717beB
preconf_contract_addr: 0x451656c1E7eDf82397EBE04f38819c9970AA3658
pg_host: oracle-db
pg_port: 5432
pg_user: oracle_user
Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (a *Service) registerStatsEndpoints() {
}
}

blocks, err := a.storage.ProcessedBlocks(page, limit)
blocks, err := a.storage.ProcessedBlocks(limit, page)
if err != nil {
log.Error().Err(err).Msg("failed to get processed blocks")
w.WriteHeader(http.StatusInternalServerError)
Expand Down

0 comments on commit 060fa0e

Please sign in to comment.