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

Log fileId and file size for callData #541

Merged
merged 5 commits into from
Sep 21, 2022
Merged

Conversation

lukelee-sl
Copy link
Member

Signed-off-by: lukelee-sl [email protected]

Description:
Log details about the file created for callData when calling a transaction.

Fixes #540

Notes for reviewer:

Checklist

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

@lukelee-sl lukelee-sl self-assigned this Sep 20, 2022
@codecov-commenter
Copy link

codecov-commenter commented Sep 20, 2022

Codecov Report

Base: 76.75% // Head: 75.23% // Decreases project coverage by -1.52% ⚠️

Coverage data is based on head (e045cbc) compared to base (abab2db).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #541      +/-   ##
==========================================
- Coverage   76.75%   75.23%   -1.53%     
==========================================
  Files          12       12              
  Lines         938      957      +19     
  Branches      144      149       +5     
==========================================
  Hits          720      720              
- Misses        171      190      +19     
  Partials       47       47              
Impacted Files Coverage Δ
packages/relay/src/lib/clients/sdkClient.ts 7.03% <0.00%> (-1.23%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Nana-EC Nana-EC added enhancement New feature or request P1 labels Sep 20, 2022
Nana-EC
Nana-EC previously approved these changes Sep 20, 2022
Copy link
Collaborator

@Nana-EC Nana-EC left a comment

Choose a reason for hiding this comment

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

LG

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Nana-EC Nana-EC merged commit d1fcdc3 into main Sep 21, 2022
@Nana-EC Nana-EC deleted the 540-capture-calldata-details branch September 21, 2022 03:22
@Nana-EC Nana-EC added this to the 0.8.0 milestone Sep 21, 2022
lukelee-sl added a commit that referenced this pull request Sep 21, 2022
Log details about the file created for callData when calling a transaction.

Signed-off-by: lukelee-sl <[email protected]>
lukelee-sl added a commit that referenced this pull request Sep 21, 2022
Log details about the file created for callData when calling a transaction.

Signed-off-by: lukelee-sl <[email protected]>
lukelee-sl added a commit that referenced this pull request Sep 21, 2022
Log details about the file created for callData when calling a transaction.

Signed-off-by: lukelee-sl <[email protected]>
lukelee-sl added a commit that referenced this pull request Sep 21, 2022
* Log fileId and file size for callData

Signed-off-by: lukelee-sl <[email protected]>

* make createFile function private

Signed-off-by: lukelee-sl <[email protected]>

* createFile should only take callData

Signed-off-by: lukelee-sl <[email protected]>

* clear callData after file creation

Signed-off-by: lukelee-sl <[email protected]>

* do not create file for contracts <= 5120 bytes

Signed-off-by: lukelee-sl <[email protected]>

* Log fileId and file size for callData (#541)

Log details about the file created for callData when calling a transaction.

Signed-off-by: lukelee-sl <[email protected]>

Signed-off-by: lukelee-sl <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P1
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Capture Ethereum transactions CallData details
3 participants