From 5b83cb7479f495367cc2de086591f1a59db9c3c7 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Tue, 12 Mar 2024 17:16:34 +0530 Subject: [PATCH] Add reference --- testutil/cli/tx.go | 2 ++ testutil/network/doc.go | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/testutil/cli/tx.go b/testutil/cli/tx.go index e84d6c25..a2ec2c99 100644 --- a/testutil/cli/tx.go +++ b/testutil/cli/tx.go @@ -12,6 +12,8 @@ import ( "git.vdb.to/cerc-io/laconic2d/testutil/network" ) +// Reference: https://github.com/cosmos/cosmos-sdk/blob/v0.50.3/testutil/cli/tx.go#L15 + // CheckTxCode verifies that the transaction result returns a specific code // Takes a network, wait for two blocks and fetch the transaction from its hash func CheckTxCode(network *network.Network, clientCtx client.Context, txHash string, expectedCode uint32) error { diff --git a/testutil/network/doc.go b/testutil/network/doc.go index f61c281d..7f744667 100644 --- a/testutil/network/doc.go +++ b/testutil/network/doc.go @@ -68,5 +68,7 @@ package network /* NOTE: Copied over from https://github.com/cosmos/cosmos-sdk/tree/v0.50.3/testutil/network - Patch: Skipped network.LatestHeight() call at the end of New() + Patch: + - Skipped network.LatestHeight() call at the end of New() + - Removed block timeouts */