Skip to content

Commit

Permalink
rollback version update
Browse files Browse the repository at this point in the history
  • Loading branch information
urvisavla committed Oct 4, 2023
1 parent 5efeae3 commit bb28d30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions services/horizon/internal/ingest/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ const (
// claimable balances for claimant queries.
// - 17: Add contract_id column to exp_asset_stats table which is derived by ingesting
// contract data ledger entries.
// - 18: Remove unused indexes (https://github.com/stellar/go/issues/5061)
CurrentVersion = 18
CurrentVersion = 17

// MaxDBConnections is the size of the postgres connection pool dedicated to Horizon ingestion:
// * Ledger ingestion,
Expand Down
2 changes: 1 addition & 1 deletion services/horizon/internal/ingest/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const assetStatsBatchSize = 500
// check them.
// There is a test that checks it, to fix it: update the actual `verifyState`
// method instead of just updating this value!
const stateVerifierExpectedIngestionVersion = 18
const stateVerifierExpectedIngestionVersion = 17

// verifyState is called as a go routine from pipeline post hook every 64
// ledgers. It checks if the state is correct. If another go routine is already
Expand Down

0 comments on commit bb28d30

Please sign in to comment.