Skip to content

Conversation

@ben-kaufman
Copy link
Contributor

No description provided.

Copy link
Contributor

@orenyodfat orenyodfat left a comment

Choose a reason for hiding this comment

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

does the .DS_store file is needed

await helpers.registrationAddVersionToPackege(registration,[0, 1, 1]);
let contractsNames = [];
let contractsToUpgrade = [];
for (let i = 0; i < 21; i++) {
Copy link
Contributor

Choose a reason for hiding this comment

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

how about make it 60 ? like in the contract limit

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 loop adds 3 at a time

Comment on lines 90 to 91
require(proposal.exist, "must be a live proposal");
require(proposal.passed == false, "cannot execute twice");
Copy link
Contributor

Choose a reason for hiding this comment

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

do we now need these ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Exists I think yes, but I removed the passed property

@dOrgJelli
Copy link
Contributor

Amazing! 👏 😍

require(proposal.exist, "must be a live proposal");

if (_decision == 1) {
proposal.exist = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

so this is another protection ..along with onlyVotingMachine .. let it be :)

@orenyodfat orenyodfat merged commit cc6be2f into arc-factory Mar 22, 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.

4 participants