-
Notifications
You must be signed in to change notification settings - Fork 112
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
Make use of external functions #569
Comments
While doing #393 with an eye on unblocking this issue, I refactored to a point where in principle, we should have been able switch to (Note that we also need to remove the lines
as |
Does this issue require some work or is it fixed? |
As per @area 's comment above it's iceboxed for now. |
Are you guys waiting for the |
No, we have a "stack too deep" issue, like I said, read the last comment for details. |
External functions can be used to save gas when large arrays of data are being received. This is especially true for the reputation mining process where such large input arrays are accepted. An experimental branch was pushed that started testing this which shows 1,000 gas savings in
confirmJustificationRootHash
(down from139140
to138377
).Note that to enable multi-dimensional array to be accepted in an external function, the ABIEncoderV2 has to be enabled. See documentation note here
Currently we use dynamic size input array of
bytes
in some external candidate reputation functions which blocks their switch toexternal
, however this will potentially be unblocked when #393 is done.The text was updated successfully, but these errors were encountered: