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

[SHIP-1501] Enable X Layer #906

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

[SHIP-1501] Enable X Layer #906

wants to merge 1 commit into from

Conversation

friedemannf
Copy link
Member

@friedemannf friedemannf commented Apr 8, 2024


Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The changes integrate support for a new blockchain client, XLayer, into the system. This includes its incorporation into known networks and the creation of corresponding client classes for single and multi-node setups.

What

  • blockchain/known_networks.go
    • Added XLayerClientImplementation to the list of client implementations.
    • Implemented the wrapping of single and multi-node clients for XLayer in wrapSingleClient and wrapMultiClient functions respectively.
  • blockchain/xlayer.go
    • Introduced new file defining XLayerClient and XLayerMultinodeClient structs, extending single and multi-node Ethereum client capabilities to the XLayer network.
  • networks/known_networks.go
    • Added configuration for XLayerSepolia and XLayerMainnet within the MappedNetworks map and as standalone EVMNetwork instances, setting up network parameters for the XLayer blockchain on Sepolia testnet and mainnet.

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.

None yet

1 participant