Skip to content

Unit Tests for Registrar and Protocol contracts - #35

Merged
benjaminbollen merged 4 commits into
masterfrom
jasonbanks/gh3/unit-tests
Dec 5, 2017
Merged

Unit Tests for Registrar and Protocol contracts#35
benjaminbollen merged 4 commits into
masterfrom
jasonbanks/gh3/unit-tests

Conversation

@jasonklein

Copy link
Copy Markdown
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.

@benjaminbollen benjaminbollen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Comment thread test/OpenSTUtility.js
/// ProcessRedeeming
/// BrandedToken
/// fails to process if redemptionIntentHash is empty
/// fails to process if msg.sender != redeemer

Copy link
Copy Markdown
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