Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit Tests for Registrar and Protocol contracts #35

Merged
merged 4 commits into from
Dec 5, 2017

Conversation

jasonklein
Copy link
Contributor

This provides (additional) unit testing of Registrar.sol, OpenSTValue.sol, and OpenSTUtility.sol.

There are 3 failing tests. In OpenSTValue.sol, 2 tests are failing due to the math converting from BT to ST; see #21 . In OpenSTUtility.sol, there is one failing test due to a mistyped argument for a function. This test should pass after the merging of #33.

Copy link
Contributor

@benjaminbollen benjaminbollen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

/// ProcessRedeeming
/// BrandedToken
/// fails to process if redemptionIntentHash is empty
/// fails to process if msg.sender != redeemer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be changed, like I did for ProcessStaking with the fallback option; Good for this PR; will then complete in #26 where we implement the fallback

@benjaminbollen benjaminbollen merged commit 62068a2 into master Dec 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants