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

Support custom chain IDs #155

Merged
merged 4 commits into from
Feb 19, 2024
Merged

Support custom chain IDs #155

merged 4 commits into from
Feb 19, 2024

Conversation

DelevoXDG
Copy link
Collaborator

@DelevoXDG DelevoXDG commented Feb 16, 2024

Describe your changes

  • Make StarknetChainId a struct
    • Add predefined networks as static values
    • Support custom chain ids
    • Add helper initializers and methods

Linked issues

Closes #152

Breaking changes

  • This issue contains breaking changes
  • StarknetChainId is no longer an enum
  • Renamed StarknetChainId.mainnet -> StarknetChainId.main

DelevoXDG and others added 3 commits February 16, 2024 17:04
- Add predefined networks as static values
- Support custom chain ids
- Add helper initializers and methods
@DelevoXDG DelevoXDG changed the base branch from main to revert-142-feat/138-remove-starknet-chain-id February 17, 2024 14:17
Base automatically changed from revert-142-feat/138-remove-starknet-chain-id to main February 19, 2024 10:24
@DelevoXDG DelevoXDG merged commit 6a78ba4 into main Feb 19, 2024
1 check passed
@DelevoXDG DelevoXDG deleted the feat/152-custom-chain-ids branch February 19, 2024 10:33
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.

Support custom chain IDs
2 participants