Skip to content

feat: add L1Withdrawer and SuperchainRevSharesCalculator specs#58

Merged
0xDiscotech merged 42 commits intofeat/fee-splitterfrom
feat/sc-rev-share-calc
Sep 18, 2025
Merged

feat: add L1Withdrawer and SuperchainRevSharesCalculator specs#58
0xDiscotech merged 42 commits intofeat/fee-splitterfrom
feat/sc-rev-share-calc

Conversation

@0xiamflux
Copy link
Copy Markdown

Closes OPT-1051

@0xiamflux 0xiamflux self-assigned this Sep 2, 2025
@linear
Copy link
Copy Markdown

linear Bot commented Sep 2, 2025

OPT-1051 Update specs

Copy link
Copy Markdown

@0xDiscotech 0xDiscotech left a comment

Choose a reason for hiding this comment

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

SuperchainRevShareCalculator and L1Withdrawer are looking good!
There are several outdated stuff on the FeeSplitter and FeeVaultInitializer. I suggest double checking them, taking into account the comments, and also taking the time to think of new stuff (e.g. invariants) that could be missing.

I couldn't comment this one bc is not part of this PR changes:
Remove

  • Any last‑wei rounding delta goes to the last recipient returned by the calculator.

Comment thread specs/protocol/jovian/fee-splitter.md Outdated
Comment thread specs/protocol/jovian/fee-splitter.md Outdated
Comment thread specs/protocol/jovian/fee-splitter.md Outdated
Comment thread specs/protocol/jovian/fee-splitter.md Outdated
Comment thread specs/protocol/jovian/fee-splitter.md Outdated
Comment thread specs/protocol/jovian/fee-splitter.md Outdated
Comment thread specs/protocol/jovian/fee-splitter.md Outdated
Comment thread specs/protocol/jovian/fee-splitter.md Outdated
Comment thread specs/protocol/jovian/fee-vault-initializer.md Outdated
Comment thread specs/protocol/jovian/fee-vault-initializer.md Outdated
Comment thread specs/protocol/jovian/l1-withdrawer.md Outdated
Comment thread specs/protocol/jovian/fee-vault-initializer.md Outdated
Comment thread specs/protocol/jovian/fee-vault-initializer.md Outdated
@0xDiscotech 0xDiscotech requested a review from Joxess September 3, 2025 16:30
Comment thread specs/protocol/jovian/fee-splitter.md Outdated
Comment thread specs/protocol/jovian/fee-splitter.md Outdated
Comment thread specs/protocol/jovian/fee-splitter.md Outdated
Comment thread specs/protocol/jovian/fee-splitter.md Outdated
Comment thread specs/protocol/jovian/fee-splitter.md Outdated
Comment thread specs/protocol/jovian/predeploys.md Outdated
Comment thread specs/protocol/jovian/predeploys.md Outdated
Comment thread specs/protocol/jovian/predeploys.md Outdated
Comment thread specs/protocol/jovian/superchain-revshares-calc.md Outdated
Comment thread specs/protocol/jovian/superchain-revshares-calc.md
0xiamflux and others added 7 commits September 3, 2025 12:36
Co-authored-by: Disco <131301107+0xDiscotech@users.noreply.github.com>
Signed-off-by: IamFlux <175354924+0xiamflux@users.noreply.github.com>
Comment thread specs/protocol/jovian/fee-vault-initializer.md Outdated
Comment thread specs/protocol/jovian/fee-vault-initializer.md Outdated

Execute in order so that deployments exist before proxies are upgraded.

## Alternatives Considered
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We should move this entire section into a design doc (maybe in the FeeSpliter design doc, as part of the solution, since this is a requirement to make it work)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

and remove it from here? or have it in both places?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

We removed it here.

Comment thread specs/protocol/jovian/l1-withdrawer.md
Comment thread specs/protocol/jovian/predeploys.md Outdated
Comment thread specs/protocol/jovian/superchain-revshares-calc.md Outdated
Co-authored-by: Joxes <91908708+Joxess@users.noreply.github.com>
Signed-off-by: IamFlux <175354924+0xiamflux@users.noreply.github.com>
0xiamflux and others added 8 commits September 3, 2025 14:48
Co-authored-by: Joxes <91908708+Joxess@users.noreply.github.com>
Signed-off-by: IamFlux <175354924+0xiamflux@users.noreply.github.com>
Co-authored-by: Joxes <91908708+Joxess@users.noreply.github.com>
Signed-off-by: IamFlux <175354924+0xiamflux@users.noreply.github.com>
Copy link
Copy Markdown

@0xDiscotech 0xDiscotech left a comment

Choose a reason for hiding this comment

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

Good job so far!

Comment thread specs/protocol/jovian/predeploys.md Outdated
Comment thread specs/protocol/jovian/predeploys.md Outdated
Comment thread specs/protocol/jovian/predeploys.md
Comment thread specs/protocol/jovian/predeploys.md
Comment thread specs/protocol/jovian/predeploys.md Outdated
Comment thread specs/protocol/jovian/predeploys.md Outdated
Comment thread specs/protocol/jovian/l1-withdrawer.md Outdated
Comment thread specs/protocol/jovian/superchain-revshares-calc.md Outdated
Comment thread specs/protocol/jovian/superchain-revshares-calc.md Outdated
Comment thread specs/protocol/jovian/superchain-revshares-calc.md Outdated
@agusduha
Copy link
Copy Markdown
Member

agusduha commented Sep 4, 2025

Update FeeSplitter predeploy number to 0x420000000000000000000000000000000000002B

@0xiamflux 0xiamflux marked this pull request as ready for review September 17, 2025 16:16
@0xDiscotech 0xDiscotech merged commit f74237d into feat/fee-splitter Sep 18, 2025
1 check passed
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.

5 participants