Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[validator] Hide one field from JSON #2705

Merged
merged 1 commit into from
Apr 4, 2020
Merged

[validator] Hide one field from JSON #2705

merged 1 commit into from
Apr 4, 2020

Conversation

fxfactorial
Copy link
Contributor

No description provided.

@fxfactorial fxfactorial requested a review from a team April 4, 2020 00:25
@fxfactorial fxfactorial merged commit 1a2c23a into harmony-one:master Apr 4, 2020
@fxfactorial fxfactorial deleted the hide-field branch April 4, 2020 00:49
fxfactorial added a commit that referenced this pull request Apr 4, 2020
* Merge master t3 0402 (#2686)

* Added support for using AWS encrypted BLS key files (#2650)

* added bls support, cleaned the code

* fixed code per review

* [build] fix the release action for static build

Signed-off-by: Leo Chen <leo@harmony.one>

* [build] remove double / in FOLDER

Signed-off-by: Leo Chen <leo@harmony.one>

* [blsgen] LoadFromKey with passphrase more robustly (#2675)

* [project] Remove txgen, prefer stack based init & map literals (#2678)

* [project] Remove unused internal memprofiling, profiling, metrics service (#2679)

* [project] Remove unused internal memprofiling, profiling

* [internal] Unused attack package

* [internal] More dead metrics related code

* [offchain] Forgot removal of ! which did not write the reward-per-key to work (#2681)

* [project] Fix first round issue from static analysis check (#2682)

* RPC for staking txns and txns history queries (#2554)

* staking txn. look up by hash fix on api backend rawdb storage

* node explorer staking txn 'history' RPC layer support

* fix unit test

* add error log when explorer node db instance cannot be fetched

* revert unwanted merge changes during rebase

* use already encoded tx message fields for get staking txn rpc

* update explorer node storage service for staking txns

* use hex string for staking transaction data field

* revert transaction pool apiv1 changes

* [blockchain] More info in failed validator voting power update (#2685)

Co-authored-by: coolcottontail <50373379+coolcottontail@users.noreply.github.com>
Co-authored-by: Leo Chen <leo@harmony.one>
Co-authored-by: Edgar Aroutiounian <edgar.factorial@gmail.com>
Co-authored-by: Jong Hyuck Won <denniswon@users.noreply.github.com>

* [validator] Hide one field from JSON (#2705)

* [rpc] Show both latest header of beacon chain and shard chain (#2714)

Co-authored-by: Leo Chen <leo@harmony.one>
Co-authored-by: coolcottontail <50373379+coolcottontail@users.noreply.github.com>
Co-authored-by: Edgar Aroutiounian <edgar.factorial@gmail.com>
Co-authored-by: Jong Hyuck Won <denniswon@users.noreply.github.com>
rlan35 added a commit that referenced this pull request Apr 5, 2020
* [validator] Hide one field from JSON (#2705)

* [rpc] Show both latest header of beacon chain and shard chain (#2714)

* change explorer node storage folder (#2720)

* [state] ValidatorWrapper div zero panic fix -  (#2724)

* [state] Error on div zero

* [state] Do not pay out commit when commit is 0%

* [state] Put whole commission in guarded block

* [core] Reward cannot be zero

* [state] return nil, not hard error

* make validator snapshot consistent with election (#2726)

* make validator snapshot consistent with election

* fix condition with only beacon chain

* Fix epoch number

* Fix stats update nil epoch issue

* [node.sh] use rclone to fast sync harmony_db_0 (#2709)

Signed-off-by: Leo Chen <leo@harmony.one>

* fix validator snapshot cache

Co-authored-by: Edgar Aroutiounian <edgar.factorial@gmail.com>
Co-authored-by: Minh Doan <40258599+mikedoan@users.noreply.github.com>
Co-authored-by: Leo Chen <leo@harmony.one>
fxfactorial added a commit that referenced this pull request Apr 5, 2020
commit f2524a8
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 12:33:35 2020 -0700

    Make validator snapshot on new validator too (#2733)

commit 350b7a0
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sat Apr 4 23:41:19 2020 -0700

    fix validator snapshot cache

commit 8f5f287
Author: Leo Chen <leo@harmony.one>
Date:   Sat Apr 4 19:09:38 2020 -0700

    [node.sh] use rclone to fast sync harmony_db_0 (#2709)

    Signed-off-by: Leo Chen <leo@harmony.one>

commit 05f2e20
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sat Apr 4 19:00:28 2020 -0700

    make validator snapshot consistent with election (#2726)

    * make validator snapshot consistent with election

    * fix condition with only beacon chain

    * Fix epoch number

    * Fix stats update nil epoch issue

commit 24a17fe
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sat Apr 4 16:38:12 2020 -0700

    [state] ValidatorWrapper div zero panic fix -  (#2724)

    * [state] Error on div zero

    * [state] Do not pay out commit when commit is 0%

    * [state] Put whole commission in guarded block

    * [core] Reward cannot be zero

    * [state] return nil, not hard error

commit 1f83ebf
Author: Minh Doan <40258599+mikedoan@users.noreply.github.com>
Date:   Sat Apr 4 14:38:55 2020 -0700

    change explorer node storage folder (#2720)

commit 3aa08e9
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sat Apr 4 10:21:51 2020 -0700

    [rpc] Show both latest header of beacon chain and shard chain (#2714)

commit 1a2c23a
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Fri Apr 3 17:49:24 2020 -0700

    [validator] Hide one field from JSON (#2705)
rlan35 added a commit to rlan35/harmony that referenced this pull request Apr 6, 2020
commit dc036e6
Author: Ganesha Upadhyaya <ganeshrvce@gmail.com>
Date:   Sun Apr 5 17:18:36 2020 -0700

    fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (harmony-one#2737)

commit 66f26e8
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 17:06:50 2020 -0700

    do snapshot for validators at last block of epoch (harmony-one#2736)

commit f2524a8
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 12:33:35 2020 -0700

    Make validator snapshot on new validator too (harmony-one#2733)

commit 350b7a0
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sat Apr 4 23:41:19 2020 -0700

    fix validator snapshot cache

commit 8f5f287
Author: Leo Chen <leo@harmony.one>
Date:   Sat Apr 4 19:09:38 2020 -0700

    [node.sh] use rclone to fast sync harmony_db_0 (harmony-one#2709)

    Signed-off-by: Leo Chen <leo@harmony.one>

commit 05f2e20
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sat Apr 4 19:00:28 2020 -0700

    make validator snapshot consistent with election (harmony-one#2726)

    * make validator snapshot consistent with election

    * fix condition with only beacon chain

    * Fix epoch number

    * Fix stats update nil epoch issue

commit 24a17fe
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sat Apr 4 16:38:12 2020 -0700

    [state] ValidatorWrapper div zero panic fix -  (harmony-one#2724)

    * [state] Error on div zero

    * [state] Do not pay out commit when commit is 0%

    * [state] Put whole commission in guarded block

    * [core] Reward cannot be zero

    * [state] return nil, not hard error

commit 1f83ebf
Author: Minh Doan <40258599+mikedoan@users.noreply.github.com>
Date:   Sat Apr 4 14:38:55 2020 -0700

    change explorer node storage folder (harmony-one#2720)

commit 3aa08e9
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sat Apr 4 10:21:51 2020 -0700

    [rpc] Show both latest header of beacon chain and shard chain (harmony-one#2714)

commit 1a2c23a
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Fri Apr 3 17:49:24 2020 -0700

    [validator] Hide one field from JSON (harmony-one#2705)
rlan35 added a commit that referenced this pull request Apr 6, 2020
commit dc036e6
Author: Ganesha Upadhyaya <ganeshrvce@gmail.com>
Date:   Sun Apr 5 17:18:36 2020 -0700

    fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (#2737)

commit 66f26e8
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 17:06:50 2020 -0700

    do snapshot for validators at last block of epoch (#2736)

commit f2524a8
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 12:33:35 2020 -0700

    Make validator snapshot on new validator too (#2733)

commit 350b7a0
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sat Apr 4 23:41:19 2020 -0700

    fix validator snapshot cache

commit 8f5f287
Author: Leo Chen <leo@harmony.one>
Date:   Sat Apr 4 19:09:38 2020 -0700

    [node.sh] use rclone to fast sync harmony_db_0 (#2709)

    Signed-off-by: Leo Chen <leo@harmony.one>

commit 05f2e20
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sat Apr 4 19:00:28 2020 -0700

    make validator snapshot consistent with election (#2726)

    * make validator snapshot consistent with election

    * fix condition with only beacon chain

    * Fix epoch number

    * Fix stats update nil epoch issue

commit 24a17fe
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sat Apr 4 16:38:12 2020 -0700

    [state] ValidatorWrapper div zero panic fix -  (#2724)

    * [state] Error on div zero

    * [state] Do not pay out commit when commit is 0%

    * [state] Put whole commission in guarded block

    * [core] Reward cannot be zero

    * [state] return nil, not hard error

commit 1f83ebf
Author: Minh Doan <40258599+mikedoan@users.noreply.github.com>
Date:   Sat Apr 4 14:38:55 2020 -0700

    change explorer node storage folder (#2720)

commit 3aa08e9
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sat Apr 4 10:21:51 2020 -0700

    [rpc] Show both latest header of beacon chain and shard chain (#2714)

commit 1a2c23a
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Fri Apr 3 17:49:24 2020 -0700

    [validator] Hide one field from JSON (#2705)
rlan35 added a commit to rlan35/harmony that referenced this pull request Apr 6, 2020
commit 832b01d
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sun Apr 5 19:40:37 2020 -0700

    Revert "fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (harmony-one#2737)" (harmony-one#2742)

    This reverts commit dc036e6.

commit dc036e6
Author: Ganesha Upadhyaya <ganeshrvce@gmail.com>
Date:   Sun Apr 5 17:18:36 2020 -0700

    fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (harmony-one#2737)

commit 66f26e8
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 17:06:50 2020 -0700

    do snapshot for validators at last block of epoch (harmony-one#2736)

commit f2524a8
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 12:33:35 2020 -0700

    Make validator snapshot on new validator too (harmony-one#2733)

commit 350b7a0
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sat Apr 4 23:41:19 2020 -0700

    fix validator snapshot cache

commit 8f5f287
Author: Leo Chen <leo@harmony.one>
Date:   Sat Apr 4 19:09:38 2020 -0700

    [node.sh] use rclone to fast sync harmony_db_0 (harmony-one#2709)

    Signed-off-by: Leo Chen <leo@harmony.one>

commit 05f2e20
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sat Apr 4 19:00:28 2020 -0700

    make validator snapshot consistent with election (harmony-one#2726)

    * make validator snapshot consistent with election

    * fix condition with only beacon chain

    * Fix epoch number

    * Fix stats update nil epoch issue

commit 24a17fe
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sat Apr 4 16:38:12 2020 -0700

    [state] ValidatorWrapper div zero panic fix -  (harmony-one#2724)

    * [state] Error on div zero

    * [state] Do not pay out commit when commit is 0%

    * [state] Put whole commission in guarded block

    * [core] Reward cannot be zero

    * [state] return nil, not hard error

commit 1f83ebf
Author: Minh Doan <40258599+mikedoan@users.noreply.github.com>
Date:   Sat Apr 4 14:38:55 2020 -0700

    change explorer node storage folder (harmony-one#2720)

commit 3aa08e9
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sat Apr 4 10:21:51 2020 -0700

    [rpc] Show both latest header of beacon chain and shard chain (harmony-one#2714)

commit 1a2c23a
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Fri Apr 3 17:49:24 2020 -0700

    [validator] Hide one field from JSON (harmony-one#2705)
rlan35 added a commit to rlan35/harmony that referenced this pull request Apr 6, 2020
commit 832b01d
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sun Apr 5 19:40:37 2020 -0700

    Revert "fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (harmony-one#2737)" (harmony-one#2742)

    This reverts commit dc036e6.

commit dc036e6
Author: Ganesha Upadhyaya <ganeshrvce@gmail.com>
Date:   Sun Apr 5 17:18:36 2020 -0700

    fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (harmony-one#2737)

commit 66f26e8
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 17:06:50 2020 -0700

    do snapshot for validators at last block of epoch (harmony-one#2736)

commit f2524a8
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 12:33:35 2020 -0700

    Make validator snapshot on new validator too (harmony-one#2733)

commit 350b7a0
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sat Apr 4 23:41:19 2020 -0700

    fix validator snapshot cache

commit 8f5f287
Author: Leo Chen <leo@harmony.one>
Date:   Sat Apr 4 19:09:38 2020 -0700

    [node.sh] use rclone to fast sync harmony_db_0 (harmony-one#2709)

    Signed-off-by: Leo Chen <leo@harmony.one>

commit 05f2e20
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sat Apr 4 19:00:28 2020 -0700

    make validator snapshot consistent with election (harmony-one#2726)

    * make validator snapshot consistent with election

    * fix condition with only beacon chain

    * Fix epoch number

    * Fix stats update nil epoch issue

commit 24a17fe
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sat Apr 4 16:38:12 2020 -0700

    [state] ValidatorWrapper div zero panic fix -  (harmony-one#2724)

    * [state] Error on div zero

    * [state] Do not pay out commit when commit is 0%

    * [state] Put whole commission in guarded block

    * [core] Reward cannot be zero

    * [state] return nil, not hard error

commit 1f83ebf
Author: Minh Doan <40258599+mikedoan@users.noreply.github.com>
Date:   Sat Apr 4 14:38:55 2020 -0700

    change explorer node storage folder (harmony-one#2720)

commit 3aa08e9
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sat Apr 4 10:21:51 2020 -0700

    [rpc] Show both latest header of beacon chain and shard chain (harmony-one#2714)

commit 1a2c23a
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Fri Apr 3 17:49:24 2020 -0700

    [validator] Hide one field from JSON (harmony-one#2705)
rlan35 added a commit that referenced this pull request Apr 6, 2020
* [validator] Hide one field from JSON (#2705)

* [rpc] Show both latest header of beacon chain and shard chain (#2714)

* change explorer node storage folder (#2720)

* [state] ValidatorWrapper div zero panic fix -  (#2724)

* [state] Error on div zero

* [state] Do not pay out commit when commit is 0%

* [state] Put whole commission in guarded block

* [core] Reward cannot be zero

* [state] return nil, not hard error

* make validator snapshot consistent with election (#2726)

* make validator snapshot consistent with election

* fix condition with only beacon chain

* Fix epoch number

* Fix stats update nil epoch issue

* [node.sh] use rclone to fast sync harmony_db_0 (#2709)

Signed-off-by: Leo Chen <leo@harmony.one>

* fix validator snapshot cache

* Make validator snapshot on new validator too (#2733)

* do snapshot for validators at last block of epoch (#2736)

* fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (#2737)

* Revert "fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (#2737)" (#2742)

This reverts commit dc036e6.

* Final attempt: Don't div by 0; print out debug info (#2746)

* Revert "Revert "fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (#2737)" (#2742)"

This reverts commit 832b01d.

* Don't div by 0; print out debug info

Co-authored-by: Edgar Aroutiounian <edgar.factorial@gmail.com>
Co-authored-by: Minh Doan <40258599+mikedoan@users.noreply.github.com>
Co-authored-by: Leo Chen <leo@harmony.one>
Co-authored-by: Ganesha Upadhyaya <ganeshrvce@gmail.com>
fxfactorial added a commit that referenced this pull request Apr 6, 2020
commit ba1c0cd
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sun Apr 5 23:53:03 2020 -0700

    [blockchain] Create fresh big int, remove more dead code from static … (#2749)

    * [blockchain] Create fresh big int, remove more dead code from static analysis

    * [measure] Remove IzZero/IsNil checks

commit 191f1d5
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 21:11:21 2020 -0700

    Final attempt: Don't div by 0; print out debug info (#2746)

    * Revert "Revert "fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (#2737)" (#2742)"

    This reverts commit 832b01d.

    * Don't div by 0; print out debug info

commit 832b01d
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sun Apr 5 19:40:37 2020 -0700

    Revert "fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (#2737)" (#2742)

    This reverts commit dc036e6.

commit dc036e6
Author: Ganesha Upadhyaya <ganeshrvce@gmail.com>
Date:   Sun Apr 5 17:18:36 2020 -0700

    fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (#2737)

commit 66f26e8
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 17:06:50 2020 -0700

    do snapshot for validators at last block of epoch (#2736)

commit f2524a8
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 12:33:35 2020 -0700

    Make validator snapshot on new validator too (#2733)

commit 350b7a0
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sat Apr 4 23:41:19 2020 -0700

    fix validator snapshot cache

commit 8f5f287
Author: Leo Chen <leo@harmony.one>
Date:   Sat Apr 4 19:09:38 2020 -0700

    [node.sh] use rclone to fast sync harmony_db_0 (#2709)

    Signed-off-by: Leo Chen <leo@harmony.one>

commit 05f2e20
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sat Apr 4 19:00:28 2020 -0700

    make validator snapshot consistent with election (#2726)

    * make validator snapshot consistent with election

    * fix condition with only beacon chain

    * Fix epoch number

    * Fix stats update nil epoch issue

commit 24a17fe
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sat Apr 4 16:38:12 2020 -0700

    [state] ValidatorWrapper div zero panic fix -  (#2724)

    * [state] Error on div zero

    * [state] Do not pay out commit when commit is 0%

    * [state] Put whole commission in guarded block

    * [core] Reward cannot be zero

    * [state] return nil, not hard error

commit 1f83ebf
Author: Minh Doan <40258599+mikedoan@users.noreply.github.com>
Date:   Sat Apr 4 14:38:55 2020 -0700

    change explorer node storage folder (#2720)

commit 3aa08e9
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sat Apr 4 10:21:51 2020 -0700

    [rpc] Show both latest header of beacon chain and shard chain (#2714)

commit 1a2c23a
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Fri Apr 3 17:49:24 2020 -0700

    [validator] Hide one field from JSON (#2705)
rlan35 added a commit to rlan35/harmony that referenced this pull request Apr 7, 2020
commit 70a4272
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Mon Apr 6 17:06:33 2020 -0700

    fix block proposal ordering; other offchain commits change (harmony-one#2761)

    * fix block proposal ordering; other offchain commits change

    * remove div by 0 checks

    * Fix imports

commit 054c3cb
Author: Ganesha Upadhyaya <ganeshrvce@gmail.com>
Date:   Mon Apr 6 13:42:07 2020 -0700

    [consensus][viewchange] fix total power of signers in IsQuorumAchieved for view change (harmony-one#2758)

commit 094a613
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Mon Apr 6 11:45:50 2020 -0700

    [project] Unused yaml files, staticcheck fixes, dead tests that only delay build  (harmony-one#2755)

    * [project] Unused yaml files

    * [core] Remove dead tx_cacher.go

    * [project] Further fixes from staticcheck

commit a7b7961
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Mon Apr 6 10:04:54 2020 -0700

    [project] More Spring Cleaning  (harmony-one#2751)

    * [project] Remove hmyclient

    * [drand] Remove dead drand

    * [drand] Remove dead code in proto, more dead drand things

    * [project] Remove dead demo tool

    * [project] Remove dead Lottery solidity

    * [project] Remove dead hmy client main

    * [node] Remove unused variable in test code

    * [project] Remove keygen

    * [project] Remove not useful test

commit ba1c0cd
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sun Apr 5 23:53:03 2020 -0700

    [blockchain] Create fresh big int, remove more dead code from static … (harmony-one#2749)

    * [blockchain] Create fresh big int, remove more dead code from static analysis

    * [measure] Remove IzZero/IsNil checks

commit 191f1d5
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 21:11:21 2020 -0700

    Final attempt: Don't div by 0; print out debug info (harmony-one#2746)

    * Revert "Revert "fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (harmony-one#2737)" (harmony-one#2742)"

    This reverts commit 832b01d.

    * Don't div by 0; print out debug info

commit 832b01d
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sun Apr 5 19:40:37 2020 -0700

    Revert "fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (harmony-one#2737)" (harmony-one#2742)

    This reverts commit dc036e6.

commit dc036e6
Author: Ganesha Upadhyaya <ganeshrvce@gmail.com>
Date:   Sun Apr 5 17:18:36 2020 -0700

    fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (harmony-one#2737)

commit 66f26e8
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 17:06:50 2020 -0700

    do snapshot for validators at last block of epoch (harmony-one#2736)

commit f2524a8
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 12:33:35 2020 -0700

    Make validator snapshot on new validator too (harmony-one#2733)

commit 350b7a0
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sat Apr 4 23:41:19 2020 -0700

    fix validator snapshot cache

commit 8f5f287
Author: Leo Chen <leo@harmony.one>
Date:   Sat Apr 4 19:09:38 2020 -0700

    [node.sh] use rclone to fast sync harmony_db_0 (harmony-one#2709)

    Signed-off-by: Leo Chen <leo@harmony.one>

commit 05f2e20
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sat Apr 4 19:00:28 2020 -0700

    make validator snapshot consistent with election (harmony-one#2726)

    * make validator snapshot consistent with election

    * fix condition with only beacon chain

    * Fix epoch number

    * Fix stats update nil epoch issue

commit 24a17fe
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sat Apr 4 16:38:12 2020 -0700

    [state] ValidatorWrapper div zero panic fix -  (harmony-one#2724)

    * [state] Error on div zero

    * [state] Do not pay out commit when commit is 0%

    * [state] Put whole commission in guarded block

    * [core] Reward cannot be zero

    * [state] return nil, not hard error

commit 1f83ebf
Author: Minh Doan <40258599+mikedoan@users.noreply.github.com>
Date:   Sat Apr 4 14:38:55 2020 -0700

    change explorer node storage folder (harmony-one#2720)

commit 3aa08e9
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sat Apr 4 10:21:51 2020 -0700

    [rpc] Show both latest header of beacon chain and shard chain (harmony-one#2714)

commit 1a2c23a
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Fri Apr 3 17:49:24 2020 -0700

    [validator] Hide one field from JSON (harmony-one#2705)

# Conflicts:
#	core/tx_cacher.go
rlan35 added a commit that referenced this pull request Apr 7, 2020
* Squashed commit of the following:

commit 70a4272
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Mon Apr 6 17:06:33 2020 -0700

    fix block proposal ordering; other offchain commits change (#2761)

    * fix block proposal ordering; other offchain commits change

    * remove div by 0 checks

    * Fix imports

commit 054c3cb
Author: Ganesha Upadhyaya <ganeshrvce@gmail.com>
Date:   Mon Apr 6 13:42:07 2020 -0700

    [consensus][viewchange] fix total power of signers in IsQuorumAchieved for view change (#2758)

commit 094a613
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Mon Apr 6 11:45:50 2020 -0700

    [project] Unused yaml files, staticcheck fixes, dead tests that only delay build  (#2755)

    * [project] Unused yaml files

    * [core] Remove dead tx_cacher.go

    * [project] Further fixes from staticcheck

commit a7b7961
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Mon Apr 6 10:04:54 2020 -0700

    [project] More Spring Cleaning  (#2751)

    * [project] Remove hmyclient

    * [drand] Remove dead drand

    * [drand] Remove dead code in proto, more dead drand things

    * [project] Remove dead demo tool

    * [project] Remove dead Lottery solidity

    * [project] Remove dead hmy client main

    * [node] Remove unused variable in test code

    * [project] Remove keygen

    * [project] Remove not useful test

commit ba1c0cd
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sun Apr 5 23:53:03 2020 -0700

    [blockchain] Create fresh big int, remove more dead code from static … (#2749)

    * [blockchain] Create fresh big int, remove more dead code from static analysis

    * [measure] Remove IzZero/IsNil checks

commit 191f1d5
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 21:11:21 2020 -0700

    Final attempt: Don't div by 0; print out debug info (#2746)

    * Revert "Revert "fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (#2737)" (#2742)"

    This reverts commit 832b01d.

    * Don't div by 0; print out debug info

commit 832b01d
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sun Apr 5 19:40:37 2020 -0700

    Revert "fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (#2737)" (#2742)

    This reverts commit dc036e6.

commit dc036e6
Author: Ganesha Upadhyaya <ganeshrvce@gmail.com>
Date:   Sun Apr 5 17:18:36 2020 -0700

    fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (#2737)

commit 66f26e8
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 17:06:50 2020 -0700

    do snapshot for validators at last block of epoch (#2736)

commit f2524a8
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sun Apr 5 12:33:35 2020 -0700

    Make validator snapshot on new validator too (#2733)

commit 350b7a0
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sat Apr 4 23:41:19 2020 -0700

    fix validator snapshot cache

commit 8f5f287
Author: Leo Chen <leo@harmony.one>
Date:   Sat Apr 4 19:09:38 2020 -0700

    [node.sh] use rclone to fast sync harmony_db_0 (#2709)

    Signed-off-by: Leo Chen <leo@harmony.one>

commit 05f2e20
Author: Rongjian Lan <rongjian.lan@gmail.com>
Date:   Sat Apr 4 19:00:28 2020 -0700

    make validator snapshot consistent with election (#2726)

    * make validator snapshot consistent with election

    * fix condition with only beacon chain

    * Fix epoch number

    * Fix stats update nil epoch issue

commit 24a17fe
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sat Apr 4 16:38:12 2020 -0700

    [state] ValidatorWrapper div zero panic fix -  (#2724)

    * [state] Error on div zero

    * [state] Do not pay out commit when commit is 0%

    * [state] Put whole commission in guarded block

    * [core] Reward cannot be zero

    * [state] return nil, not hard error

commit 1f83ebf
Author: Minh Doan <40258599+mikedoan@users.noreply.github.com>
Date:   Sat Apr 4 14:38:55 2020 -0700

    change explorer node storage folder (#2720)

commit 3aa08e9
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Sat Apr 4 10:21:51 2020 -0700

    [rpc] Show both latest header of beacon chain and shard chain (#2714)

commit 1a2c23a
Author: Edgar Aroutiounian <edgar.factorial@gmail.com>
Date:   Fri Apr 3 17:49:24 2020 -0700

    [validator] Hide one field from JSON (#2705)

# Conflicts:
#	core/tx_cacher.go

* fix merge conflict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants