Skip to content

Commit

Permalink
use local goerli for smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Nov 15, 2023
1 parent 5195f5d commit 927f2bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion contrib/localnet/orchestrator/smoketest/test_deposit_eth.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,13 @@ func (sm *SmokeTest) TestDepositEtherIntoZRC20() {
sm.wg.Add(1)
go func() {
defer sm.wg.Done()
WaitCctxMinedByInTxHash(signedTx.Hash().Hex(), sm.cctxClient)
cctx := WaitCctxMinedByInTxHash(signedTx.Hash().Hex(), sm.cctxClient)
if cctx.CctxStatus.Status != types.CctxStatus_OutboundMined {
panic(fmt.Sprintf("expected cctx status to be mined; got %s, message: %s",
cctx.CctxStatus.Status.String(),
cctx.CctxStatus.StatusMessage),
)
}
c <- 0
}()
sm.wg.Add(1)
Expand Down
4 changes: 2 additions & 2 deletions contrib/localnet/orchestrator/smoketest/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func DeploySystemContractsAndZRC20(zetaTxServer ZetaTxServer) error {
_, err = zetaTxServer.BroadcastTx(FungibleAdminName, fungibletypes.NewMsgDeployFungibleCoinZRC20(
FungibleAdminAddress,
"",
common.GoerliChain().ChainId,
common.GoerliLocalnetChain().ChainId,
18,
"ETH",
"gETH",
Expand Down Expand Up @@ -194,7 +194,7 @@ func DeploySystemContractsAndZRC20(zetaTxServer ZetaTxServer) error {
_, err = zetaTxServer.BroadcastTx(FungibleAdminName, fungibletypes.NewMsgDeployFungibleCoinZRC20(
FungibleAdminAddress,
usdtAddr,
common.GoerliChain().ChainId,
common.GoerliLocalnetChain().ChainId,
6,
"USDT",
"USDT",
Expand Down

0 comments on commit 927f2bc

Please sign in to comment.