1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

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>
This commit is contained in:
EmelyanenkoK 2024-01-29 16:38:42 +03:00 committed by GitHub
parent 51d30e2f2b
commit a11ffb1637
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 99 additions and 42 deletions

View file

@ -57,6 +57,7 @@ void prepare_c7() {
} else {
tuple.push_back(vm::StackEntry());
}
tuple.push_back(td::zero_refint());
auto tuple_ref = td::make_cnt_ref<std::vector<vm::StackEntry>>(std::move(tuple));
c7 = vm::make_tuple_ref(std::move(tuple_ref));
}