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

duplicate methods equal/notEqual for uint8-uint248#144

Open
wjmelements wants to merge 2 commits intoConsenSys-archive:developfrom
wjmelements:uint248
Open

duplicate methods equal/notEqual for uint8-uint248#144
wjmelements wants to merge 2 commits intoConsenSys-archive:developfrom
wjmelements:uint248

Conversation

@wjmelements
Copy link
Copy Markdown

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