-
Notifications
You must be signed in to change notification settings - Fork 143
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
Include gas fee in ContractCreate
and ContractCall
record transactionFee
fields
#9774
Conversation
… fields Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #9774 +/- ##
==========================================
Coverage ? 65.44%
Complexity ? 29987
==========================================
Files ? 3297
Lines ? 125585
Branches ? 13027
==========================================
Hits ? 82186
Misses ? 40266
Partials ? 3133 ☔ View full report in Codecov by Sentry. |
...-node/test-clients/src/main/java/com/hedera/services/bdd/spec/utilops/SnapshotMatchMode.java
Show resolved
Hide resolved
hedera-node/test-clients/src/main/java/com/hedera/services/bdd/spec/utilops/SnapshotMode.java
Show resolved
Hide resolved
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
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
...mpl/src/main/java/com/hedera/node/app/service/contract/impl/records/GasFeeRecordBuilder.java
Show resolved
Hide resolved
...pl/src/main/java/com/hedera/node/app/service/contract/impl/handlers/ContractCallHandler.java
Show resolved
Hide resolved
...-impl/src/test/java/com/hedera/node/app/service/contract/impl/test/exec/CallOutcomeTest.java
Show resolved
Hide resolved
...est/java/com/hedera/node/app/service/contract/impl/test/records/GasFeeRecordBuilderTest.java
Show resolved
Hide resolved
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 ! Thanks @tinker-michaelj
…ctionFee` fields (#9774) Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
…ctionFee` fields (#9774) Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com> Signed-off-by: Nick Poorman <nick@swirldslabs.com>
Description:
1️⃣ In
contract-service-impl
:GasFeeRecordBuilder
for the contract operations that directly deduct the gas cost from the payer account (0.0.2
---leave this for mono-service parity).CallOutcome
with thegasPrice
used for the contract operation; and then updates records with total assessed gas fees inContractCallHandler
andContractCreateHandler
.2️⃣ In
test-clients
:SnapshotMode
/SnapshotMatchMode
files in old package (incomplete merge)."alias"
inFIELDS_TO_SKIP_IN_FUZZY_MATCH
./HAPI Test/
path segment from@HapiTest
record stream loc.SnapshotModeOp
.