gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-anastasis] branch master updated: -move to EUR


From: gnunet
Subject: [taler-anastasis] branch master updated: -move to EUR
Date: Tue, 24 Aug 2021 13:05:40 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new a1a11e5  -move to EUR
a1a11e5 is described below

commit a1a11e52e57f245672bbec9f53626ab9b60e6cf6
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Aug 24 13:05:38 2021 +0200

    -move to EUR
---
 src/cli/test_free_reducer.conf | 12 ++++++------
 src/cli/test_iban.sh           | 25 +++++++------------------
 2 files changed, 13 insertions(+), 24 deletions(-)

diff --git a/src/cli/test_free_reducer.conf b/src/cli/test_free_reducer.conf
index 364758c..ba11c56 100644
--- a/src/cli/test_free_reducer.conf
+++ b/src/cli/test_free_reducer.conf
@@ -1,15 +1,15 @@
 # This file is in the public domain.
 # It is used by test_iban.sh
 [taler]
-CURRENCY = TESTKUDOS
+CURRENCY = EUR
 
 [anastasis]
 DB = postgres
-ANNUAL_FEE = TESTKUDOS:0
-TRUTH_UPLOAD_FEE = TESTKUDOS:0
+ANNUAL_FEE = EUR:0
+TRUTH_UPLOAD_FEE = EUR:0
 UPLOAD_LIMIT_MB = 1
 ANNUAL_POLICY_UPLOAD_LIMIT = 128
-INSURANCE = TESTKUDOS:0
+INSURANCE = EUR:0
 PORT = 8086
 SERVER_SALT = BUfO1KGOKYIFlFQg
 BUSINESS_NAME = "Data loss Inc."
@@ -19,9 +19,9 @@ BUSINESS_NAME = "Data loss Inc."
 PAYMENT_BACKEND_URL = http://localhost:9966/
 
 [authorization-question]
-COST = TESTKUDOS:0.0
+COST = EUR:0.0
 
 [authorization-iban]
 ENABLED = YES
-COST = TESTKUDOS:5
+COST = EUR:5
 BUSINESS_NAME = "Data loss inc."
diff --git a/src/cli/test_iban.sh b/src/cli/test_iban.sh
index c947518..9cdb475 100755
--- a/src/cli/test_iban.sh
+++ b/src/cli/test_iban.sh
@@ -444,31 +444,20 @@ then
 fi
 
 AMOUNT=`jq -r -e .challenge_feedback.\"$NAME_UUID\".details.challenge_amount < 
$R1FILE`
-NUMBER=`jq -r -e 
.challenge_feedback.\"$NAME_UUID\".details.wire_transfer_subject < $R1FILE`
-SUBJECT="Anastasis ${NUMBER}"
+SUBJECT=`jq -r -e 
.challenge_feedback.\"$NAME_UUID\".details.wire_transfer_subject < $R1FILE`
 
-# FIXME-MS: must do wire transfer using $SUBJECT and $AMOUNT here!
-#
-# This command (see function definition above) wires funds:
-# wire_transfer_to_anastasis "$CURRENCY:1" "Sandbox-only transaction 1"
-# wire_transfer_to_anastasis "$CURRENCY:1" "Sandbox-only transaction 2"
-#
-# This command (see function definition above) checks the history via the 
facade API:
-# see_anastasis_transactions_via_facade $FACADE_URL
-
-
-bash
+echo -e "Performing authorization wire transfer ..."
+wire_transfer_to_anastasis "${AMOUNT}" "${SUBJECT}"
 
-echo "TEST INCOMPLETE --- BAILING for now"
-
-exit 77
+echo " OK"
 
-# Check for inbound wire transfer (fails with 'Failed to load bank access 
configuration data')
+echo -e "Triggering inbound check ..."
 anastasis-helper-authorization-iban -c $CONF -t
+echo " OK"
 
 # Now we should get the secret...
+echo -e "Polling for recovery ..."
 anastasis-reducer poll < $R1FILE > $R2FILE
-
 echo " OK"
 
 echo -n "Checking recovered secret ..."

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]