gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated (4f514ab -> f7742d1)


From: gnunet
Subject: [taler-anastasis] branch master updated (4f514ab -> f7742d1)
Date: Tue, 17 Jan 2023 20:05:01 +0100

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

grothoff pushed a change to branch master
in repository anastasis.

    from 4f514ab  tests: fix libeufin user registration.
     new 8ce939c  -bump version
     new f7742d1  -fix Taler v0.9.x compatibility issues in test

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 configure.ac                                   |  2 +-
 debian/changelog                               |  6 ++++++
 src/backend/anastasis-httpd_truth-upload.c     |  1 -
 src/cli/test_anastasis_reducer_enter_secret.sh | 12 ++++++------
 src/restclient/anastasis_api_truth_store.c     | 10 +++++++++-
 5 files changed, 22 insertions(+), 9 deletions(-)

diff --git a/configure.ac b/configure.ac
index e0707e6..7cba49a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@
 # This configure file is in the public domain
 
 AC_PREREQ([2.69])
-AC_INIT([anastasis],[0.3.0],[taler-bug@gnu.org])
+AC_INIT([anastasis],[0.3.1],[taler-bug@gnu.org])
 AC_CONFIG_SRCDIR([src/backend/anastasis-httpd.c])
 AC_CONFIG_HEADERS([anastasis_config.h])
 # support for non-recursive builds
diff --git a/debian/changelog b/debian/changelog
index de3c9d2..e601233 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+anastasis (0.3.1) unstable; urgency=low
+
+  * Official Anastasis 0.3.1 release.
+
+ -- Christian Grothoff <grothoff@gnu.org>  Tue, 17 Jan 2023 09:50:12 +0200
+
 anastasis (0.3.0) unstable; urgency=low
 
   * Official Anastasis 0.3.0 release.
diff --git a/src/backend/anastasis-httpd_truth-upload.c 
b/src/backend/anastasis-httpd_truth-upload.c
index b8d2a84..362d7e1 100644
--- a/src/backend/anastasis-httpd_truth-upload.c
+++ b/src/backend/anastasis-httpd_truth-upload.c
@@ -415,7 +415,6 @@ check_payment_cb (void *cls,
                          "description", "challenge storage fee",
                          "quantity", (json_int_t) tuc->years_to_pay,
                          "unit", "years",
-
                          "order_id",
                          order_id);
       GNUNET_free (order_id);
diff --git a/src/cli/test_anastasis_reducer_enter_secret.sh 
b/src/cli/test_anastasis_reducer_enter_secret.sh
index 39529d7..2103679 100755
--- a/src/cli/test_anastasis_reducer_enter_secret.sh
+++ b/src/cli/test_anastasis_reducer_enter_secret.sh
@@ -213,7 +213,7 @@ taler-exchange-offline -c $CONF \
   sign \
   enable-account payto://x-taler-bank/localhost/Exchange \
   enable-auditor $AUDITOR_PUB $AUDITOR_URL "TESTKUDOS Auditor" \
-  wire-fee now x-taler-bank TESTKUDOS:0.01 TESTKUDOS:0.01 TESTKUDOS:0.01 \
+  wire-fee now x-taler-bank TESTKUDOS:0.01 TESTKUDOS:0.01 \
   upload &> taler-exchange-offline.log
 
 echo -n "."
@@ -268,7 +268,7 @@ echo "OK"
 echo -n "Configuring merchant instance ..."
 # Setup merchant
 
-curl -H "Content-Type: application/json" -X POST -d 
'{"auth":{"method":"external"},"payto_uris":["payto://x-taler-bank/localhost/43"],"id":"default","name":"default","address":{},"jurisdiction":{},"default_max_wire_fee":"TESTKUDOS:1",
 
"default_max_deposit_fee":"TESTKUDOS:1","default_wire_fee_amortization":1,"default_wire_transfer_delay":{"d_ms"
 : 3600000},"default_pay_delay":{"d_ms": 3600000}}' 
http://localhost:9966/management/instances
+curl -H "Content-Type: application/json" -X POST -d 
'{"auth":{"method":"external"},"payto_uris":["payto://x-taler-bank/localhost/43"],"id":"default","name":"default","address":{},"jurisdiction":{},"default_max_wire_fee":"TESTKUDOS:1",
 
"default_max_deposit_fee":"TESTKUDOS:1","default_wire_fee_amortization":1,"default_wire_transfer_delay":{"d_us"
 : 3600000000},"default_pay_delay":{"d_us": 3600000000}}' 
http://localhost:9966/management/instances
 
 
 echo " DONE"
@@ -289,14 +289,14 @@ fi
 echo " DONE"
 echo -en $COLOR$BOLD"Test expiration change ..."$NORM$NOCOLOR
 
-MILLIS=`date '+%s'`000
+SECS=`date '+%s'`
 # Use 156 days into the future to get 1 year
-MILLIS=`expr $MILLIS + 13478400000`
+SECS=`expr $SECS + 13478400`
 
 $PREFIX anastasis-reducer -a \
   "$(jq -n '
-   {"expiration": { "t_ms" : $MSEC } }' \
-   --argjson MSEC $MILLIS
+   {"expiration": { "t_s" : $SEC } }' \
+   --argjson SEC $SECS
   )" \
   update_expiration $TFILE $UFILE
 
diff --git a/src/restclient/anastasis_api_truth_store.c 
b/src/restclient/anastasis_api_truth_store.c
index c1cf634..855ad5a 100644
--- a/src/restclient/anastasis_api_truth_store.c
+++ b/src/restclient/anastasis_api_truth_store.c
@@ -169,10 +169,18 @@ handle_truth_store_finished (void *cls,
     ud.ec = TALER_JSON_get_error_code2 (data,
                                         data_size);
     break;
+  case MHD_HTTP_BAD_GATEWAY:
+    ud.ec = TALER_JSON_get_error_code2 (data,
+                                        data_size);
+    break;
   default:
-    GNUNET_break (0);
     ud.ec = TALER_JSON_get_error_code2 (data,
                                         data_size);
+    GNUNET_break (0);
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+                "Unexpected HTTP status code %u/%d\n",
+                (unsigned int) response_code,
+                ud.ec);
     break;
   }
   tso->cb (tso->cb_cls,

-- 
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]