Skip to content

Commit

Permalink
Changed the new period pay mean calculation to treat an invalid reque…
Browse files Browse the repository at this point in the history
…sted pay amount as 0 while still keeping the denominator for the mean the same number of custodians. Also added tests to check this behaviour.
  • Loading branch information
dallasjohnson committed Feb 26, 2020
1 parent 53b482a commit 733a538
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 1,059 deletions.
1 change: 0 additions & 1 deletion _compiled_contracts/daccustodian/compile_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ COMMON_PATH=../_compiled_contracts/$CONTRACT

source $COMMON_PATH/jungle/compile.sh
source $COMMON_PATH/mainnet/compile.sh
source $COMMON_PATH/unit_tests/compile.sh
2 changes: 1 addition & 1 deletion _compiled_contracts/daccustodian/jungle/compile.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash

source `dirname $BASH_SOURCE`/../common.sh
eosio-cpp -DDEBUG -DTOKENCONTRACT='"kasdactokens"' -DTRANSFER_DELAY=20 -o `dirname $BASH_SOURCE`/$CONTRACT/$CONTRACT.wasm $CONTRACT.cpp -I.
eosio-cpp -DDEBUG -DTRANSFER_DELAY=20 -o `dirname $BASH_SOURCE`/$CONTRACT/$CONTRACT.wasm $CONTRACT.cpp -I.
2 changes: 1 addition & 1 deletion _compiled_contracts/daccustodian/mainnet/compile.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash

source `dirname $BASH_SOURCE`/../common.sh
eosio-cpp -DTOKENCONTRACT='"eosdactokens"' -DTRANSFER_DELAY=3600 -o `dirname $BASH_SOURCE`/$CONTRACT/$CONTRACT.wasm $CONTRACT.cpp -I.
eosio-cpp -o `dirname $BASH_SOURCE`/$CONTRACT/$CONTRACT.wasm $CONTRACT.cpp -I.
4 changes: 0 additions & 4 deletions _compiled_contracts/daccustodian/unit_tests/compile.sh

This file was deleted.

Loading

0 comments on commit 733a538

Please sign in to comment.