Skip to content

Commit

Permalink
Merge pull request #1003 from tonlabs/1.43.2-rc
Browse files Browse the repository at this point in the history
1.43.2 rc
  • Loading branch information
d3p authored Jun 16, 2023
2 parents 4d8f8bb + 946f4a1 commit 4899d81
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 16 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file.


## [1.43.2] – 2023-06-09

### Fixed

- Non existing accounts are treated as missing since q-server return `non existed` if account is missing
- Next block awaiting timeout calculation on message with long expiration time

## [1.43.1] – 2023-06-01

### Fixed
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = [ 'TON Labs LTD <support@tonlabs.io>' ]
edition = '2018'
name = 'api_derive'
version = '1.43.1'
version = '1.43.2'

[dependencies]
quote = '1.0.26'
Expand Down
2 changes: 1 addition & 1 deletion api/info/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = [ 'TON Labs LTD <support@tonlabs.io>' ]
edition = '2018'
name = 'api_info'
version = '1.43.1'
version = '1.43.2'

[dependencies]
serde = '1.0.115'
Expand Down
2 changes: 1 addition & 1 deletion api/test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = [ 'TON Labs LTD <support@tonlabs.io>' ]
edition = '2018'
name = 'api_test'
version = '1.43.1'
version = '1.43.2'

[dependencies]
serde = '1.0.115'
Expand Down
2 changes: 1 addition & 1 deletion ton_client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = 'ton_client'
version = '1.43.1'
version = '1.43.2'
authors = [ 'TON Labs LTD <support@tonlabs.io>' ]
edition = '2018'
license = 'Apache-2.0'
Expand Down
2 changes: 1 addition & 1 deletion ton_client/src/processing/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async fn get_local_error(
let account = fetch_account(context.clone(), address, "boc last_paid acc_type").await?;

if account["acc_type"].as_i64() == Some(ACCOUNT_NONEXIST as i64) {
return Ok("Account is deleted".to_owned());
return Err(crate::tvm::Error::account_missing(address));
}

let account: Account = serde_json::from_value(account)
Expand Down
4 changes: 3 additions & 1 deletion ton_client/src/processing/wait_for_transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,9 @@ async fn wait_by_block_walking<F: futures::Future<Output = ()> + Send>(
loop {
let now = context.env.now_ms();
let fetch_block_timeout =
(std::cmp::max(max_block_time, now) - now).try_into().unwrap_or(u32::MAX) + processing_timeout;
(std::cmp::max(max_block_time, now) - now + processing_timeout as u64)
.try_into()
.unwrap_or(u32::MAX);
log::debug!("fetch_block_timeout {}", fetch_block_timeout);

let block = fetching::fetch_next_shard_block(
Expand Down
Binary file modified ton_client/src/proofs/trusted_key_blocks.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion ton_client/src/tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fn test_parallel_requests() {
.request_json(
"net.wait_for_collection",
json!({
"collection": "accounts".to_owned(),
"collection": "messages".to_owned(),
"filter": json!({
"id": { "eq": "123" }
}),
Expand Down
2 changes: 1 addition & 1 deletion ton_sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = 'ton_sdk'
version = '1.43.1'
version = '1.43.2'
edition = '2018'
license = 'Apache-2.0'
authors = [ 'TON Labs LTD <support@tonlabs.io>' ]
Expand Down
2 changes: 1 addition & 1 deletion toncli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = 'Apache-2.0'
name = 'toncli'
readme = 'README.md'
repository = 'https://github.com/tonlabs/ever-sdk'
version = '1.43.1'
version = '1.43.2'

[dependencies]
base64 = '0.13.0'
Expand Down
2 changes: 1 addition & 1 deletion tools/api.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.43.1",
"version": "1.43.2",
"modules": [
{
"name": "client",
Expand Down

0 comments on commit 4899d81

Please sign in to comment.