Skip to content

Commit 8cd4833

Browse files
committed
Increase e2e aggregator security parameter for CardanoTransactions
From `1` to `15`. With only `1` the chain reader used to parse transactions from the chain would switch to 'agency' mode since we are really close to the tip of the chain. In this mode the client/server relationship is reversed and our code must wait a message from the cardano node in order to continue polling blocks. But the chain reader don't handle that case when we are setting the starting chain point, leading to a recuring error that would block all subsenquent calls. So increasing the security parameter allow us to avoid this problem by never be so close to the tip than we switch mode.
1 parent 5ea2904 commit 8cd4833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mithril-test-lab/mithril-end-to-end/src/mithril/aggregator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ impl Aggregator {
8989
("CARDANO_TRANSACTIONS_DATABASE_CONNECTION_POOL_SIZE", "5"),
9090
(
9191
"CARDANO_TRANSACTIONS_SIGNING_CONFIG__SECURITY_PARAMETER",
92-
"1",
92+
"15",
9393
),
9494
("CARDANO_TRANSACTIONS_SIGNING_CONFIG__STEP", "15"),
9595
]);

0 commit comments

Comments
 (0)