Add a trustEnclaves and requireBFTQuorum toml settings for use in confidential relay.#22921
Conversation
|
I see you updated files related to
|
|
✅ No conflicts with other open PRs targeting |
|
CORA - Pending ReviewersAll codeowners have approved! ✅ Legend: ✅ Approved | ❌ Changes Requested | 💬 Commented | 🚫 Dismissed | ⏳ Pending | ❓ Unknown For more details, see the full review summary. |
This reverts commit 8bb0c1b.
nadahalli
left a comment
There was a problem hiding this comment.
I have always strived to not add "test parameters" to signatures, but I guess in this case, this is the best way of doing it.
Yeah, not sure there's a better solution here. LMK if you think of one. |
i wonder if it makes sense to add some NitroValidator interface which we can store in Handler, where the real impl calls nitro.ValidateAttestation/nitro.ValidateAttestationWithRoots, and a relaxed version used for tests can do something else. then it would be handled at instantiation. perhaps not much cleaner? |
Right. It would only be spawned by a toml configuration still, but maybe I can re-arrange this to be a handler that gets passed in rather than a bool. |
|
@cfal LMK if this looks good: smartcontractkit/chainlink-common#2204. If so, will make the refactor using this component. |
trustEnclaves and requireBFTQuorum toml settings for use in confidential relay.
Restores the confidential-http plugin block accidentally removed in 61ed5ed. Also propagates the RequireBFTQuorum config to the system-tests E2E helper and the node-validate/config testscript fixtures. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|




Add the following toml configs for confidential relay:
trustEnclaves: enables passthrough checking of attestations which enables nitro testing E2E without full enclaves launched. Passthrough PR inchainlink-common: Add passthrough validator for confidential relay chainlink-common#2204, emits a metric we can alert on if it is ever enabled in production.requireBFTQuorum: configurable to enforce stricter signature quorums, meant to add flexible configuration in case we change settings on the enclave side.