Skip to content

Commit 9baca62

Browse files
authored
Merge pull request #34 from tonlabs/0.28.3-rc
Version 0.28.3
2 parents 9509e5a + 06a6499 commit 9baca62

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Release Notes
22
All notable changes to this project will be documented in this file.
33

4+
## 0.28.3 May 20, 2021
5+
### Fixed
6+
- Made code ready for planned updates in dependant repositories
7+
48
## 0.28.2 May 18, 2021
59
### Fixed
610
- Fixed previous bugfix. If you still have an error running TON Live explorer, clear your browser cache.

ton-node-se/ton_node/src/node_engine/blocks_finality.rs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -435,13 +435,11 @@ debug!(target: "node", "PUT-TRANSACTION-BLOCK {}", transaction.hash()?.to_hex_st
435435
if changed_acc.contains(&id) {
436436
// acc.account.prepare_proof_for_json(&state_root)?;
437437
// acc.account.prepare_boc_for_json()?;
438-
match acc.read_account()? {
439-
Account::AccountNone => {
440-
error!(target: "node", "something gone wrong with account {:x}", id);
441-
}
442-
acc => if let Err(err) = db.put_account(acc) {
443-
warn!(target: "node", "reflect account to DB. error: {}", err);
444-
}
438+
let acc = acc.read_account()?;
439+
if acc.is_none() {
440+
error!(target: "node", "something gone wrong with account {:x}", id);
441+
} else if let Err(err) = db.put_account(acc) {
442+
warn!(target: "node", "reflect account to DB. error: {}", err);
445443
}
446444
}
447445
Ok(true)

ton-node-se/ton_node/src/node_engine/messages.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ impl<T> MessagesProcessor<T> where
223223
description.compute_ph = TrComputePhase::Vm(vm_phase);
224224
}
225225
Some(ExecutorError::NoFundsToImportMsg) => {
226-
description.compute_ph = if account == Account::AccountNone {
226+
description.compute_ph = if account.is_none() {
227227
TrComputePhase::skipped(ComputeSkipReason::NoState)
228228
} else {
229229
TrComputePhase::skipped(ComputeSkipReason::NoGas)
@@ -285,7 +285,7 @@ info!(target: "profiler", "Transaction time: {} micros", now.elapsed().as_micros
285285
let now = Instant::now();
286286
// update or remove shard account in new shard state
287287
let acc = Account::construct_from_cell(acc_root)?;
288-
if acc != Account::AccountNone {
288+
if !acc.is_none() {
289289
let shard_acc = ShardAccount::with_params(&acc, transaction.hash()?, transaction.logical_time())?;
290290
new_shard_state.lock().insert_account(&acc_id.get_bytestring(0).into(), &shard_acc)?;
291291
} else {

ton-node-se/ton_node_startup/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
build = "../build/build.rs"
33
name = "ton_node_startup"
4-
version = "0.28.2"
4+
version = "0.28.3"
55

66
[dependencies]
77
clap = "2.32.0"

0 commit comments

Comments
 (0)