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

feat: Provider insolvency #278

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
8dedeb5
slash extrinsic (tests + automatic top ups) and top_up extrinsic (unt…
snowmead Nov 12, 2024
2238f0b
slash extrinsic (tests + automatic top ups) and top_up extrinsic (unt…
snowmead Nov 12, 2024
5230f56
Merge branch 'main' into feat/slash-top-up
snowmead Nov 12, 2024
14d2873
fix test: assert event present SlashedAndAwaitingTopUp
snowmead Nov 12, 2024
3a02a15
Merge branch 'main' into feat/slash-top-up
snowmead Nov 13, 2024
20a3cd7
typegen
snowmead Nov 13, 2024
5fa2dc7
fix submit proof test
snowmead Nov 13, 2024
3435cbc
Merge branch 'main' into feat/slash-top-up
snowmead Nov 13, 2024
8a08314
refactor slashing events, fix test
snowmead Nov 14, 2024
cc7cd6a
Merge branch 'main' into feat/slash-top-up
snowmead Nov 14, 2024
a52334c
refactor do_slash
snowmead Nov 14, 2024
1ca232b
update docs, typegen
snowmead Nov 14, 2024
20e9d3b
do_slash overhauled
snowmead Nov 15, 2024
1dcb028
top up unit tests, use proper errors
snowmead Nov 18, 2024
f2a94d9
Merge branch 'main' into feat/slash-top-up
snowmead Nov 18, 2024
92e70a8
update do_slash to slash the held deposit only, update tests
snowmead Nov 19, 2024
2d8772b
amend docs
snowmead Nov 19, 2024
bec9069
Merge branch 'main' into feat/slash-top-up
snowmead Nov 19, 2024
2aee8d7
early return slash if the used_capacity is below the minimum capacity
snowmead Nov 19, 2024
da110b8
Merge branch 'main' into feat/slash-top-up
snowmead Nov 19, 2024
ebb991f
(wip) provider top up expiration item
snowmead Nov 20, 2024
1cdc3bd
Merge branch 'main' into feat/slash-top-up
snowmead Nov 20, 2024
8327e4d
Merge branch 'main' into feat/mark-provider-as-insolvent
snowmead Nov 20, 2024
f795227
amend review
snowmead Nov 21, 2024
d49aacc
Merge branch 'main' into feat/slash-top-up
snowmead Nov 21, 2024
5fa2d4e
Merge branch 'feat/slash-top-up' into feat/mark-provider-as-insolvent
snowmead Nov 22, 2024
0f19117
fix test
snowmead Nov 22, 2024
308cc45
revert: :rewind: Revert changes in `submit-proofs` integration test s…
ffarall Nov 22, 2024
a31f19e
fix: :white_check_mark: Consider scenario where next challenge block …
ffarall Nov 22, 2024
1173fd4
Merge branch 'feat/slash-top-up' into feat/mark-provider-as-insolvent
snowmead Nov 22, 2024
fcb0172
remove GracePeriodToSlashedProviders for ProviderTopUpExpirations, ma…
snowmead Nov 25, 2024
16d3632
handle insolvent providers in payment streams
snowmead Nov 29, 2024
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
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading