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

feat: fetch addresses from registry #12000

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

just-mitch
Copy link
Collaborator

@just-mitch just-mitch commented Feb 14, 2025

Add typescript wrapper for Registry

Include a static function to get all the L1 contract addresses for a particular rollup version.

Adds a slash factory address to the rollup contract storage and provides getter/setter methods to access it. This allows the rollup contract to reference the slash factory for slashing operations.

Key changes:

  • Adds slashFactory field to RollupStore struct
  • Implements setSlashFactory() and getSlashFactory() methods
  • Updates deployment script to set slash factory address
  • Adds registry contract implementation and tests
  • Transfers fee asset ownership to coin issuer during deployment

Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@just-mitch just-mitch force-pushed the 02-13-feat_fetch_addresses_from_registry branch from 50eaaf6 to 3dbe043 Compare February 14, 2025 00:09
@just-mitch just-mitch marked this pull request as ready for review February 14, 2025 00:12
@just-mitch just-mitch force-pushed the 02-13-feat_fetch_addresses_from_registry branch from 3dbe043 to 3cdc156 Compare February 14, 2025 00:35
@just-mitch just-mitch force-pushed the 02-13-feat_fetch_addresses_from_registry branch from 3cdc156 to 3d9cdb0 Compare February 14, 2025 14:14
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