Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

duplicate methods equal/notEqual for uint8-uint248 #144

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

wjmelements
Copy link

Currently, if I try to compare two uint248 with truffle's Assert.equal, I get a syntax error. To avoid casting, I added support for uint8 through uint248 to the equal and notEqual methods in Assert.sol.

@wjmelements
Copy link
Author

The test failure is a gas limit issue, perhaps because the size of the library is larger. I do not consider the larger library problematic because Assert.sol should never be deployed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant