Skip to content

Conversation

@Vui-Chee
Copy link

Fixes #38.

/// XLayer: custom chain names are not of `alloy` chain enum, and this name is passed
/// into reth node as arg. If we passed in a numerical value to `--chain`, the reth node
/// fails to start.
fn custom_chainname(&self, chain_str: String, is_id: bool) -> String {

Choose a reason for hiding this comment

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

i think it's better to add xlayer chain name in alloy

Copy link
Author

Choose a reason for hiding this comment

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

Sounds good if I were only testing mainnet. But for testnet, I do not believe we commit such a change to alloy?

Copy link
Author

Choose a reason for hiding this comment

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

Maybe passing an arg to override the chainname (if no exist) will allow any custom name to be passed?

Choose a reason for hiding this comment

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

i think this can be committed temparary, but pls add a mark TODO to commit to alloy later on

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.

reth-bench-compare tool fails on --chain ...

3 participants