#!/usr/bin/env bash
source "./allRelayerTest.sh"
source "./perf_test.sh"

function x2Ethereum() {
    if [ "${2}" == "init" ]; then
        return
    elif [ "${2}" == "config" ]; then
        return
    elif [ "${2}" == "test" ]; then
        echo "========================== x2Ethereum test =========================="
        set +e
        set -x
        AllRelayerMainTest 1
        perf_test_main 1
    fi
}
