1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00
ton/validator
EmelyanenkoK 3b3c25b654
Add account state by transaction and emulator (extended) (#592)
* account_state_by_transaction

* Correct time calculation

* Bug fixes

* Refactor

* namespace block::transaction

* smc.forget

* RunEmulator: remove wallet_id

* Refactor & fixes

* AccountStateByTransaction: use shardchain block instead of masterchain block

* transaction emulator core

* refactor

* tx emulator major functionality

* small format changes

* readme

* clean

* return json, add support for init messages

* tx emulator readme

* refactor getConfigParam and getConfigAll

* add shardchain_libs_boc parameter

* option to change verbosity level of transaction emulator

* fix deserializing ShardAccount with account_none

* add mode needSpecialSmc when unpack config

* emulator: block::Transaction -> block::transaction::Transaction

* Refactor

* emulator: Fix bug

* emulator: Support for emulator-extern

* emulator: Refactor

* Return vm log and vm exit code.

* fix build on macos, emulator_static added

* adjust documentation

* ignore_chksig for external messages

* tvm emulator, run get method

* Added more params for transaction emulator

* Added setters for optional transaction emulator params, moved libs to a new setter

* Added actions cell output to transaction emulator

* fix tonlib build

* refactoring, rand seed as hex size 64, tvm emulator send message

* tvm send message, small refactoring

* fix config decoding, rename

* improve documentation

* macos export symbols

* Added run_get_method to transaction emulator emscipten wrapper

* Fixed empty action list serialization

* Changed actions list cell to serialize as json null instead of empty string in transaction emulator

* stack as boc

* log gas remaining

* Fix prev_block_id

* fix build errors

* Refactor fetch_config_params

* fix failing unwrap of optional rand_seed

* lookup correct shard, choose prev_block based on account shard

* fix tonlib android jni build

---------

Co-authored-by: legaii <jgates.ardux@gmail.com>
Co-authored-by: ms <dungeon666master@protonmail.com>
Co-authored-by: krigga <krigga7@gmail.com>
2023-02-02 10:03:45 +03:00
..
db Improve handling of absent blocks in archive manager (#600) 2023-01-23 14:40:28 +03:00
downloaders Add GetPerfTimerStats (#451) 2022-09-10 12:57:13 +03:00
impl Add account state by transaction and emulator (extended) (#592) 2023-02-02 10:03:45 +03:00
interfaces Use state with applied shards in liteserver (#553) 2022-12-13 17:46:54 +03:00
net Optimization of persistent state serialization (#364) 2022-05-15 17:51:24 +03:00
apply-block.cpp emergency update 2020-03-24 03:32:16 +04:00
apply-block.hpp Add GetPerfTimerStats (#451) 2022-09-10 12:57:13 +03:00
block-handle.cpp updated submodules, bugfixes 2020-04-27 16:01:46 +04:00
block-handle.hpp updated submodules, bugfixes 2020-04-27 16:01:46 +04:00
CMakeLists.txt updated submodules, bugfixes 2020-04-27 16:01:46 +04:00
fabric.h Move some constants to global config (#484) 2022-10-10 17:13:21 +03:00
full-node-master.cpp validator bugfix + old key blocks download improvement 2020-04-11 18:08:57 +04:00
full-node-master.h bugfixes 2020-04-10 23:06:01 +04:00
full-node-master.hpp validator bugfix + old key blocks download improvement 2020-04-11 18:08:57 +04:00
full-node-shard-queries.hpp updated vm (breaking compatibility) 2020-02-28 14:28:47 +04:00
full-node-shard.cpp Move some constants to global config (#484) 2022-10-10 17:13:21 +03:00
full-node-shard.h Add methods to sign and import certificates 2022-05-06 10:42:49 +03:00
full-node-shard.hpp Add methods to sign and import certificates 2022-05-06 10:42:49 +03:00
full-node.cpp Add methods to sign and import certificates 2022-05-06 10:42:49 +03:00
full-node.h Add methods to sign and import certificates 2022-05-06 10:42:49 +03:00
full-node.hpp Add methods to sign and import certificates 2022-05-06 10:42:49 +03:00
get-next-key-blocks.cpp bugfixes 2020-04-10 23:06:01 +04:00
get-next-key-blocks.h bugfixes 2020-04-10 23:06:01 +04:00
import-db-slice.cpp updated submodules, bugfixes 2020-04-27 16:01:46 +04:00
import-db-slice.hpp updated vm (breaking compatibility) 2020-02-28 14:28:47 +04:00
invariants.hpp bugfixes 2020-04-10 23:06:01 +04:00
manager-disk.cpp Fix compilation error in manager-disk.cpp (#556) 2022-12-15 17:12:43 +03:00
manager-disk.h bugfixes 2020-04-10 23:06:01 +04:00
manager-disk.hpp Use state with applied shards in liteserver (#553) 2022-12-13 17:46:54 +03:00
manager-hardfork.cpp Move some constants to global config (#484) 2022-10-10 17:13:21 +03:00
manager-hardfork.h updated submodules, bugfixes 2020-04-27 16:01:46 +04:00
manager-hardfork.hpp Use state with applied shards in liteserver (#553) 2022-12-13 17:46:54 +03:00
manager-init.cpp Allow starting node with a newer hardfork in config (#538) 2022-11-30 12:12:19 +03:00
manager-init.h bugfixes 2020-04-10 23:06:01 +04:00
manager-init.hpp updated submodules, bugfixes 2020-04-27 16:01:46 +04:00
manager.cpp Use state with applied shards in liteserver (#553) 2022-12-13 17:46:54 +03:00
manager.h bugfixes 2020-04-10 23:06:01 +04:00
manager.hpp Use state with applied shards in liteserver (#553) 2022-12-13 17:46:54 +03:00
shard-client.cpp Use state with applied shards in liteserver (#553) 2022-12-13 17:46:54 +03:00
shard-client.hpp bugfixes 2020-04-10 23:06:01 +04:00
state-serializer.cpp Fix getting cell-db-reader in AsyncStateSerializer (#546) 2022-12-07 21:49:17 +03:00
state-serializer.hpp Fix getting cell-db-reader in AsyncStateSerializer (#546) 2022-12-07 21:49:17 +03:00
stats-merger.h updated vm (breaking compatibility) 2020-02-28 14:28:47 +04:00
token-manager.cpp bugfixes 2020-04-10 23:06:01 +04:00
token-manager.h validator: multiple bugfixes 2020-04-06 15:22:14 +04:00
validate-broadcast.cpp bugfixes 2020-04-10 23:06:01 +04:00
validate-broadcast.hpp Add GetPerfTimerStats (#451) 2022-09-10 12:57:13 +03:00
validator-full-id.cpp bugfixes 2020-04-10 23:06:01 +04:00
validator-group.cpp Limit account storage size (#530) 2022-11-30 08:40:19 +03:00
validator-group.hpp Cache result of run_collate_query in ValidatorGroup 2022-11-25 09:49:04 +03:00
validator-options.cpp Add mempool messages cap 2022-05-06 10:33:00 +03:00
validator-options.hpp Log validator session stats to file 2022-08-18 21:51:57 +03:00
validator.h Use state with applied shards in liteserver (#553) 2022-12-13 17:46:54 +03:00