chainlink-testing-framework
chainlink-testing-framework copied to clipboard
[SHIP-1501] Enable X Layer
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
andwrapMultiClient
functions respectively.
- Added
-
blockchain/xlayer.go
- Introduced new file defining
XLayerClient
andXLayerMultinodeClient
structs, extending single and multi-node Ethereum client capabilities to the XLayer network.
- Introduced new file defining
-
networks/known_networks.go
- Added configuration for
XLayerSepolia
andXLayerMainnet
within theMappedNetworks
map and as standaloneEVMNetwork
instances, setting up network parameters for the XLayer blockchain on Sepolia testnet and mainnet.
- Added configuration for