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: publicly export GasOutputs #2091

Merged
merged 1 commit into from
Dec 3, 2024
Merged

feat: publicly export GasOutputs #2091

merged 1 commit into from
Dec 3, 2024

Conversation

elmattic
Copy link
Contributor

@elmattic elmattic commented Dec 3, 2024

It would be beneficial for Forest to use the GasOutputs type, as it is necessary for computing gas outputs when creating Ethereum transaction receipts.

At present, we are duplicating this code.

This PR tries to fix that by publicly exporting it. Let me know your thoughts, thanks!

@codecov-commenter
Copy link

codecov-commenter commented Dec 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.75%. Comparing base (89826d0) to head (f4c7bdd).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2091      +/-   ##
==========================================
- Coverage   75.76%   75.75%   -0.01%     
==========================================
  Files         154      154              
  Lines       15712    15712              
==========================================
- Hits        11904    11903       -1     
- Misses       3808     3809       +1     
Files with missing lines Coverage Δ
fvm/src/gas/mod.rs 93.71% <ø> (ø)
fvm/src/gas/outputs.rs 100.00% <ø> (ø)

... and 1 file with indirect coverage changes

@elmattic elmattic requested a review from Stebalien December 3, 2024 14:34
@Stebalien Stebalien merged commit 2ded891 into master Dec 3, 2024
14 checks passed
@Stebalien Stebalien deleted the export-gas-outputs branch December 3, 2024 15:09
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.

3 participants