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

feat: change units of the value in eth gettransactionbyhash result (#… #3081

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

ebadiere
Copy link
Collaborator

@ebadiere ebadiere commented Oct 9, 2024

Related issue(s):

Fixes #3053

Notes for reviewer:

Checklist

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

@ebadiere ebadiere self-assigned this Oct 9, 2024
@ebadiere ebadiere added the enhancement New feature or request label Oct 9, 2024
@ebadiere ebadiere added this to the 0.57.0 milestone Oct 9, 2024
Copy link

github-actions bot commented Oct 9, 2024

🚨 Memory Leak Detected 🚨

A potential memory leak has been detected in the test titled validates enforcement of request id. This may impact the application's performance and stability.

Details

📊 Memory Leak Detection Report 📊

GC Type: MarkSweepCompact
Cost: 33,523.5 ms

Heap Statistics (before vs after executing the test):

  • Total Heap Size: increased with 1.72 MB
  • Total Heap Size Executable: no changes
  • Total Physical Size: decreased with 344.06 KB
  • Total Available Size: increased with 2.37 MB
  • Total Global Handles Size: no changes
  • Used Global Handles Size: decreased with 64.00 bytes
  • Used Heap Size: decreased with 3.31 MB
  • Heap Size Limit: no changes
  • Malloced Memory: no changes
  • External Memory: no changes
  • Peak Malloced Memory: no changes

Heap Space Statistics (before vs after executing the test):

  • Old Space:

    • Space Size: increased with 2.10 MB
    • Space Used Size: increased with 2.01 MB
    • Space Available Size: decreased with 393.16 KB
    • Physical Space Size: increased with 2.10 MB
  • Large Object Space:

    • Space Size: increased with 835.58 KB
    • Space Used Size: increased with 813.50 KB
    • Space Available Size: no changes
    • Physical Space Size: increased with 835.58 KB

Recommendations

Please investigate the memory allocations in this test, focusing on objects that are not being properly deallocated.

Copy link

github-actions bot commented Oct 9, 2024

Tests

       3 files     298 suites   19s ⏱️
1 359 tests 1 358 ✔️ 1 💤 0
1 368 runs  1 367 ✔️ 1 💤 0

Results for commit 7a802c6.

♻️ This comment has been updated with latest results.

…3080)

* fix: change unit of transaction value result

Signed-off-by: Nadezhda Popova <[email protected]>

* chore: reusable tinybarsToWeibars method and tests

Signed-off-by: Nadezhda Popova <[email protected]>

---------

Signed-off-by: Nadezhda Popova <[email protected]>
Co-authored-by: Nadezhda Popova <[email protected]>
Signed-off-by: ebadiere <[email protected]>
@ebadiere ebadiere force-pushed the 3053-change-units-cherry-pick branch from e4c171f to 7a802c6 Compare October 9, 2024 16:19
Copy link

sonarcloud bot commented Oct 9, 2024

Copy link

github-actions bot commented Oct 9, 2024

Acceptance Tests

  19 files  244 suites   33m 0s ⏱️
605 tests 597 ✔️ 4 💤 4
733 runs  725 ✔️ 4 💤 4

Results for commit 7a802c6.

@ebadiere ebadiere merged commit 6ef6446 into release/0.57 Oct 9, 2024
43 checks passed
@ebadiere ebadiere deleted the 3053-change-units-cherry-pick branch October 9, 2024 16:46
Copy link

codecov bot commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.92%. Comparing base (78cd1dd) to head (7a802c6).
Report is 1 commits behind head on release/0.57.

Additional details and impacted files
@@              Coverage Diff              @@
##           release/0.57    #3081   +/-   ##
=============================================
  Coverage         84.92%   84.92%           
=============================================
  Files                58       58           
  Lines              3906     3906           
  Branches            785      785           
=============================================
  Hits               3317     3317           
  Misses              348      348           
  Partials            241      241           
Flag Coverage Δ
relay 85.11% <ø> (ø)
server 83.05% <ø> (ø)
ws-server 97.87% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
packages/relay/src/lib/constants.ts 91.30% <ø> (ø)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants