This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
Update charge fee and add n_steps for reverted transactions #787
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## main #787 +/- ##
==========================================
+ Coverage 91.66% 91.76% +0.10%
==========================================
Files 54 54
Lines 12834 12871 +37
==========================================
+ Hits 11764 11811 +47
+ Misses 1070 1060 -10
|
SantiagoPittella
approved these changes
Jul 11, 2023
juanbono
suggested changes
Jul 12, 2023
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.
Lets wait to have the other PR for reverted tx ready before merging this one
Merge #813 first |
MegaRedHand
approved these changes
Jul 17, 2023
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
MegaRedHand
reviewed
Jul 17, 2023
Co-authored-by: Tomás <47506558+MegaRedHand@users.noreply.github.com>
juanbono
reviewed
Jul 17, 2023
src/transaction/fee.rs
Outdated
/// # Parameters: | ||
/// - `state`: A state that implements the [`State`] and [`StateReader`] traits. | ||
/// - `resources`: the resources that are in use by the contract | ||
/// - `block_context`: The block that contains the execution context |
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.
the Parameters section looks incomplete. Also the block context description doesn't look accurate
juanbono
approved these changes
Jul 17, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #716