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

Parse new BatchPostingReport field extraGas #1701

Merged
merged 10 commits into from
Jun 23, 2023
Merged

Conversation

PlasmaPower
Copy link
Collaborator

@PlasmaPower PlasmaPower commented Jun 16, 2023

This PR also pulls in a contracts change to use this new field to improve the accuracy of L1 gas charging on L3 chains: OffchainLabs/nitro-contracts#28

@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Jun 16, 2023
@codecov
Copy link

codecov bot commented Jun 16, 2023

Codecov Report

Merging #1701 (1e6032e) into master (7c6240e) will increase coverage by 0.01%.
The diff coverage is 55.00%.

@@            Coverage Diff             @@
##           master    #1701      +/-   ##
==========================================
+ Coverage   56.21%   56.22%   +0.01%     
==========================================
  Files         217      217              
  Lines       32617    32628      +11     
==========================================
+ Hits        18335    18345      +10     
- Misses      12061    12080      +19     
+ Partials     2221     2203      -18     

@PlasmaPower
Copy link
Collaborator Author

This is no longer necessary with the new BatchPostingReport mechanism in OffchainLabs/nitro-contracts#26

@PlasmaPower
Copy link
Collaborator Author

Reopening because this method is more accurate and what we'll want to move to longer term

@PlasmaPower PlasmaPower reopened this Jun 19, 2023
Copy link
Contributor

@magicxyyz magicxyyz left a comment

Choose a reason for hiding this comment

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

LGTM

@PlasmaPower PlasmaPower merged commit e6b4b74 into master Jun 23, 2023
@PlasmaPower PlasmaPower deleted the batch-report-extra-gas branch June 23, 2023 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ArbOS consensus s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants