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

Update sol version #93

Merged
merged 3 commits into from
Mar 15, 2023
Merged

Update sol version #93

merged 3 commits into from
Mar 15, 2023

Conversation

ScreamingHawk
Copy link
Contributor

@ScreamingHawk ScreamingHawk commented Mar 14, 2023

Update sol version pragma to ^0.8.0.

By using the version pragma ^0.8.0 instead of a fixed version e.g. 0.8.18, developers can ensure that their contracts will work with any version of Solidity greater than or equal to 0.8.0, including any future updates up to the next major version. This provides greater flexibility and ensures that the contract code will continue to work as expected as new versions of Solidity are released.

This PR also removes SafeMath as all arithmetic operations now revert on underflow and overflow.

Package version bumped to 4.0.0 as this is a breaking change

Copy link
Contributor

@acrylix acrylix left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@Agusx1211 Agusx1211 left a comment

Choose a reason for hiding this comment

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

LGTM

@acrylix acrylix merged commit c4fff96 into master Mar 15, 2023
@acrylix acrylix deleted the update-sol-version branch March 15, 2023 18:36
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.

None yet

3 participants