Commit Graph

101 Commits

Author SHA1 Message Date
Denis Angell
049efbcdc0 FXV1: Patch Hooks OwnerDir (#236) 2023-12-14 14:45:29 +01:00
Denis Angell
70bd7c2ce7 Reintroduce Clang-Format & Levelization (#171)
* clang-format

* levelization

* clang-format

* update workflow (#172)

* update workflow

* Update build-in-docker.yml

* fix from `clang-format`

* Update Enum.h
2023-11-01 14:12:24 +01:00
Denis Angell
a2c41016b0 add ticket tests (#129) 2023-10-18 10:10:49 +02:00
Denis Angell
517c7a494b Fix warnings (#108)
* remove unused variable

* rewrite function for transparancy

* unnecessary move

* remove unused variable

* remove unused variables

* fix `nodiscard` warning and ogical-op-parentheses
2023-09-24 11:49:22 +02:00
Richard Holland
d568761fdf L2 tests done 2023-09-23 12:14:34 +00:00
Richard Holland
ba8b5a8cbe add overflow protection to sethook fee calculation 2023-07-17 11:20:15 +00:00
Richard Holland
d4b54c20ed change hook max to 10 2023-03-20 15:07:42 +00:00
Richard Holland
bf41273d2f fix for non-deterministic time bug found on testnet 2023-03-09 09:21:41 +00:00
Richard Holland
c2f99e80af uritoken bugfix, TSH for uritoken, make all txns take optional hook parameters 2023-02-03 12:53:06 +00:00
Richard Holland
039ce53c00 limit state modifications to 256 2023-01-23 12:36:07 +00:00
Richard Holland
beb0710d46 add max state object modification test to state_set unit test 2023-01-23 12:18:00 +00:00
Richard Holland
456d1ebb0d unit tests need to be run against 200/50 reserves due to widespread hardcoding in rippled 2023-01-22 13:49:16 +00:00
Richard Holland
64329a0f20 update state_foreign_set unit test to test reserve exhaustion 2023-01-22 09:22:30 +00:00
Richard Holland
713fbb3d72 namespace correction for UINT256_BIT 2023-01-19 10:31:02 +00:00
Richard Holland
7c1cc2e1d1 fix up some test cases, turn off wasmedge logging 2023-01-16 10:22:20 +00:00
Richard Holland
b12b39d3a6 make state test txn order deterministic 2023-01-13 10:29:11 +00:00
Richard Holland
296ecb3dc9 correct tests for 256bit hookon 2023-01-13 10:17:46 +00:00
Richard Holland
e75e280b25 final hook api test: ledger_keylet 2023-01-13 10:05:05 +00:00
Richard Holland
9adf190b75 otxn_field unit test 2023-01-13 10:05:05 +00:00
Richard Holland
98d8efdb6a trace test cases 2023-01-13 10:05:04 +00:00
Richard Holland
e299f099d8 trace testcase 2023-01-13 10:05:03 +00:00
Richard Holland
61e0a3766c etxn test cases finished 2023-01-13 10:05:02 +00:00
Richard Holland
f73d26b9fe emit testcase work in progress 2023-01-13 10:05:01 +00:00
Richard Holland
c9077e8c84 preliminary version of emit test cases 2023-01-13 10:05:00 +00:00
Richard Holland
480ff62f13 meta_slot testcase 2023-01-13 10:04:59 +00:00
Richard Holland
75007dc8a3 hook_param_set unit test done 2023-01-13 10:04:58 +00:00
Richard Holland
0fe8d9a72f preliminary hook_param_set unittest 2023-01-13 10:04:57 +00:00
Richard Holland
b6ca19ba4e otxn_param (not passing) 2023-01-13 10:04:55 +00:00
Richard Holland
5917dc76f9 hook_param test 2023-01-13 10:04:54 +00:00
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