36 Commits

Author SHA1 Message Date
andrei
39f5de660f Connection and Queries abstraction layer 2022-03-15 10:57:32 +02:00
andrei
4771c1357d last fixes 2022-03-10 17:07:27 +02:00
andrei
5f4112426d ALL TESTS PASSED from test_queries.py 2022-02-21 15:57:14 +02:00
andrei
868b7bd4d2 CLEAR FUNCTION + test_validator_update PASSED 2022-02-21 14:22:30 +02:00
andrei
e26407f5db error fixed in get_validator_set 2022-02-21 14:09:26 +02:00
andrei
e500cd8492 rewrited get_validator_set 2022-02-21 14:05:13 +02:00
andrei
6cc8a6cbb4 passed get_pre_commit_state 2022-02-21 13:42:17 +02:00
andrei
6fdcceefbf pre_commit_state -> PASSED 2022-02-21 13:28:17 +02:00
andrei
134d608f46 query rewrited pre_commit + tests error fixed 2022-02-21 13:17:05 +02:00
andrei
c6feac5754 test_get_block PASSED 2022-02-18 16:36:04 +02:00
andrei
ca6ebfae0b test_store_block PASSED 2022-02-18 16:30:21 +02:00
andrei
a3a3c3ab97 get_spending_transactions pass 2022-02-18 16:11:24 +02:00
andrei
1833c04810 passed test_get_owned_ids 2022-02-18 15:59:58 +02:00
andrei
9b335cdbfc end day commit 2022-02-17 17:47:08 +02:00
andrei
516084bf58 get_metadata test function pass 2022-02-17 17:38:05 +02:00
andrei
a0a47789eb test store_metadata work 2022-02-17 17:25:30 +02:00
andrei
43a05202a4 Fixed connection argument for function 2022-02-17 17:16:13 +02:00
andrei
229872fb29 Commit to save code [2 TEST PASSES] 2022-02-17 16:56:46 +02:00
andrei
e7c18545b3 changed from string to number data type for field asset_id 2022-02-17 16:35:55 +02:00
andrei
f9ae8de688 refactor 2022-02-17 16:19:07 +02:00
andrei
86c526feb1 Rewrited return type for some queries 2022-02-17 16:18:35 +02:00
andrei
4b268683e3 text replace boolean -> bool 2022-02-14 13:41:26 +02:00
andrei
97354d52d0 function hints added 2022-02-14 13:21:58 +02:00
andrei
60f36183da removed transaction_object initialization (dict) 2022-02-14 13:18:41 +02:00
andrei
f1b333dc72 get_txids_filtered rewrited 2022-02-14 13:17:34 +02:00
andrei
bcdff80c38 Added checking for fulfills, if there is no fulfills then add None (for returning objects) 2022-02-14 12:21:55 +02:00
andrei
3bba5d4d60 removed TODO from get_owned_ids [TESTED] 2022-02-14 12:16:18 +02:00
andrei
c1dd754722 spending transactions fix 2022-02-14 12:15:19 +02:00
andrei
280a8f8030 get_spent and get_spending queries fix 2022-02-14 12:00:32 +02:00
andrei
3d8e73e73f fixed get_spent query 2022-02-14 11:54:09 +02:00
andrei
9609d41e27 delete_transaction function fixed bugs 2022-02-14 11:37:55 +02:00
andrei
04b894d668 Added 'get_pre_commit_state'. Added data type hints for functions arguments 2022-02-11 17:17:23 +02:00
andrei
94d82a3e68 refactored get_owned_ids function 2022-02-11 14:05:18 +02:00
andrei
4d9eaf7b03 added others select queries and util function 2022-02-11 13:59:25 +02:00
andrei
56c8f72570 Pushing delete queries for tarantool 2022-02-11 12:21:57 +02:00
andrei
1c444cda79 restored back query.py (mongodb), and query.py(tarantool) move to folder tarantool 2022-02-09 17:16:31 +02:00