mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
[emulator] Fix emulating on account_none and set account block_lt (#815)
* fix acc_deleted emulation case * set account.block_lt
This commit is contained in:
parent
4303e49c93
commit
be94982348
2 changed files with 15 additions and 3 deletions
|
@ -42,6 +42,7 @@ td::Result<std::unique_ptr<TransactionEmulator::EmulationResult>> TransactionEmu
|
|||
if (!lt) {
|
||||
lt = (account.last_trans_lt_ / block::ConfigInfo::get_lt_align() + 1) * block::ConfigInfo::get_lt_align(); // next block after account_.last_trans_lt_
|
||||
}
|
||||
account.block_lt = lt - lt % block::ConfigInfo::get_lt_align();
|
||||
|
||||
compute_phase_cfg.libraries = std::make_unique<vm::Dictionary>(libraries_);
|
||||
compute_phase_cfg.ignore_chksig = ignore_chksig_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue