Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

signer: Relax two rules to be warnings only #527

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions libs/gl-client/src/signer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ impl Signer {
rules: vec![
FilterRule::new_warn("policy-channel-safe-type-anchors"),
FilterRule::new_warn("policy-routing-balanced"),
FilterRule::new_warn("policy-commitment-retry-same"),
],
});

Expand All @@ -141,6 +142,16 @@ impl Signer {
],
});

// TODO: Remove once we found the desync issue
policy.filter.merge(PolicyFilter {
rules: vec![
// "policy failure: get_per_commitment_secret: cannot
// revoke commitment_number 312 when
// next_holder_commit_num is 313"
FilterRule::new_warn("policy-revoke-new-commitment-signed"),
],
});

// Increase the invoices limit. Results in a larger state, but
// bumping into this is rather annoying.
policy.max_invoices = 10_000usize;
Expand Down
Loading