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

Update token supply from L1 to Rollup #518

Open
wants to merge 1 commit into
base: hyperspace-mantis
Choose a base branch
from

Conversation

godilov
Copy link

@godilov godilov commented Oct 25, 2024

Mostly changed rollup/lib.rs and rollup/client.rs.

For RollupClient added RPC parameters to connect L1 - needed to request current token supply.

In RollupClient.submit added static LAST_SUPPLY_UPDATE_TIME (tried to add it in client, but submit takes immutable ref, so unable to update) and once a day update token supply.

@godilov godilov self-assigned this Oct 25, 2024
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.

1 participant