-
Notifications
You must be signed in to change notification settings - Fork 25
External stacking locks #57
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 all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
f2f9fec
Update to latest sylvia v0.5.0
maurolacy 16806f2
Update lock file
maurolacy f903fa8
Fix: Add missing import
maurolacy 2abbff2
Transactional remote staking first impl
maurolacy 4dce85f
Locking approach (serialized txs) for staking
maurolacy 762bd3a
Locking approach (serialized txs) for staking
maurolacy fdf33c9
Add tx id to cross staking api / msg
maurolacy 8dcc0ce
Fix: remove double unlock write
maurolacy cf34bca
Unify local and remote stake
maurolacy 338629e
Lock user info as well
maurolacy 6ea02a5
Add commit / rollback tx to vault api
maurolacy e5a24e0
Commit / rollback tx harnessing
maurolacy 761876a
Add commit / rollback vault api helpers
maurolacy 2ead451
Fix: unlock user on commit
maurolacy 5c418bf
Fix: proper lien user in commit / rollback
maurolacy 72e2159
Transactional cross stake tests work (1st take)
maurolacy 40f6005
Fix syntax / details
maurolacy 6185e56
Fix clippy warning
maurolacy effac89
Fix: receive virtual stake msg proper
maurolacy 384c12b
Fix staking test
maurolacy 7fcda86
Add all pending txs query
maurolacy 2b43371
Use pending txs query to get tx id
maurolacy a7c28ad
Report pending txs in descending order (newest first)
maurolacy 4ef5fdb
Fix: range limits
maurolacy 6f7eb40
Fix unstaking test
maurolacy e0bf55e
Fix distribution test
maurolacy 8150e89
Fix clippy warnings
maurolacy c2b18f8
Manual commit_tx call for staking tests
maurolacy a6be2e9
Add staking txs / locks test
maurolacy 223551e
Add query vault balance check
maurolacy ab37898
Fix: error filtering
maurolacy 17fcf86
Add all accounts checks with locked items
maurolacy a2a21b3
Fix: user unlocking in rollback tx
maurolacy bece088
Add rollback tx test
maurolacy 8860a9e
Fix: skip write locked accounts
maurolacy fec475a
Idiomatic filter / maps
maurolacy a58f7c1
Add pending tx query
maurolacy 856b74f
Move Tx to sync package
maurolacy f92fb83
Adapt vault to new Tx format
maurolacy 7d8b268
Adapt vault tests to new Tx format
maurolacy 8fd2445
Adapt external-staking tests to new Tx format
maurolacy 5ca9e4a
Add FIXME
maurolacy a0d54cf
Refactor max lien recalculation
maurolacy 12fb25d
write access lien directly
maurolacy d8c98f4
Refactor / rename pending txs query for clarity
maurolacy b0c52d2
Fix clippy warnings
maurolacy 4fcc337
Fix: pending txs renaming
maurolacy 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
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
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.
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.