-
Notifications
You must be signed in to change notification settings - Fork 2k
feat(relayer): context aware user decrypt threshold #2317
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
Open
manoranjith
wants to merge
6
commits into
feat/RFC013
Choose a base branch
from
mano/relayer/dynamic-kms-context
base: feat/RFC013
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
d0bd5d2
fix(relayer): make all config env-var configurable
manoranjith a7e967e
docs(relayer): fix stale Retry-After docs
manoranjith 5c36885
feat(relayer): context aware user decrypt threshold
manoranjith 12c5a06
fix(gateway): use u32 for thresholds in relayer
manoranjith 05ab6fd
fix(relayer): update rustls-webpki to fix sec vuln
manoranjith 0fd717c
Switch host bindings to git dependency
manoranjith File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
80 changes: 80 additions & 0 deletions
80
relayer/.sqlx/query-484452920269dd5025e85282b473ab4432933ceb2fb7d58d4cad413d1abfee66.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
74 changes: 0 additions & 74 deletions
74
relayer/.sqlx/query-9d88c7e8ef028f1c57e2f620b758d4107dd79c049e16a5d660f9ea8fbe49d875.json
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
relayer/relayer-migrate/migrations/20260416120000_add_resolved_threshold.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| -- Add resolved_threshold column to user_decrypt_req. | ||
| -- Stores the dynamic threshold used when the write side marked the request as completed. | ||
| -- Nullable for backward compatibility: old software ignores this column, new rows get the value. | ||
| -- NULL means "use static config default" (for rows created before this migration). | ||
| ALTER TABLE user_decrypt_req ADD COLUMN resolved_threshold BIGINT; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe to enforce the NOT NULL constraint rule, we can set the current "static config default" instead of leaving it as NULL