Commit Graph

72 Commits

Author SHA1 Message Date
Richard Holland
f70ddf9e65 add otxn_param hook api 2023-01-13 10:04:53 +00:00
Richard Holland
75f3b93c78 comment out unfinished str hook api 2023-01-13 10:04:52 +00:00
Richard Holland
3075a01caa preliminary hook_skip test 2023-01-13 10:04:51 +00:00
Richard Holland
708a567f10 hook_again test case 2023-01-13 10:04:49 +00:00
Richard Holland
8ede26b000 hook_pos testcase 2023-01-13 10:04:48 +00:00
Richard Holland
8a10898f23 float_sto_set testcase 2023-01-13 10:04:48 +00:00
Richard Holland
6be3f2d873 float_sto test complete 2023-01-13 10:04:47 +00:00
Richard Holland
c44e18728d most of float_sto done, some bug fixing still to do 2023-01-13 10:04:46 +00:00
Richard Holland
7d375c93fc state_foreign_set unit test passing 2023-01-13 10:04:45 +00:00
Richard Holland
10118aa61b preliminary version of state_foreign_set unit test 2023-01-13 10:04:44 +00:00
Richard Holland
3fb1d27aa9 ledger_last_hash test 2023-01-13 10:04:41 +00:00
Richard Holland
77c76c044e ledger_nonce test 2023-01-13 10:04:40 +00:00
Richard Holland
f1c5cf99be ledger_last_time test 2023-01-13 10:04:39 +00:00
Richard Holland
34347384c0 ledger_seq unit test 2023-01-13 10:04:37 +00:00
Richard Holland
2c77a4d3dc state_foreign 2023-01-13 10:04:31 +00:00
Richard Holland
b5cdeb5812 first half of state_foreign unit test 2023-01-13 09:56:38 +00:00
Richard Holland
3c045736bc unit test for state 2023-01-13 09:51:08 +00:00
Richard Holland
0ef979a17b change HookOn to uint256 2022-12-20 10:55:28 +00:00
Richard Holland
d9e03f9ffb state_set (release_marker) 2022-12-12 11:54:00 +00:00
Richard Holland
e4aa7db5cb increase size of hook state to 256 bytes, parameters too, change the reserve requirement to 1:1 for hook state, allow weak execution on rollback if hook_again was specified, add further state_set tests 2022-12-11 13:03:08 +00:00
Richard Holland
90949b8a59 start of state api testing 2022-12-10 14:19:20 +00:00
Richard Holland
59b9074d03 otxn_type test 2022-12-06 13:53:47 +00:00
Richard Holland
3d59072c97 otxn_slot test 2022-12-06 13:28:43 +00:00
Richard Holland
307c748394 add otxn_id test 2022-12-06 12:45:29 +00:00
Richard Holland
7ca435d8f7 remove otxn_field_txt api (old api that should have been removed earlier) 2022-12-06 11:19:28 +00:00
Richard Holland
7f71535773 add util_keylet tests for new functionality, clean up 2022-12-06 11:10:19 +00:00
Richard Holland
1d6daf71de add slot_type test, allow util_keylet to accept a 3 character ascii currency code for KEYLET_LINE 2022-12-06 10:57:47 +00:00
Richard Holland
cf3c9205f6 slot_subfield test 2022-12-02 13:08:56 +00:00
Richard Holland
ed974de37b slot_subarray test, fix get_free_slot bug 2022-12-01 11:42:01 +00:00
Richard Holland
5d19a162f6 slot_size test 2022-11-29 11:37:56 +00:00
Richard Holland
7f72ef014b slot_set bug fixes, slot_set test 2022-11-29 11:25:28 +00:00
Richard Holland
b3de176b56 remove slot_id, trace_slot, redundant apis 2022-11-29 09:39:04 +00:00
Richard Holland
070e6032f1 two more slot api tests 2022-11-28 12:00:04 +00:00
Richard Holland
36a500e95b unit test for slot 2022-11-28 10:43:38 +00:00
Richard Holland
a76cb3b9c5 fix util_keylet test 2022-11-27 09:03:30 +00:00
Richard Holland
1855635cf8 util_verify test cases 2022-11-25 15:34:46 +00:00
Richard Holland
380e6a850a add test for util_keylet, bug fixes 2022-11-25 13:42:35 +00:00
Richard Holland
aea437ca76 sto_ api tests finished 2022-11-22 13:27:29 +00:00
Richard Holland
3b44333a98 sto_subfield and subarray tests (not working yet) 2022-11-22 11:49:24 +00:00
Richard Holland
2f85e56b4d sto_erase now overloads sto_emplace, sto_validate test 2022-11-22 11:10:42 +00:00
Richard Holland
91447e7c21 sto_emplace test working 2022-11-22 10:06:56 +00:00
Richard Holland
854ae819aa sto_emplace testcase 2022-11-21 13:50:21 +00:00
Richard Holland
2273ed9d3e add unit test for util_sha512h, fix bounds check on read buffer 2022-11-18 15:09:51 +00:00
Richard Holland
e2286ef565 unit test for util_raddr 2022-11-18 14:51:26 +00:00
Richard Holland
c8e1824a2b remove hook_namespace api, add unit test for util_accid 2022-11-18 14:20:15 +00:00
Richard Holland
67614182b4 unit tests for hook_account, hook_hash 2022-11-18 12:09:09 +00:00
Richard Holland
1161dc6479 float_mulratio test + bug fix 2022-11-17 10:24:06 +00:00
Richard Holland
d5590d23d1 remove float_exponent test 2022-11-11 15:12:45 +00:00
Richard Holland
1457ecf976 prune float_mantissa_set, float_exponent_set, float_sign_set, these are not needed, use float_set 2022-11-11 14:54:42 +00:00
Richard Holland
771af44e09 fix multiplication by using cpp_int 2022-11-11 13:44:11 +00:00