Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1006 Bytes

README.md

File metadata and controls

41 lines (31 loc) · 1006 Bytes

E2E test

This is an e2e demo and test between two hyperledger besu chains using yui-relayer.

Requirements

First, need to install go >= v1.22 and node >= v20.

Also, need to install npm dependencies:

$ npm install

How to run

Just execute the single command:

$ make network-qbft test

The above commands execute the following in sequence:

  1. Launch two HB chains (both chain uses QBFT consensus)
    • make network-qbft
  2. Deploy the IBC contracts from yui-ibc-solidity to the chains using hardhat
    • make deploy
  3. Configurate yui-relayer setting with ./relayer/configs
    • make init
  4. Perform IBC handshake using yui-relayer
    • make handshake
  5. Send a packet using ./scripts/sendPacket.js and relay it using yui-relayer
    • make relay
  6. Shutdown two HB chains
    • make network-down

IBFT2

If you want to test with IBFT2, please do the following commands.

$ make network-ibft2 test-ibft2