Skip to content

Conversation

@Himess
Copy link

@Himess Himess commented Dec 1, 2025

Description
Adds SuperchainDefinition type documentation to superchain-config spec with field descriptions for L1 contract addresses and network parameters.
Fixes #741

Tests

Additional context

Metadata

@Himess Himess marked this pull request as draft December 1, 2025 10:30
@Himess Himess force-pushed the add-superchain-config-type branch 4 times, most recently from 0693114 to c7127f3 Compare December 1, 2025 10:44
@Himess Himess marked this pull request as ready for review December 1, 2025 10:45
@Himess
Copy link
Author

Himess commented Dec 1, 2025

Ready :D

@Himess Himess force-pushed the add-superchain-config-type branch from c7127f3 to 023c15a Compare December 1, 2025 10:49
@Himess Himess force-pushed the add-superchain-config-type branch from 023c15a to 15e69ea Compare December 1, 2025 10:53
Copy link
Member

@emhane emhane left a comment

Choose a reason for hiding this comment

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

nice!

@Himess
Copy link
Author

Himess commented Dec 4, 2025

@emhane Done!

@Himess Himess requested a review from emhane December 4, 2025 16:24
```javascript
SuperchainDefinition {
Name string
ProtocolVersionsAddr checksummedAddress
Copy link
Member

Choose a reason for hiding this comment

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

does checksummed address mean 32 byte array ? not sure what the rest of the spec uses for that, could you please check?

Copy link
Author

Choose a reason for hiding this comment

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

Yeah you are right
Mybad , done


**Fields:**

- `ChainID`: The chain ID of the L1 network (e.g., 1 for Ethereum mainnet, 11155111 for Sepolia)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- `ChainID`: The chain ID of the L1 network (e.g., 1 for Ethereum mainnet, 11155111 for Sepolia)
- `ChainID`: The chain ID of the L1 network (e.g. 1 for Ethereum mainnet, 11155111 for Sepolia)

nitpick

Copy link
Author

Choose a reason for hiding this comment

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

Done

- Change `checksummedAddress` to `address` for consistency with rest of spec
- Remove comma in e.g. abbreviation per style nitpick
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.

Port SuperchainConfig type from superchain-registry

2 participants