fix kudos name; add check in parse_config
This commit is contained in:
parent
a21ea0116a
commit
a3880e5377
4 changed files with 40 additions and 26 deletions
|
|
@ -8,7 +8,7 @@ b="/tmp/b.json"
|
|||
url="http://localhost:3434"
|
||||
auditor_pub="A17JXR3E6J4CXDPYT7S1H25PGJ3ABS26TQ38654QCX0TB59RPMF0"
|
||||
master_key="./default/master_offline_private_key"
|
||||
zero_euro="KUDO:0.0"
|
||||
zero_kudos="KUDOS:0.0"
|
||||
|
||||
offline_tool() {
|
||||
dune exec offline -- "$@" > /dev/null
|
||||
|
|
@ -63,8 +63,8 @@ offline_tool wire-fee \
|
|||
--wire_method "xxx" \
|
||||
--fee_start 0 \
|
||||
--fee_end 99999999 \
|
||||
--closing_fee $zero_euro \
|
||||
--wire_fee $zero_euro
|
||||
--closing_fee $zero_kudos \
|
||||
--wire_fee $zero_kudos
|
||||
offline_tool upload --input $b --url $url"/management/wire-fee"
|
||||
echo "[OK] /management/wire-fee"
|
||||
|
||||
|
|
@ -73,9 +73,9 @@ offline_tool global-fees \
|
|||
--output $b \
|
||||
--start_date 0 \
|
||||
--end_date 99999999 \
|
||||
--history_fee $zero_euro \
|
||||
--account_fee $zero_euro \
|
||||
--purse_fee $zero_euro \
|
||||
--history_fee $zero_kudos \
|
||||
--account_fee $zero_kudos \
|
||||
--purse_fee $zero_kudos \
|
||||
--history_expiration 9999999 \
|
||||
--purse_account_limit 1 \
|
||||
--purse_timeout 9999999
|
||||
|
|
@ -107,6 +107,6 @@ offline_tool drain \
|
|||
--credit_payto_uri "" \
|
||||
--wtid $wtid \
|
||||
--date 0 \
|
||||
--amount $zero_euro
|
||||
--amount $zero_kudos
|
||||
offline_tool upload --input $b --url $url"/management/drain"
|
||||
echo "[OK] /management/drain"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue