#!/usr/bin/env bash
# shellcheck disable=SC2128
# shellcheck source=/dev/null

source "./dockerRelayerTestEvm.sh"
source "./paracrosstestcase.sh"

function bridgevmxgo() {
    if [ "${2}" == "init" ]; then
        para_init "${3}"
    elif [ "${2}" == "config" ]; then
        para_set_wallet
        para_transfer
    elif [ "${2}" == "test" ]; then
        echo "========================== bridgevmxgo test =========================="
        set +e
        set -x
        para_create_nodegroup
        AllRelayerMainTest 10
        #        perf_test_main 1
        echo "========================== bridgevmxgo test end =========================="
    fi
}
