Skip to content

Commit

Permalink
white whale pool debugging outcomes
Browse files Browse the repository at this point in the history
  • Loading branch information
p0mvn committed Feb 20, 2024
1 parent 0ebe488 commit 2240941
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config-testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"pools": {
"transmuter-code-ids": [3084, 4643],
"general-cosmwasm-code-ids": [5005]
"general-cosmwasm-code-ids": [5005, 6688]
},
"enable-overwrite-routes-cache": true
}
Expand Down
1 change: 1 addition & 0 deletions router/usecase/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func NewRouter(preferredPoolIDs []uint64, maxHops, maxRoutes, maxSplitRoutes, ma
maxSplitIterations: maxSplitIterations,
maxSplitRoutes: maxSplitRoutes,
minOSMOTVL: minOSMOTVL,
preferredPoolIDS: preferredPoolIDs,
}
}

Expand Down
2 changes: 1 addition & 1 deletion router/usecase/router_usecase.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ func (r *routerUseCaseImpl) GetConfig() domain.RouterConfig {
// - there is an error retrieving taker fees from the store
// TODO: test
func (r *routerUseCaseImpl) initializeRouter() *Router {
router := NewRouter([]uint64{}, r.config.MaxPoolsPerRoute, r.config.MaxRoutes, r.config.MaxSplitRoutes, r.config.MaxSplitIterations, r.config.MinOSMOLiquidity, r.logger)
router := NewRouter(r.config.PreferredPoolIDs, r.config.MaxPoolsPerRoute, r.config.MaxRoutes, r.config.MaxSplitRoutes, r.config.MaxSplitIterations, r.config.MinOSMOLiquidity, r.logger)
router = WithRouterRepository(router, r.routerRepository)
router = WithPoolsUsecase(router, r.poolsUsecase)

Expand Down

0 comments on commit 2240941

Please sign in to comment.