Skip to content

Conversation

SamWilsn
Copy link
Contributor

What was wrong?

Related to Issue #1357

How was it fixed?

Rewrote the new fork tool to be more than just find-and-replace. It now uses libcst to transform the source somewhat intelligently.

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@codecov-commenter
Copy link

codecov-commenter commented Aug 19, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.95%. Comparing base (68b8df5) to head (2347cb8).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##           forks/osaka    #1372   +/-   ##
============================================
  Coverage        94.94%   94.95%           
============================================
  Files              583      583           
  Lines            34665    34665           
  Branches          3070     3070           
============================================
+ Hits             32914    32916    +2     
+ Misses            1198     1195    -3     
- Partials           553      554    +1     
Flag Coverage Δ
unittests 94.95% <ø> (+<0.01%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.


blob_parameters = parser.add_argument_group()

blob_parameters.add_argument(
Copy link
Contributor

Choose a reason for hiding this comment

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

This could get a bit more complicated since post-Osaka, we won't have TARGET_BLOB_GAS_PER_BLOCK as ain independent constant. See this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should we disable this option post-osaka or allow users to modify it at their own risk?

options = parser.parse_args(args)

if options.template_fork == "spurious_dragon":
raise NotImplementedError(
Copy link
Contributor

Choose a reason for hiding this comment

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

Tangerine Whistle and Dao Fork?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ugh, if there are more instances of "a self-reference that shouldn't be changed" I don't think I can leave this unimplemented 🤣

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hm, from a quick look, it seems like spurious dragon is the only fork that's referenced by other forks (eg. here).

@SamWilsn SamWilsn force-pushed the new-and-improved branch 4 times, most recently from 3e6785e to 615b3db Compare September 3, 2025 20:20
`actions-rs` has been archived and is no longer the recommended way to
install packages. Instead, I'm using the Ubuntu-provided `rustup`.
@SamWilsn
Copy link
Contributor Author

SamWilsn commented Sep 4, 2025

What a finicky tool. Should be good to review now.

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