get auditor to pass with refund

This commit is contained in:
Christian Grothoff 2020-01-19 02:46:17 +01:00
parent 58e5780917
commit 52bdff7867
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
5 changed files with 622 additions and 696 deletions

Binary file not shown.

View File

@ -1 +1 @@
ETY0VREGBRSMW9T3H9XCDX5NQ3VZZTQ410GSXXGZWSAXEEBKKGM0
55ABCNFQ313ED4HDJ7CQEPWD5394WW3E7KM4FESKZNF1HKWW4NEG

File diff suppressed because it is too large Load Diff

View File

@ -96,14 +96,14 @@ HONOR_default = YES
ACTIVE_default = YES
[fees-x-taler-bank]
wire-fee-2019 = TESTKUDOS:0.10
closing-fee-2019 = TESTKUDOS:0.20
wire-fee-2020 = TESTKUDOS:0.10
closing-fee-2020 = TESTKUDOS:0.20
wire-fee-2021 = TESTKUDOS:0.10
closing-fee-2021 = TESTKUDOS:0.20
wire-fee-2022 = TESTKUDOS:0.10
closing-fee-2022 = TESTKUDOS:0.20
wire-fee-2019 = TESTKUDOS:0.01
closing-fee-2019 = TESTKUDOS:0.01
wire-fee-2020 = TESTKUDOS:0.01
closing-fee-2020 = TESTKUDOS:0.01
wire-fee-2021 = TESTKUDOS:0.01
closing-fee-2021 = TESTKUDOS:0.01
wire-fee-2022 = TESTKUDOS:0.01
closing-fee-2022 = TESTKUDOS:0.01
[merchant-instance-wireformat-default]
TEST_RESPONSE_FILE = ${TALER_CONFIG_HOME}/merchant/wire/tutorial.json
@ -128,9 +128,9 @@ duration_withdraw = 7 days
duration_spend = 2 years
duration_legal = 3 years
fee_withdraw = TESTKUDOS:0.01
fee_deposit = TESTKUDOS:0.03
fee_refresh = TESTKUDOS:0.05
fee_refund = TESTKUDOS:0.07
fee_deposit = TESTKUDOS:0.01
fee_refresh = TESTKUDOS:0.01
fee_refund = TESTKUDOS:0.01
rsa_keysize = 1024
[coin_kudos_ct_10]
@ -140,9 +140,9 @@ duration_withdraw = 7 days
duration_spend = 2 years
duration_legal = 3 years
fee_withdraw = TESTKUDOS:0.01
fee_deposit = TESTKUDOS:0.03
fee_refresh = TESTKUDOS:0.05
fee_refund = TESTKUDOS:0.07
fee_deposit = TESTKUDOS:0.01
fee_refresh = TESTKUDOS:0.03
fee_refund = TESTKUDOS:0.01
rsa_keysize = 1024
[coin_kudos_1]
@ -151,10 +151,10 @@ duration_overlap = 5 minutes
duration_withdraw = 7 days
duration_spend = 2 years
duration_legal = 3 years
fee_withdraw = TESTKUDOS:0.01
fee_deposit = TESTKUDOS:0.03
fee_refresh = TESTKUDOS:0.05
fee_refund = TESTKUDOS:0.07
fee_withdraw = TESTKUDOS:0.02
fee_deposit = TESTKUDOS:0.02
fee_refresh = TESTKUDOS:0.03
fee_refund = TESTKUDOS:0.01
rsa_keysize = 1024
[coin_kudos_2]
@ -163,10 +163,10 @@ duration_overlap = 5 minutes
duration_withdraw = 7 days
duration_spend = 2 years
duration_legal = 3 years
fee_withdraw = TESTKUDOS:0.01
fee_withdraw = TESTKUDOS:0.03
fee_deposit = TESTKUDOS:0.03
fee_refresh = TESTKUDOS:0.05
fee_refund = TESTKUDOS:0.07
fee_refresh = TESTKUDOS:0.04
fee_refund = TESTKUDOS:0.02
rsa_keysize = 1024
[coin_kudos_4]
@ -175,10 +175,10 @@ duration_overlap = 5 minutes
duration_withdraw = 7 days
duration_spend = 2 years
duration_legal = 3 years
fee_withdraw = TESTKUDOS:0.01
fee_withdraw = TESTKUDOS:0.03
fee_deposit = TESTKUDOS:0.03
fee_refresh = TESTKUDOS:0.05
fee_refund = TESTKUDOS:0.07
fee_refresh = TESTKUDOS:0.04
fee_refund = TESTKUDOS:0.02
rsa_keysize = 1024
[coin_kudos_5]
@ -188,9 +188,9 @@ duration_withdraw = 7 days
duration_spend = 2 years
duration_legal = 3 years
fee_withdraw = TESTKUDOS:0.01
fee_deposit = TESTKUDOS:0.03
fee_refresh = TESTKUDOS:0.05
fee_refund = TESTKUDOS:0.07
fee_deposit = TESTKUDOS:0.01
fee_refresh = TESTKUDOS:0.03
fee_refund = TESTKUDOS:0.01
rsa_keysize = 1024
[coin_kudos_8]
@ -199,10 +199,10 @@ duration_overlap = 5 minutes
duration_withdraw = 7 days
duration_spend = 2 years
duration_legal = 3 years
fee_withdraw = TESTKUDOS:0.01
fee_deposit = TESTKUDOS:0.03
fee_refresh = TESTKUDOS:0.05
fee_refund = TESTKUDOS:0.07
fee_withdraw = TESTKUDOS:0.05
fee_deposit = TESTKUDOS:0.02
fee_refresh = TESTKUDOS:0.03
fee_refund = TESTKUDOS:0.04
rsa_keysize = 1024
[coin_kudos_10]
@ -212,9 +212,9 @@ duration_withdraw = 7 days
duration_spend = 2 years
duration_legal = 3 years
fee_withdraw = TESTKUDOS:0.01
fee_deposit = TESTKUDOS:0.03
fee_refresh = TESTKUDOS:0.05
fee_refund = TESTKUDOS:0.07
fee_deposit = TESTKUDOS:0.01
fee_refresh = TESTKUDOS:0.03
fee_refund = TESTKUDOS:0.01
rsa_keysize = 1024
[benchmark]

View File

@ -351,13 +351,13 @@ echo "UPDATE reserves_in SET credit_val=15 WHERE reserve_in_serial_id=1" | psql
run_audit
EXPECTED=`jq -r .reserve_balance_summary_wrong_inconsistencies[0].auditor < test-audit.json`
if test $EXPECTED != "TESTKUDOS:5"
if test $EXPECTED != "TESTKUDOS:5.01"
then
exit_fail "Expected reserve balance summary amount wrong, got $EXPECTED (auditor)"
fi
EXPECTED=`jq -r .reserve_balance_summary_wrong_inconsistencies[0].exchange < test-audit.json`
if test $EXPECTED != "TESTKUDOS:0"
if test $EXPECTED != "TESTKUDOS:0.01"
then
exit_fail "Expected reserve balance summary amount wrong, got $EXPECTED (exchange)"
fi
@ -513,7 +513,7 @@ then
fi
LOSS=`jq -r .bad_sig_losses[0].loss < test-audit.json`
if test $LOSS != "TESTKUDOS:1"
if test $LOSS != "TESTKUDOS:0.1"
then
exit_fail "Wrong deposit bad signature loss, got $LOSS"
fi
@ -525,7 +525,7 @@ then
fi
LOSS=`jq -r .total_bad_sig_loss < test-audit.json`
if test $LOSS != "TESTKUDOS:1"
if test $LOSS != "TESTKUDOS:0.1"
then
exit_fail "Wrong total bad sig loss, got $LOSS"
fi