diff --git a/assembly/native/build-windows.bat b/assembly/native/build-windows.bat index 330f32644..501f25093 100644 --- a/assembly/native/build-windows.bat +++ b/assembly/native/build-windows.bat @@ -107,7 +107,7 @@ IF %errorlevel% NEQ 0 ( exit /b %errorlevel% ) -IF "%~1"=="-t" ( +IF "%1"=="-t" ( ninja storage-daemon storage-daemon-cli blockchain-explorer fift func tonlib tonlibjson ^ tonlib-cli validator-engine lite-client pow-miner validator-engine-console generate-random-id ^ json2tlo dht-server http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork emulator ^ @@ -134,7 +134,7 @@ IF %errorlevel% NEQ 0 ( exit /b %errorlevel% ) -IF "%~1"=="-t" ( +IF "%1"=="-t" ( echo Running tests... REM ctest -C Release --output-on-failure -E "test-catchain|test-actors|test-validator-session-state" ctest -C Release --output-on-failure diff --git a/crypto/test/test-smartcont.cpp b/crypto/test/test-smartcont.cpp index 98534bc5e..7f512ceae 100644 --- a/crypto/test/test-smartcont.cpp +++ b/crypto/test/test-smartcont.cpp @@ -489,7 +489,7 @@ void do_test_wallet(int revision) { auto address = std::move(res.address); auto iwallet = std::move(res.wallet); auto public_key = priv_key.get_public_key().move_as_ok().as_octet_string(); - ; + check_wallet_state(iwallet, 1, 123, public_key); // lets send a lot of messages @@ -1026,7 +1026,7 @@ class CheckedDns { } return action; }); - auto query = dns_->create_update_query(key_.value(), smc_actions).move_as_ok(); + auto query = dns_->create_update_query(key_.value(), smc_actions, query_id_++).move_as_ok(); CHECK(dns_.write().send_external_message(std::move(query)).code == 0); } map_dns_.update(entries); @@ -1081,6 +1081,7 @@ class CheckedDns { using ManualDns = ton::ManualDns; td::optional key_; td::Ref dns_; + td::uint32 query_id_ = 1; // Query id serve as "valid until", but in tests now() == 0 MapDns map_dns_; td::optional combined_map_dns_;