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

Import unit tests for Owned, OpsManaged and SafeMath #73

Merged
merged 3 commits into from
Dec 18, 2017

Conversation

benjaminbollen
Copy link
Contributor

fixes #4

// Copyright 2017 OpenST Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Copy link
Contributor

Choose a reason for hiding this comment

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

any specific reason for SafeMatchMock contract? Can't we use SafeMatch contract in SafeMath.js directly?

import "./SafeMath.sol";


contract SafeMathMock {
Copy link
Contributor

@abhayks1 abhayks1 Dec 15, 2017

Choose a reason for hiding this comment

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

Do we need "is SafeMath" to inherit SafeMath.sol functionality here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the idea is to have this contract call on SafeMath.sol (and inheriting it may tell the compiler to optimise it out)

@abhayks1 abhayks1 merged commit fec622b into develop Dec 18, 2017
@benjaminbollen benjaminbollen deleted the benjaminbollen/gh4/testmigration branch December 21, 2017 16:19
@jasonklein jasonklein modified the milestones: v0.9.3, v0.9.2 Mar 27, 2018
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.

Migrate tests from SimpleTokenSale
3 participants