Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

swap: segregate api code and tests #1883

Merged
merged 135 commits into from
Nov 13, 2019
Merged

swap: segregate api code and tests #1883

merged 135 commits into from
Nov 13, 2019

Conversation

mortelli
Copy link
Contributor

@mortelli mortelli commented Oct 16, 2019

This PR:

  • moves SWAP API code (and its related tests) to the new files api.go and api_test.go
  • renames the function Balance to PeerBalance for consistency

closes #1882

@mortelli mortelli added in progress and removed builds on open PR Builds on a PR that is not yet merged. It is blocked until then and the diff won't make sense yet. do-not-merge on hold labels Nov 5, 2019
@mortelli mortelli marked this pull request as ready for review November 5, 2019 19:48
@mortelli
Copy link
Contributor Author

mortelli commented Nov 5, 2019

note: builds are failing due to know simulation bugs.

once fixed, pulling from master should correct this.

@mortelli mortelli merged commit 31d1893 into master Nov 13, 2019
@mortelli mortelli deleted the swap-segregate-api branch November 13, 2019 16:07
@acud acud added this to the 0.5.3 milestone Nov 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cleanup code completion, add comments and more incentives ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

segregate SWAP API functions and tests from business logic
4 participants