Commit a081b76b authored by QM's avatar QM Committed by vipwzw

fix unit test

parent 139976f0
......@@ -171,6 +171,7 @@ func Test_DeployContrcts(t *testing.T) {
deployInfo: cfg.Deploy,
}
relayer.clientSpec = sim
relayer.clientWss = sim
relayer.clientChainID = big.NewInt(1)
deployPrivateKey, _ := crypto.ToECDSA(common.FromHex(relayer.deployInfo.DeployerPrivateKey))
......@@ -439,6 +440,7 @@ func newEthRelayer(para *ethtxs.DeployPara, sim *ethinterface.SimExtend, x2EthCo
relayer.eventLogIndex = relayer.getLastBridgeBankProcessedHeight()
relayer.initBridgeBankTx()
relayer.clientSpec = sim
relayer.clientWss = sim
relayer.clientChainID = big.NewInt(1337)
deployPrivateKey, _ := crypto.ToECDSA(common.FromHex(relayer.deployInfo.DeployerPrivateKey))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment