Skip to content

Conversation

@orenyodfat
Copy link
Contributor

@orenyodfat orenyodfat commented Nov 18, 2019

fix #686

@orenyodfat orenyodfat requested a review from leviadam as a code owner November 18, 2019 21:01
@orenyodfat orenyodfat changed the title support forge a dao from specific version daofactory : support forge a dao from specific version Nov 19, 2019
App public app;
string public constant PACKAGE_NAME = "DAOstack";
DAOTracker private daoTracker;
uint64[3] private packageVersion;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is that a storage variable. Wouldn't it be cheaper (and better) to just pass it to the _forgeOrg function?

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 will be cheaper , though this is here due to "stack is too deep" issue .

Copy link
Contributor

@ben-kaufman ben-kaufman left a comment

Choose a reason for hiding this comment

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

That looks fine, but I'm not sure this is a good way to work with the OpenZeppelin architecture...

@orenyodfat orenyodfat merged commit 58226e6 into arc-factory Nov 19, 2019
@orenyodfat orenyodfat deleted the gh-issue-686 branch November 19, 2019 08:54
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.

3 participants