-
Notifications
You must be signed in to change notification settings - Fork 46
feat(backend)!: record and claim tips through an ICRC-2 allowance #13859
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
Merged
Merged
Changes from 39 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
3310dd5
feat(backend): record and claim tips through an ICRC-2 allowance
artkorotkikh-dfinity 8f5a818
docs(ai): state plainly that the sender pays both tip fees
artkorotkikh-dfinity 34b6e07
fix(backend): regenerate the tip candid after the request-record change
artkorotkikh-dfinity 8497d41
feat(backend): recoverable tip links, and a tips counter
artkorotkikh-dfinity e2c02a2
docs(ai): record link recovery and the tips counter in the spec
artkorotkikh-dfinity 39aacf6
docs(ai): record that decision 15 was never built
artkorotkikh-dfinity b4b2b27
fix(backend): keep claimed and cancelled tips in History for their re…
artkorotkikh-dfinity baeaed8
fix(backend): stop the tip vetKey limits throttling ordinary use
artkorotkikh-dfinity d4a5219
feat(backend): give the tip endpoints a global rate-limit tier
artkorotkikh-dfinity 82fb171
feat(backend): record a failed claim so History can show it as Failed
artkorotkikh-dfinity 414caeb
feat(backend): tell a claimer when the sender's balance is short
artkorotkikh-dfinity ee4dcab
fix(backend): move the tip-secrets store to a fresh memory region
artkorotkikh-dfinity deee439
fix(backend): release stored claim codes, and rate-limit storing them
artkorotkikh-dfinity 33ff892
style(frontend): format the hand-edited backend declarations
artkorotkikh-dfinity edc5000
fix(backend): move the tips memories off an id main now uses
artkorotkikh-dfinity 6935aac
Merge branch 'main' into feat/tips-1-backend
artkorotkikh-dfinity ad0521c
test(backend): prove a tip survives an upgrade and still pays exactly…
artkorotkikh-dfinity fdf5c23
🤖 Apply bindings changes
github-actions[bot] 0be17cb
fix(backend): reject an empty tip id in the secrets store
artkorotkikh-dfinity fa54bdb
Merge branch 'feat/tips-1-backend' of https://github.com/dfinity/oisy…
artkorotkikh-dfinity 323ef07
docs(backend): describe all three claim-failure outcomes
artkorotkikh-dfinity 5d9175c
🤖 Apply bindings changes
github-actions[bot] 197ecc7
test(backend): stop the upgrade test depending on the scheduler
artkorotkikh-dfinity df19b14
test(backend): stop the upgrade test depending on the scheduler
artkorotkikh-dfinity 091641a
Merge branch 'feat/tips-1-backend' of https://github.com/dfinity/oisy…
artkorotkikh-dfinity f8849e7
test(backend): make a duplicate memory id fail the build
artkorotkikh-dfinity 552fc0e
fix(backend): close three gaps the review found in the tip endpoints
artkorotkikh-dfinity 6f3f2cd
refactor(backend): generalise the vetKey limiter to TieredRateLimiter
artkorotkikh-dfinity 5b21944
refactor(backend): borrow the ICRC types instead of declaring them again
artkorotkikh-dfinity c97622b
🤖 Apply formatting changes
github-actions[bot] abbbf0c
test(backend): pin all four default tiers, and stop the doc overpromi…
artkorotkikh-dfinity e0799e1
docs(backend): say what actually makes the shared global key safe
artkorotkikh-dfinity b105205
Merge branch 'feat/tips-1-backend' of https://github.com/dfinity/oisy…
artkorotkikh-dfinity cb9f3e2
Merge branch 'refactor/tiered-rate-limiter' into feat/tips-1-backend
artkorotkikh-dfinity 1d8a2ea
refactor(backend): take the ICRC types from icrc-ledger-types
artkorotkikh-dfinity b13f296
test(backend): stop the ledger helper re-declaring the ICRC types too
artkorotkikh-dfinity d782d3e
🤖 Apply formatting changes
github-actions[bot] b8bb670
Merge branch 'main' into feat/tips-1-backend
artkorotkikh-dfinity 090bd5e
chore(backend): drop the inline Cargo.toml note on icrc-ledger-types
artkorotkikh-dfinity 5769753
docs(backend): split the bucket-claim note by how the store is held
artkorotkikh-dfinity 2097935
Merge branch 'main' into feat/tips-1-backend
artkorotkikh-dfinity eca8877
🤖 Apply bindings changes
github-actions[bot] ca378b9
Merge branch 'main' into feat/tips-1-backend
artkorotkikh-dfinity d4a9e3c
Merge branch 'main' into feat/tips-1-backend
artkorotkikh-dfinity 5c9ecdc
Merge branch 'main' into feat/tips-1-backend
AntonioVentilii 453623c
Merge branch 'main' into feat/tips-1-backend
AntonioVentilii 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
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 |
|---|---|---|
|
|
@@ -71,3 +71,4 @@ coverage/ | |
| tmp | ||
| .qodo | ||
| /cycles-ledger.wasm.gz | ||
| /icrc1-ledger.wasm.gz | ||
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
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.
Uh oh!
There was an error while loading. Please reload this page.