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

Move constant functions to TokenNetworkUtils library #264

Closed

Conversation

loredanacirstea
Copy link
Contributor

@loredanacirstea loredanacirstea commented Sep 17, 2018

Issue: TokenNetworkRegistry bytecode is too big for deployment if we try to implement #262 and #263

We might go with either:

Please do not merge this until I have the contract limits PR functional on top of this one.

@CLAassistant
Copy link

CLAassistant commented Sep 17, 2018

CLA assistant check
All committers have signed the CLA.

- link the TokenNetworkUtils library
Make library functions public, avoid memory struct
- we need to compile the TokenNetworkRegistry contract for each test, due to linking the TokenNetworkUtils library (the address is changed for each test)
@pirapira
Copy link
Contributor

@loredanacirstea I'll take ideas from this PR, once I see too big code.

@pirapira
Copy link
Contributor

Somehow we have both #262 and #263 and the codesize is still within the limit. Perhaps the compiler got a lot better these days.

@pirapira pirapira closed this Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants