-
Notifications
You must be signed in to change notification settings - Fork 662
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
fix (runtime): Add comments to fees #3073
Conversation
@@ -10,6 +10,8 @@ pub type Gas = u64; | |||
|
|||
/// Costs associated with an object that can only be sent over the network (and executed | |||
/// by the receiver). | |||
/// NOTE: `send_sir` or `send_not_sir` fees are usually burned when the item is being created. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the genesis_config.json
these two fees are always equal. Wouldn't you expect send_sir
to be cheaper?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of them are handled the same right now. We don't have optimizations for sir
and not_sir
Codecov Report
@@ Coverage Diff @@
## master #3073 +/- ##
=======================================
Coverage 87.38% 87.38%
=======================================
Files 217 217
Lines 42552 42552
=======================================
Hits 37185 37185
Misses 5367 5367 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While this is a good change, we still need more formal definition of the costs, so that we can measure costs by putting probes in proper places of the execution.
Add more comments to Cost configs.
Add more comments to Cost configs.
Add more comments to Cost configs.