Add reference
All checks were successful
Build / build (pull_request) Successful in 2m42s
Lint / Run golangci-lint (pull_request) Successful in 4m1s
E2E Tests / test-e2e (pull_request) Successful in 4m8s
Integration Tests / test-integration (pull_request) Successful in 2m2s
Unit Tests / test-unit (pull_request) Successful in 2m3s
All checks were successful
Build / build (pull_request) Successful in 2m42s
Lint / Run golangci-lint (pull_request) Successful in 4m1s
E2E Tests / test-e2e (pull_request) Successful in 4m8s
Integration Tests / test-integration (pull_request) Successful in 2m2s
Unit Tests / test-unit (pull_request) Successful in 2m3s
This commit is contained in:
parent
36a26eef54
commit
5b83cb7479
@ -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 {
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user