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

Merged
merged 3 commits into from
Oct 31, 2024

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 requested a review from vmarkushin October 25, 2024 12:07
@godilov godilov self-assigned this Oct 25, 2024
@godilov godilov force-pushed the hyperspace-mantis-update-token-supply branch from 3610045 to e51e7e0 Compare October 29, 2024 12:36
Copy link
Collaborator

@vmarkushin vmarkushin left a comment

Choose a reason for hiding this comment

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

The rest of the code LGTM

hyperspace/rollup/src/lib.rs Outdated Show resolved Hide resolved
@godilov godilov force-pushed the hyperspace-mantis-update-token-supply branch from 8b7deb6 to 386a3b7 Compare October 30, 2024 16:15
@godilov godilov merged commit cbd0d48 into hyperspace-mantis Oct 31, 2024
@godilov godilov deleted the hyperspace-mantis-update-token-supply branch October 31, 2024 10:53
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.

2 participants