From d172e43d0445b17b758b67d827cfa1bc5e696be8 Mon Sep 17 00:00:00 2001 From: Oleg Baranov Date: Thu, 21 Mar 2024 18:03:19 +0400 Subject: [PATCH] TestWallet_DeployContract added wait for block --- ton/wallet/integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ton/wallet/integration_test.go b/ton/wallet/integration_test.go index dfc85c38..b8e3fe2c 100644 --- a/ton/wallet/integration_test.go +++ b/ton/wallet/integration_test.go @@ -170,7 +170,7 @@ func TestWallet_DeployContract(t *testing.T) { } t.Logf("contract address: %s", addr.String()) - res, err := api.RunGetMethod(ctx, block, addr, "dappka", 5, 10) + res, err := api.WaitForBlock(block.SeqNo+1).RunGetMethod(ctx, block, addr, "dappka", 5, 10) if err != nil { t.Fatal("run err:", err) }