Skip to content

Commit 33f449a

Browse files
authored
fix: Add max_willing_to_lose default value (#315)
* fix: Remove max_willing_to_lose Add max_willing_to_lose into the default config values * fix: remove unnecesary config
1 parent 18e2609 commit 33f449a

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

config/default_values.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ url_prefix = "/"
1717
[service.tap]
1818
max_receipt_value_grt = "0.001" # We use strings to prevent rounding errors
1919

20+
[tap]
21+
max_amount_willing_to_lose_grt = 20
22+
2023
[tap.rav_request]
2124
trigger_value_divisor = 10
2225
timestamp_buffer_secs = 60

config/minimal-config-example.toml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,6 @@ receipts_verifier_address = "0x2222222222222222222222222222222222222222"
5151
########################################
5252
# Specific configurations to tap-agent #
5353
########################################
54-
[tap]
55-
# This is the amount of fees you are willing to risk at any given time. For ex.
56-
# if the sender stops supplying RAVs for long enough and the fees exceed this
57-
# amount, the indexer-service will stop accepting queries from the sender
58-
# until the fees are aggregated.
59-
# NOTE: Use strings for decimal values to prevent rounding errors
60-
# e.g:
61-
# max_amount_willing_to_lose_grt = "0.1"
62-
max_amount_willing_to_lose_grt = 20
6354

6455
[tap.sender_aggregator_endpoints]
6556
# Key-Value of all senders and their aggregator endpoints

0 commit comments

Comments
 (0)