-
Notifications
You must be signed in to change notification settings - Fork 5
Uncouple emptying gas_meter from updating the gas spent for the block #68
Conversation
…. However keep the update function for GasHandler as it seems to be relevant to this trait.
|
related: rustwasm/wasm-bindgen#2009 |
…ow "finish" will call the right "empty_unused_gas".
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.
Please see requested changes, happy to discuss design decisions =)
…ause the team see a new interface such as finish fo GasHandler as exposing. The test for checking if gas-spent for the block increases correctly is removed as it couldn't be relevant with this new design.
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.
TY LGTM
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.
LGTM 👍
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.
LGTM !
…_substrate * origin/develop: Uncouple emptying gas_meter from updating the gas spent for the block (#68)
…#68) * Uncouple emptying gas_meter from updating the gas spent for the block.
Closes #67