Commit a3216290 authored by Andrzej Lisak's avatar Andrzej Lisak

[ABW]: Patterns for list_comments with by_cashout_time created with...

[ABW]: Patterns for list_comments with by_cashout_time created with find_comments because cashout_time is completely different in new version
Patterns for list_comments with by_author_last_update created with find_comments because fat node was incorrectly using by_last_update index
Accepted differences in now comparable patterns: id, max_cashout_time (always timestamp::max), children_abs_rshares (always 0), reward_weight (always 10000), numeric instead of string, cashout_time (creation+7), last_payout when not final and no reward, rshares/weight related after nonfinal payout, net_rshares after final payout (always 0 where previously negative persisted), empty json_metadata as dictionary
Updated comments for database_api tests
parent bae23397
......@@ -80,7 +80,7 @@
"precision": 3
},
"max_cashout_time": "1969-12-31T23:59:59",
"net_rshares": -401748374094,
"net_rshares": 0,
"net_votes": -1,
"parent_author": "",
"parent_permlink": "steemit",
......@@ -129,7 +129,7 @@
"precision": 3
},
"max_cashout_time": "1969-12-31T23:59:59",
"net_rshares": -75903272807,
"net_rshares": 0,
"net_votes": 0,
"parent_author": "",
"parent_permlink": "steemit",
......
......@@ -31,7 +31,7 @@
"precision": 3
},
"max_cashout_time": "1969-12-31T23:59:59",
"net_rshares": -55205310,
"net_rshares": 0,
"net_votes": -4,
"parent_author": "vi1son",
"parent_permlink": "about-circles-on-the-water-or-why-the-whales-are-needed",
......@@ -129,7 +129,7 @@
"precision": 3
},
"max_cashout_time": "1969-12-31T23:59:59",
"net_rshares": -10906911,
"net_rshares": 0,
"net_votes": -1,
"parent_author": "vi1son",
"parent_permlink": "aferium",
......@@ -227,7 +227,7 @@
"precision": 3
},
"max_cashout_time": "1969-12-31T23:59:59",
"net_rshares": -776149630,
"net_rshares": 0,
"net_votes": 2,
"parent_author": "vi1son",
"parent_permlink": "afghan-war-1985",
......@@ -276,7 +276,7 @@
"precision": 3
},
"max_cashout_time": "1969-12-31T23:59:59",
"net_rshares": -21958841303,
"net_rshares": 0,
"net_votes": 2,
"parent_author": "vi1son",
"parent_permlink": "afghan-war-1985",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment