From 2fe3f9a9e110a3c49cf12166c4e65681f0397416 Mon Sep 17 00:00:00 2001 From: muXxer Date: Tue, 13 Feb 2024 15:23:44 +0100 Subject: [PATCH] Increase faucet mana limits --- .../templates/docker-compose-iota-core.yml.j2 | 7 +++++-- tools/docker-network/docker-compose.yml | 5 +++++ tools/genesis-snapshot/presets/presets.go | 4 ++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/deploy/ansible/roles/iota-core-node/templates/docker-compose-iota-core.yml.j2 b/deploy/ansible/roles/iota-core-node/templates/docker-compose-iota-core.yml.j2 index 8bc61f43c..2dbe6841c 100644 --- a/deploy/ansible/roles/iota-core-node/templates/docker-compose-iota-core.yml.j2 +++ b/deploy/ansible/roles/iota-core-node/templates/docker-compose-iota-core.yml.j2 @@ -128,9 +128,12 @@ services: command: > --inx.address=iota-core:9029 --faucet.bindAddress=0.0.0.0:8091 - --faucet.manaAmount=100000000 + --faucet.rateLimit.enabled=true --faucet.baseTokenAmount=1000000000000 - --faucet.baseTokenAmountMaxTarget=100000000000000 + --faucet.baseTokenAmountSmall=100000000000 + --faucet.baseTokenAmountMaxTarget=5000000000000 + --faucet.manaAmount=100000000 + --faucet.manaAmountMinFaucet=1000000000 {% endif %} {% if 'node-01' in inventory_hostname or 'node-02' in inventory_hostname or 'node-03' in inventory_hostname %} diff --git a/tools/docker-network/docker-compose.yml b/tools/docker-network/docker-compose.yml index 536d10a0c..dd128e5bc 100644 --- a/tools/docker-network/docker-compose.yml +++ b/tools/docker-network/docker-compose.yml @@ -282,6 +282,11 @@ services: --inx.address=node-1-validator:9029 --faucet.bindAddress=inx-faucet:8091 --faucet.rateLimit.enabled=false + --faucet.baseTokenAmount=1000000000 + --faucet.baseTokenAmountSmall=100000000 + --faucet.baseTokenAmountMaxTarget=5000000000 + --faucet.manaAmount=10000000 + --faucet.manaAmountMinFaucet=100000000 inx-validator-1: image: iotaledger/inx-validator:1.0-alpha diff --git a/tools/genesis-snapshot/presets/presets.go b/tools/genesis-snapshot/presets/presets.go index 75e9a8ffc..d6392c53c 100644 --- a/tools/genesis-snapshot/presets/presets.go +++ b/tools/genesis-snapshot/presets/presets.go @@ -158,7 +158,7 @@ var ( snapshotcreator.BasicOutputDetails{ Address: lo.Return2(iotago.ParseBech32("rms1xqqz7e8e69uej86s2s4srcp5lgzrkx25qwr4hpnha7h3j66pezyq85qpqg55v3ur")), Amount: 1_000_000_000_000_000, - Mana: 10_000_000, + Mana: 1_000_000_000_000_000, }, ), } @@ -278,7 +278,7 @@ var ( snapshotcreator.BasicOutputDetails{ Address: lo.Return2(iotago.ParseBech32("rms1xqqy3txhvnmzv53kgm2ueu30splfd5ct02cqvnehpdn04qgeskv9a3qpqgrhlhv3")), Amount: 1_000_000_000_000_000, - Mana: 10_000_000, + Mana: 1_000_000_000_000_000, }, ), }