Link return values by CID in receipts #722
Stebalien
started this conversation in
Enhancements - Technical
Replies: 1 comment 1 reply
-
This conceptually makes sense. Do you have any data on the size of return values today? I realise this data may not indicate the future, since new smart contracts might return large items.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, return values are directly embedded in receipts. However:
My proposal here is to link to return values by CID in on-chain receipts. This solves both problems at the cost of hashing return value.
In terms of gas, this would cost an extra 10gas/byte on top of the current 1300/byte storage fee (<1% increase). In terms of performance:
Beta Was this translation helpful? Give feedback.
All reactions