Skip to content

Draft: [FIX] add liquidity cleanups

akrokr requested to merge akh/cleanup_add into develop

Three fixes (each with a separate commit for readability):

  • only set decimals on the pool if they are actually set in the coin, eliminates an unnecessary no-op SetPool and log msg per add
  • return err on failed affiliate adds, cacheCtx discards changes, resolves a TODO
  • affilate adds should not be considered staged, we were previously re-using the stage flag from the user side of the add

TODO: unit tests

Edited by akrokr

Merge request reports