Skip to content

Conversation

orenyodfat
Copy link
Contributor

solc 0.5.17

@orenyodfat orenyodfat requested a review from ben-kaufman May 12, 2020 08:42
external
initializer {
require(_precReq <= 100 && _precReq > 0, "wrong precReq");
parameters = Parameters({
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not save them directly as variables of the contract instead of keeping the struct? (In all the contracts)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it looks better in struct . though need to check the gas diff for this 2 options.

@@ -1,59 +0,0 @@
require("babel-polyfill");
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe leave this like in Arc?

@orenyodfat orenyodfat merged commit 0590f4f into arc-hive May 31, 2020
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