create account

Core development report #4 by howo

View this thread on: hive.blogpeakd.comecency.com
· @howo · (edited)
$80.99
Core development report #4
![image.png](https://files.peakd.com/file/peakd-hive/howo/CkAffJGz-image.png)

Hi ! 

This one will be relatively short, remember how I wrote a new operation to update proposals and updated the way proposal fees were calculated ? Well I didn't write unit tests (although I tested them extensively) at the time. 

This is now done: 
https://gitlab.syncad.com/hive/hive/-/merge_requests/52

this was part of this issue: https://gitlab.syncad.com/hive/hive/-/issues/51

The idea behind unit tests is mostly to prevent regressions, regressions happens when a new features somehow affect another feature. By running unit tests we can tell if things are behaving correctly (this is not a silver bullet though, it's one of the many ways of testing software).

If you want to learn more about unit tests: http://softwaretestingfundamentals.com/unit-testing/

And while doing those tests I noticed a "bug" in the original proposal implementation and filed an issue, I will tackle it later on: https://gitlab.syncad.com/hive/hive/-/issues/53

It's not really a bug, it's more of an edge case and it doesn't really have any serious consequences. But it should be handled before someone actually runs into that edge case
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 278 others
👎  ,
properties (23)
authorhowo
permlinkcore-development-report-4
categoryhive-139531
json_metadata{"app":"hiveblog/0.1","format":"markdown","tags":["hive","core","development"],"links":["https://gitlab.syncad.com/hive/hive/-/merge_requests/52","https://gitlab.syncad.com/hive/hive/-/issues/51","http://softwaretestingfundamentals.com/unit-testing/","https://gitlab.syncad.com/hive/hive/-/issues/53"],"image":["https://files.peakd.com/file/peakd-hive/howo/CkAffJGz-image.png"]}
created2020-06-07 19:12:21
last_update2020-06-07 19:23:30
depth0
children10
last_payout2020-06-14 19:12:21
cashout_time1969-12-31 23:59:59
total_payout_value46.560 HBD
curator_payout_value34.433 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,208
author_reputation511,962,143,572,441
root_title"Core development report #4"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id97,829,063
net_rshares174,669,031,507,697
author_curate_reward""
vote details (344)
@charleswealth ·
Simply wonderful
properties (22)
authorcharleswealth
permlinkqblkrp
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2020-06-08 07:57:36
last_update2020-06-08 07:57:36
depth1
children0
last_payout2020-06-15 07:57:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length16
author_reputation11,408,571,093,686
root_title"Core development report #4"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,839,870
net_rshares0
@hivebuzz ·
Congratulations @howo! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

<table><tr><td><img src="https://images.hive.blog/60x60/http://hivebuzz.me/badges/toppayoutday.png"></td><td>Your post got the highest payout of the day</td></tr>
</table>

<sub>_You can view [your badges on your board](https://hivebuzz.me/@howo) And compare to others on the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



###### Support the HiveBuzz project. [Vote](https://hivesigner.com/sign/update_proposal_votes?proposal_ids=%5B%22109%22%5D&approve=true) for [our proposal](https://peakd.com/me/proposals/109)!
properties (22)
authorhivebuzz
permlinkhivebuzz-notify-howo-20200609t003250000z
categoryhive-139531
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2020-06-09 00:32:48
last_update2020-06-09 00:32:48
depth1
children0
last_payout2020-06-16 00:32:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length756
author_reputation369,186,990,638,650
root_title"Core development report #4"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,854,470
net_rshares0
@marki99 ·
$0.28
Thanks for your work. 

Had to downvote cause the post is over rewarded, no hard feelings!
👍  ,
properties (23)
authormarki99
permlinkre-howo-qbktkt
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2020.05.5"}
created2020-06-07 22:10:06
last_update2020-06-07 22:10:06
depth1
children1
last_payout2020-06-14 22:10:06
cashout_time1969-12-31 23:59:59
total_payout_value0.139 HBD
curator_payout_value0.139 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length90
author_reputation11,400,723,818,181
root_title"Core development report #4"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,831,763
net_rshares931,624,100,607
author_curate_reward""
vote details (2)
@howo ·
That's perfectly understandable, thank you for working towards proof of brain :)
👍  
properties (23)
authorhowo
permlinkqbm3f4
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2020-06-08 14:40:15
last_update2020-06-08 14:40:15
depth2
children0
last_payout2020-06-15 14:40:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length80
author_reputation511,962,143,572,441
root_title"Core development report #4"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,845,268
net_rshares4,596,571,905
author_curate_reward""
vote details (1)
@osakivolezka42 ·
Best signals, and trade bot! - https://kintum.io/
👎  ,
properties (23)
authorosakivolezka42
permlinkqblu4j
categoryhive-139531
json_metadata{"links":["https://kintum.io/"],"app":"hiveblog/0.1"}
created2020-06-08 11:19:33
last_update2020-06-08 11:19:33
depth1
children0
last_payout2020-06-15 11:19:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length49
author_reputation-526,183,582,894
root_title"Core development report #4"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,842,409
net_rshares-2,998,231,475,624
author_curate_reward""
vote details (2)
@puremalik ·
nice... Sir
properties (22)
authorpuremalik
permlinkqbklul
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2020-06-07 19:23:33
last_update2020-06-07 19:23:33
depth1
children0
last_payout2020-06-14 19:23:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length11
author_reputation29,612,182,123
root_title"Core development report #4"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,829,214
net_rshares0
@rayhanrafi ·
Awesome
properties (22)
authorrayhanrafi
permlinkre-howo-202068t16429670z
categoryhive-139531
json_metadata{"tags":["hive","core","development"],"app":"esteem/2.2.5-mobile","format":"markdown+html","community":"hive-125125"}
created2020-06-08 10:04:36
last_update2020-06-08 10:04:36
depth1
children0
last_payout2020-06-15 10:04:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7
author_reputation0
root_title"Core development report #4"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,841,470
net_rshares0
@shmoogleosukami ·
$0.45
It's nice when you find obscure edge case bugs before they become a problem.
It could only be a matter of a few changes elsewhere and then it's no longer and edge case bug and instead its a pain in the arse.
👍  
properties (23)
authorshmoogleosukami
permlinkre-howo-qbkltz
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2020.05.5"}
created2020-06-07 19:22:48
last_update2020-06-07 19:22:48
depth1
children0
last_payout2020-06-14 19:22:48
cashout_time1969-12-31 23:59:59
total_payout_value0.226 HBD
curator_payout_value0.226 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length207
author_reputation224,794,740,128,908
root_title"Core development report #4"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,829,208
net_rshares1,445,046,194,391
author_curate_reward""
vote details (1)
@wajidali ·
Great 
properties (22)
authorwajidali
permlinkre-howo-202068t03159722z
categoryhive-139531
json_metadata{"tags":["hive","core","development"],"app":"esteem/2.2.5-mobile","format":"markdown+html","community":"hive-125125"}
created2020-06-07 19:32:00
last_update2020-06-07 19:32:00
depth1
children0
last_payout2020-06-14 19:32:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6
author_reputation-294,891,696,809
root_title"Core development report #4"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,829,342
net_rshares0
@wiseagent ·
Simple and effective.
properties (22)
authorwiseagent
permlinkqbny77
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2020-06-09 14:42:42
last_update2020-06-09 14:42:42
depth1
children0
last_payout2020-06-16 14:42:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length21
author_reputation1,242,581,097,526,591
root_title"Core development report #4"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,864,606
net_rshares0