Marat
7a6bfa7e7a
Save rocksdb statistics to file every minute ( #932 )
...
* Save rocksdb statistics to file every minute
* Add flag to disable collecting rocksdb statistics
2024-03-20 14:21:40 +03:00
EmelyanenkoK
bf9848c60f
Merge pull request #937 from ton-blockchain/master
...
Merge master
2024-03-20 11:57:58 +03:00
Marat
14f319d29c
Build fix: 'all_of' identifier not found ( #936 )
2024-03-19 21:07:09 +03:00
EmelyanenkoK
0a82a19313
Don't serialize expired persistent states ( #935 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-03-19 15:43:03 +03:00
EmelyanenkoK
f1592641de
Tonlib improvement fixes ( #934 )
...
* 3.6. Fix directory traversal in KeyValueDir
* 3.9. Fix buffer_to_hex reversing nibbles
* 3.5. Fix error handling at blocks.getBlockHeader
* 3.11. Fix query.forget
* 3.12. Fix error handling in RemoteRunSmcMethod
* 4.1. Delete unused files
* 3.10. Use named constants instead hardcoded constants
* 3.4. Fix response block header verification
* 3.1. Check proof of blocks.getShards response
* fix td::buffer_to_hex + test
* 3.2. Add proof check for listBlockTransactions response in RunEmulator actor
* 3.8. Add proof checking for getLibraries method
* fix regression tests
* 3.3 Add proof checking for lookupBlock method
* Add publishers to proof of getLibrariesWithProof response (#25 )
* fix missing return, fix requesting mc block
* Fix requesting lookupBlock with client mc blk == mc ref block
* Fix duplicating lib data in proof and data, add mode 2 for not including the data
* Migration of LastBlockStorage with fixed td::buffer_to_hex
---------
Co-authored-by: ms <dungeon666master@protonmail.com>
Co-authored-by: Marat <98183742+dungeon-master-666@users.noreply.github.com>
2024-03-19 15:31:29 +03:00
Oleg Baranov
dd5540d69e
Single call optimized runGetMethod emulator ( #920 )
...
* TVM Emulator optimized output method
* TVM Emulator single call version
* Fixed tvm_emulator export, changed to tvm_emulator_emulate
* Removed imports
* Set C7 from outside
* Removed tvm_emulator_run_get_method_optimized
* Renamed tvm_emulator_emulate to tvm_emulator_emulate_run_method
2024-03-19 15:26:02 +03:00
Marat
69de1cb621
Fix linker error: undefined reference to LiteServerCacheImpl::MAX_CACHE_SIZE ( #930 )
...
Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
2024-03-19 15:24:15 +03:00
EmelyanenkoK
fc69377f9c
Fix running VM in liteserver and tonlib ( #933 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-03-19 15:23:34 +03:00
neodix42
4969176ec9
Improve windows build ( #921 )
...
* fix windows build
* exclude test-bigint execution on windows
---------
Co-authored-by: My Name <my-name@chromium.org>
2024-03-12 19:11:42 +03:00
neodix42
79a75d575e
Add standalone emulator library to release ( #917 )
...
* Add standalone emulator.so/dylyib/dll to release artifacts
* sync emulator names
2024-03-12 19:11:05 +03:00
EmelyanenkoK
200508cf8f
Merge pull request #929 from ton-blockchain/testnet
...
Merge developer branch
2024-03-11 15:49:00 +03:00
EmelyanenkoK
132a6030f9
Add changelog
2024-03-11 09:45:12 +03:00
Dr. Awesome Doge
0d8abea534
Add TON Research Forum ( #919 )
...
* Add TON Research Forum
* Update README.md
---------
Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
2024-03-06 17:15:49 +03:00
EmelyanenkoK
9d05696452
Add infrastructure for precompiled smartcontracts ( #927 )
...
* Utils for writing precompiled contracts
* Precompiled contracts in config, override gas_usage for them
* Add base class for precompiled contracts
* Improve utils for precompiled smc
* Implement GETPRECOMPILEDGAS
* Enable precompiles by flag
* Process null data in PrecompiledSmartContract
* Fix ton_block wasm build
* Fix vm::util::store_(u)long
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-03-05 16:54:49 +03:00
EmelyanenkoK
b09f910bf2
Fix converting int to int256 ( #925 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-03-04 17:37:42 +03:00
EmelyanenkoK
692211fe91
Merge pull request #916 from ton-blockchain/testnet
...
Fix fetching mc config for runSmcMethod, fix caching in LS (#915 )
2024-02-21 21:42:30 +03:00
EmelyanenkoK
310dd6dec1
Fix fetching mc config for runSmcMethod, fix caching in LS ( #915 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-02-21 16:13:55 +03:00
EmelyanenkoK
17c3477f71
Merge pull request #913 from ton-blockchain/testnet
...
Fix checking ext message broadcasts (#912 )
2024-02-19 21:19:25 +03:00
EmelyanenkoK
c7302bc4a3
Fix checking ext message broadcasts ( #912 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-02-19 19:01:50 +03:00
EmelyanenkoK
73621f626e
Merge pull request #908 from ton-blockchain/testnet
...
Merge developer branch
2024-02-17 17:07:55 +03:00
EmelyanenkoK
71c650692d
Add changelog for 2024.02
2024-02-17 17:05:03 +03:00
neodix42
21dfad866b
Add smartcont/auto folder to portable artifacts ( #884 )
...
* fix test-validation-session-state test
* make running tests optional in nix builds
* make running tests optional in nix builds
* Revert "fix test-validation-session-state test"
This reverts commit a5bb869184
.
* add smartcont/auto folder to portable artifacts
* Add check if artifacts were created. If any of tests fail, this is not the case;
2024-02-16 17:32:09 +03:00
EmelyanenkoK
af71dae31b
Ls run method ( #906 )
...
* Improve LS runSmcMethod
* Full c7 and libraries
* Don't request c7 (mode 8) in lite-client
* Prioritize remote result in lite-client runmethod (but not runmethodfull)
* Return simplified c7 from runSmgMethod, add flag to return full
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-02-16 16:30:43 +03:00
EmelyanenkoK
a4d618b0fc
Patch funcfiftlib and emulator-emscripten builds ( #905 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-02-16 11:51:43 +03:00
EmelyanenkoK
eb4831d7d6
Add --archive-preload-period ( #904 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-02-15 12:03:57 +03:00
EmelyanenkoK
4d39772e40
Drop only accepted duplicate ext messages, don't cache errors ( #902 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-02-12 10:42:02 +03:00
EmelyanenkoK
f344aa46c3
Drop duplicate ext msg broadcasts ( #894 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-02-09 15:28:23 +03:00
EmelyanenkoK
79c48ebbba
Add cache for some LS requests ( #893 )
...
* Cache runSmcMethod queries to LS
* Drop duplicate sendMessage
* Drop sendMessage cache once a minute
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-02-07 15:45:51 +03:00
EmelyanenkoK
12c1b1a2e6
Limit file descriptors num by adding archive slice lru ( #892 )
...
* --max-archive-fd option limits open files in archive manager
* Don't close the latest archives + bugfix
* Delete temp packages early
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-02-07 14:56:37 +03:00
EmelyanenkoK
e723213d5c
Log number of LS queries by type ( #891 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-02-06 16:52:12 +03:00
SpyCheese
c38b2928ec
Fix typo in archive-slice.cpp ( #850 ) ( #879 )
2024-02-02 17:02:38 +03:00
Maksim Kurbatov
957ecd7231
fix lite-client logging ( #883 )
...
* fix lite-client logging
* fix logging in continue_check_validator_load2
2024-02-02 16:59:07 +03:00
EmelyanenkoK
59927ba534
Improve block broadcasts processing; add special overlay for blocks for validators ( #885 )
...
* Improve block broadcast processing
* ValidatorManagerImpl::written_handle
* Retry sending broadcasts in ValidatorGroup
* Fix setting channel_ready in AdnlPeerPair
* Add special overlay for validators for block broadcasting (#842 )
* Private overlay for broadcasting blocks
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
(cherry picked from commit a52045bd91
)
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-02-01 20:20:45 +03:00
EmelyanenkoK
a11ffb1637
Add DUEPAYMENT and some others + small fixes of new opcodes ( #881 )
...
* Changes in TVM v6
* Rename some opcodes
* Add due payment to c7
* Add GETORIGINALFWDFEE, GETGASFEESIMPLE, GETFORWARDFEESIMPLE
* Bugfix in GETGASFEE
* Fix typo
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-29 16:38:42 +03:00
EmelyanenkoK
51d30e2f2b
Add TVM instructions for working with nonzero-level cells ( #880 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-26 18:24:39 +03:00
EmelyanenkoK
64b04e46d7
Cheap fee calculations ( #878 )
...
* TVM v6
* New tuple with unpacked config parameters in c7
* New instructions for calculating fees
* Change unpacked_config_tuple, fix typo
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-26 15:43:53 +03:00
EmelyanenkoK
8a9ff33992
Merge pull request #877 from ton-blockchain/testnet
...
Merge developer branch
2024-01-25 13:54:08 +03:00
EmelyanenkoK
e459aea8e8
Update changelog
2024-01-25 13:51:50 +03:00
EmelyanenkoK
49d62dc3bb
Activate new changes in TVM by version>=5, reduce gas cost for loading libraries ( #875 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-24 13:05:22 +03:00
neodix42
9f1b370f2c
Make execution of tests in Nix builds optional ( #873 )
2024-01-24 11:09:10 +03:00
EmelyanenkoK
2e231ec2ff
Count gas usage for ordinar transactions on special accounts in separate counter ( #872 )
...
* Improve checking total gas usage in collator and validator
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-22 21:56:11 +03:00
EmelyanenkoK
d91643face
Fix getting shard client block id ( #870 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-22 18:33:26 +03:00
EmelyanenkoK
20f9271b72
Fix test-validator-session-state ( #869 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-22 18:32:21 +03:00
EmelyanenkoK
42d4c051ef
Disallow recursive library cells ( #868 )
...
* Disallow recursive library cells
* Stop emulation of external messages on accept
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-22 12:34:49 +03:00
EmelyanenkoK
128a85bee5
Use Config 8 to activate new gas limit behavior instead of new GasLimitsPrices constructor ( #867 )
...
* Remove gas_prices_v3, enable new gas limits by GlobalVersion = 5
* Change final date for higher gas limit
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-21 12:59:59 +03:00
EmelyanenkoK
9728bc65b7
Merge pull request #865 from ton-blockchain/testnet
...
Merge developer branch
2024-01-17 12:02:53 +03:00
EmelyanenkoK
b1f2160510
Fix setting gas limits in transaction.cpp ( #864 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-01-17 12:01:34 +03:00
EmelyanenkoK
2748477b14
Merge pull request #863 from ton-blockchain/testnet
...
Merge developer branch
2024-01-17 10:00:03 +03:00
EmelyanenkoK
6f277b40bf
Add changelog
2024-01-17 09:57:31 +03:00
EmelyanenkoK
221d510e14
Merge pull request #862 from ton-blockchain/master
...
Merge master branch
2024-01-16 21:05:36 +03:00