SpyCheese
77e5a2f4a2
Merge branch 'testnet' into tvm-v9
2025-01-17 12:32:09 +03:00
SpyCheese
dc2f0dad81
Add extra currencies to c7 in tonlib runGetMethod
2025-01-13 17:39:56 +03:00
SpyCheese
0fff1bd8c7
Fix loading library cell in contract code
2024-12-18 12:57:21 +03:00
SpyCheese
f94d1bee0c
Extra currencies ( #1122 )
...
* Support extra currencies in tonlib, blockchain-explorer, getAccountPrunned
* Fix dict_combine_with with non-zero mode
2024-10-01 10:22:49 +03:00
Snoppy
2634e63e4f
chore: fix typos ( #980 )
...
Signed-off-by: snoppy <michaleli@foxmail.com>
2024-06-27 11:16:12 +03:00
EmelyanenkoK
a2bd695b89
Fix prepare_vm_c7 ( #958 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2024-04-08 14:29:54 +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
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
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
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
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
SpyCheese
5847897b37
Various changes in TVM, github builds and tests ( #793 )
...
* Bugfixes in TVM and node
* Upgrade to C++17
* Improve GitHub builds
* Fix existing tests and partially integrate them into builds
---------
Co-authored-by: neodiX42 <namlem@gmail.com>
Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
2023-11-03 14:43:34 +03:00
SpyCheese
2bfa6240dd
Support wallet-v4 in tonlib ( #785 )
2023-10-25 12:20:23 +03:00
EmelyanenkoK
ef306dd36e
Patch/fix ub ( #724 )
...
* Fix input validation in storage-manager and bitstring
* Fix potentially dangling pointer missing_library
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-07-14 15:25:07 +03:00
EmelyanenkoK
9b34217bf0
Tonlib fix ( #743 )
...
* Fix building messages with long body (#709 )
* Fix returning slice in tonlib (#734 )
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-07-14 15:23:22 +03:00
SpyCheese
961b895622
New tag for encrypted messages
2023-06-27 16:13:16 +03:00
EmelyanenkoK
961d870ece
Patch getmethod for tvm upgrade ( #714 )
...
* Fix TVM version in emulator
* Add prev_blocks_info to emulator-emscripten.cpp
---------
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-05-29 11:27:54 +03:00
EmelyanenkoK
6b941dcceb
Fix returning config from LS, add extra c7 elements in getmethods ( #713 )
...
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2023-05-27 21:22:31 +03:00
Marat
86623b4cea
Enable more verbose TVM stack dump ( #669 )
...
* Verbose stack dump
* Move vm::VmLog::DumpStack and vm::VmLog::DumpStackVerbose to the next verbosity levels
2023-05-24 12:39:15 +03:00
krigga
f51eb2d747
Add debug enabled flag to transaction and TVM emulator ( #662 )
...
* Add debug enabled flag to transaction and TVM emulator
* Set debug_enabled false in Emulator constructor
2023-04-02 17:28:18 +03:00
EmelyanenkoK
fbb1e548f7
Fix msg_cell on stack for SmartContract::send_*_message ( #647 )
...
* Fix msg_cell on stack for SmartContract::send_*_message
* Fix src address in SmartContract::send_internal_message
2023-03-13 16:46:54 +03:00
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
EmelyanenkoK
7347ec0b3b
Add TON Storage to Proxy via storage gateway ( #577 )
...
* Access ton storage from proxy, resolve "dns_storage_address" in tonlib
* Set storage gateway address in proxy args
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-12-29 17:28:50 +03:00
SpyCheese
b44e5403c8
Fix DNS resolve in liteclient and tonlib
2022-08-29 11:04:03 +03:00
SpyCheese
7e207dc78f
Update DNS resolver in liteclient and tonlib
2022-06-29 17:59:30 +03:00
Starlight Duck
3fee04e20a
Support libraries in LS and request+caching in TLC
2022-05-06 10:48:05 +03:00
Starlight Duck
7dc980562f
tonlib use correct c7: config and address when executing
2022-05-06 10:46:16 +03:00
OmicronTau
1b480e39ba
Fix infinity max_gas_limit for get methods
2022-05-06 10:44:26 +03:00
tolya-yanot
c1a733c0f0
Add send_mode param to tonlib_api msg.message (send_mode=-1 - use default)
2021-08-02 23:59:42 +03:00
ton
dab7ee3f97
updated pow-miner + small bugfix
2020-07-10 13:46:16 +03:00
ton
f064b1047a
pow-testgiver support
2020-07-06 17:07:20 +03:00
ton
4e2624459b
integrating the existing state of TON Storage / TON Payments / CPS Fift development branches
2020-05-27 22:10:46 +04:00
ton
eecf05ca59
bugfixes + tonlib update
2020-04-30 15:04:47 +04:00
ton
9f008b129f
updated submodules, bugfixes
...
- added new fift/func code for validator complaint creation
- bugfixes in validator
- updates in tonlib
- new versions of rocksdb/abseil
- hardfork support
2020-04-27 16:01:46 +04:00
ton
a31f8d4424
bugfixed + crypto update
...
- compiles vs BoringSSL
- config proposal/vote fift code
- bugfixes in catchain
- other small fixes
2020-03-27 18:59:00 +04:00
ton
9f351fc29f
emergency update
2020-03-24 03:32:16 +04:00
ton
54c7a4dcc3
updated vm
...
- updated func/fift
- additional checks in block validator
- docs
- tunnel prototype in ADNL
2020-03-11 14:19:31 +04:00
ton
e27fb1e09c
updated vm (breaking compatibility)
...
- updated vm
- new actor scheduler
- updated tonlib
- updated DNS smartcontract
2020-02-28 14:28:47 +04:00
ton
efd47af432
updated tonlib + fixes in vm
2020-02-20 19:56:18 +04:00
ton
a73d202ba2
updated func and tonlib
2020-02-15 20:03:17 +04:00
ton
493ae2410c
rldp-http-proxy: use tonlib
...
- rldp-http-proxy used TONLib to resolve domains via DNS smartcontract
- updated tonlib
- bugfixes
2020-02-12 00:14:16 +04:00
ton
1de39f5d7c
bugfixes + doc update
2020-02-08 23:24:49 +04:00
ton
77842f9b63
updated tonlib
...
- updated tonlib
- updated validator
- updated documentation
- first version of http over rldp proxy
2020-02-06 21:56:46 +04:00
ton
090e0c16eb
slightly changed block format
...
- small change in block format
- added config in blockchain explorer
- bugfixes
2019-11-28 18:44:14 +04:00
ton
e30d98eb30
new db
...
new database
fift/func bugfixes
2019-11-15 18:02:37 +04:00
ton
11bd640ee0
updated tonlib
2019-10-31 22:14:52 +04:00
ton
c860ce3d1e
updated smartcontracts
...
- updated smartcontracts
- updated fullnode database layout
- fixed memory leak in blockchain-explorer
- updated tonlib
2019-10-23 17:43:50 +04:00