decred.org/dcrdex@v1.0.3/client/asset/zcl/regnet_test.go (about)

     1  //go:build harness
     2  
     3  package zcl
     4  
     5  // Regnet tests expect the ZEC test harness to be running.
     6  
     7  import (
     8  	"testing"
     9  
    10  	"decred.org/dcrdex/client/asset/btc/livetest"
    11  	"decred.org/dcrdex/dex"
    12  )
    13  
    14  var (
    15  	tLotSize uint64 = 1e6
    16  	tZCL            = &dex.Asset{
    17  		ID:         BipID,
    18  		Symbol:     "zcl",
    19  		MaxFeeRate: 100,
    20  		SwapConf:   1,
    21  	}
    22  )
    23  
    24  func TestWallet(t *testing.T) {
    25  	livetest.Run(t, &livetest.Config{
    26  		NewWallet: NewWallet,
    27  		LotSize:   tLotSize,
    28  		Asset:     tZCL,
    29  		FirstWallet: &livetest.WalletName{
    30  			Node:     "alpha",
    31  			Filename: "alpha.conf",
    32  		},
    33  		SecondWallet: &livetest.WalletName{
    34  			Node:     "beta",
    35  			Filename: "beta.conf",
    36  		},
    37  	})
    38  }