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

Research Area: EIP-7886 based Custom Gas Token #606

Open
tynes opened this issue Mar 4, 2025 · 1 comment
Open

Research Area: EIP-7886 based Custom Gas Token #606

tynes opened this issue Mar 4, 2025 · 1 comment

Comments

@tynes
Copy link
Contributor

tynes commented Mar 4, 2025

With EIP-7886, it becomes possible to charge for gas in any token using a smart builder because the coinbase address (sequencer) is charged for inclusion costs upfront.

Since the sequencer fee vault is hardcoded as the coinbase, it would mean that a certain amount of ether would need to be present in there to provide liquidity, as it would be deducted to pay for the entire gas of a block at the beginning of the block state transition function. The block builder can then include transactions that pay it in any currency and would just need to be smart enough to manage liquidity of ether so that it can continue to process blocks.

@zhiqiangxu
Copy link
Contributor

zhiqiangxu commented Mar 5, 2025

If I'm understanding correctly, this design of CGT is purely on L2(the gas token is a L2 ERC20 token), so quite different from the previous design which is purely on L1(the gas token is a L1 ERC20 token), is it right?

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

No branches or pull requests

2 participants