gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: harness: coin gen without fee


From: gnunet
Subject: [taler-wallet-core] branch master updated: harness: coin gen without fees
Date: Mon, 05 Feb 2024 12:09:03 +0100

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

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 26590fbae harness: coin gen without fees
26590fbae is described below

commit 26590fbae822733556cb1011b5b6e0eea1d23d9e
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Feb 5 12:08:55 2024 +0100

    harness: coin gen without fees
---
 build-system/taler-build-scripts    | 2 +-
 packages/taler-harness/src/index.ts | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/build-system/taler-build-scripts b/build-system/taler-build-scripts
index 001f5dd08..23538677f 160000
--- a/build-system/taler-build-scripts
+++ b/build-system/taler-build-scripts
@@ -1 +1 @@
-Subproject commit 001f5dd081fc8729ff8def90c4a1c3f93eb8689a
+Subproject commit 23538677f6c6be2a62f38dc6137ecdd1c76b7b15
diff --git a/packages/taler-harness/src/index.ts 
b/packages/taler-harness/src/index.ts
index ea3d18438..530f25a7c 100644
--- a/packages/taler-harness/src/index.ts
+++ b/packages/taler-harness/src/index.ts
@@ -830,6 +830,7 @@ deploymentCli
   .requiredOption("maxAmount", ["--max-amount"], clk.STRING, {
     help: "Largest denomination",
   })
+  .flag("noFees", ["--no-fees"])
   .action(async (args) => {
     let out = "";
 
@@ -856,7 +857,11 @@ deploymentCli
       out += `DURATION_SPEND = 2 years\n`;
       out += `DURATION_LEGAL = 6 years\n`;
       out += `FEE_WITHDRAW = ${currency}:0\n`;
-      out += `FEE_DEPOSIT = ${Amounts.stringify(min)}\n`;
+      if (args.coincfg.noFees) {
+        out += `FEE_DEPOSIT = ${currency}:0\n`;
+      } else {
+        out += `FEE_DEPOSIT = ${Amounts.stringify(min)}\n`;
+      }
       out += `FEE_REFRESH = ${currency}:0\n`;
       out += `FEE_REFUND = ${currency}:0\n`;
       out += `RSA_KEYSIZE = 2048\n`;

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