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

Set better arbos defaults for new chains #978

Merged
merged 6 commits into from Aug 18, 2022

Conversation

rachel-bousfield
Copy link
Contributor

@rachel-bousfield rachel-bousfield commented Aug 17, 2022

Adds a firstTime flag to the upgrade loop so that new chains can have different defaults
Also exposes additional l1 pricing params in arbdebug

@cla-bot cla-bot bot added the cla-signed label Aug 17, 2022
@codecov
Copy link

codecov bot commented Aug 17, 2022

Codecov Report

Merging #978 (bbe73f9) into master (1fcb844) will decrease coverage by 4.08%.
The diff coverage is 51.61%.

@@            Coverage Diff             @@
##           master     #978      +/-   ##
==========================================
- Coverage   51.86%   47.78%   -4.09%     
==========================================
  Files         229      217      -12     
  Lines       28889    24756    -4133     
  Branches      511      511              
==========================================
- Hits        14983    11829    -3154     
+ Misses      12326    11347     -979     
  Partials     1580     1580              

Copy link
Contributor

@edfelten edfelten left a comment

Choose a reason for hiding this comment

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

I think a couple of parameters should be set differently in V7.

arbos/l1pricing/l1pricing.go Outdated Show resolved Hide resolved
arbos/l1pricing/l1pricing.go Outdated Show resolved Hide resolved
@rachel-bousfield
Copy link
Contributor Author

Btw I've adjusted this initialization to happen in v6, which is good for testing and lets us adopt this immediately on new chains

@edfelten edfelten self-requested a review August 17, 2022 20:38
Copy link
Contributor

@edfelten edfelten left a comment

Choose a reason for hiding this comment

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

Looks good.

@rachel-bousfield rachel-bousfield merged commit a92e18b into master Aug 18, 2022
@rachel-bousfield rachel-bousfield deleted the new-chain-arbos-defaults branch August 18, 2022 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants