Skip to content
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

feature: serialize and deserialize an incompleted transaction #2067

Merged
merged 28 commits into from
Feb 12, 2024

Conversation

svetoslav-nikol0v
Copy link
Contributor

@svetoslav-nikol0v svetoslav-nikol0v commented Dec 19, 2023

Description:

Serialize and deserialize an incompleted transactions (HIP-745).

Fixes #1808 #1807

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Copy link

codecov bot commented Dec 19, 2023

Codecov Report

Attention: 59 lines in your changes are missing coverage. Please review.

Comparison is base (cb01e23) 76.24% compared to head (cb3333c) 77.86%.
Report is 2 commits behind head on develop.

Files Patch % Lines
src/transaction/Transaction.js 65.69% 59 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2067      +/-   ##
===========================================
+ Coverage    76.24%   77.86%   +1.61%     
===========================================
  Files          305      266      -39     
  Lines        76104    66735    -9369     
===========================================
- Hits         58027    51962    -6065     
+ Misses       18077    14773    -3304     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
…e set

Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
@svetoslav-nikol0v svetoslav-nikol0v marked this pull request as ready for review February 8, 2024 15:05
@svetoslav-nikol0v svetoslav-nikol0v changed the title HIP-745 feature: Create an incompleted transaction Feb 8, 2024
@svetoslav-nikol0v svetoslav-nikol0v changed the title feature: Create an incompleted transaction feature: create an incompleted transaction Feb 8, 2024
@svetoslav-nikol0v svetoslav-nikol0v changed the title feature: create an incompleted transaction feature: serialize and deserialize an incompleted transaction Feb 8, 2024
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
@codecov-commenter
Copy link

codecov-commenter commented Feb 8, 2024

Codecov Report

Attention: 43 lines in your changes are missing coverage. Please review.

Comparison is base (4851721) 77.92% compared to head (784d11f) 84.21%.

❗ Current head 784d11f differs from pull request most recent head e3076be. Consider uploading reports for the commit e3076be to get more accurate results

Files Patch % Lines
src/transaction/Transaction.js 73.54% 41 Missing ⚠️
src/LocalProvider.js 80.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2067      +/-   ##
===========================================
+ Coverage    77.92%   84.21%   +6.29%     
===========================================
  Files          266      305      +39     
  Lines        66595    76250    +9655     
===========================================
+ Hits         51894    64216   +12322     
+ Misses       14701    12034    -2667     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Copy link
Contributor

@agadzhalov agadzhalov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Copy link

sonarcloud bot commented Feb 9, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
50.5% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@svetoslav-nikol0v svetoslav-nikol0v merged commit 8210a60 into develop Feb 12, 2024
6 of 7 checks passed
@svetoslav-nikol0v svetoslav-nikol0v deleted the hip-745 branch February 12, 2024 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HIP-745: Design feature Add HIP-745: Optionally send transaction data without required transaction fields
3 participants