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

External staking locks 2 #60

Merged
merged 27 commits into from
Jun 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ad73f09
Lockable stake
maurolacy Jun 19, 2023
9590278
Lockable distribution
maurolacy Jun 19, 2023
0816681
Add Tx storing / queries
maurolacy Jun 20, 2023
4df5227
Add commit stake method
maurolacy Jun 20, 2023
8daf7c7
Add rollback stake handler
maurolacy Jun 20, 2023
d8db056
Add unstake commit method
maurolacy Jun 20, 2023
05fde41
Add rollback unstake handler
maurolacy Jun 20, 2023
6a8065d
Add unstaking tx
maurolacy Jun 20, 2023
a5ca9d2
Add TODOs for reference
maurolacy Jun 20, 2023
d30a99b
Remote staking / unstaking Txs into sync package
maurolacy Jun 21, 2023
3acfc52
Adapt external-staking to new Tx format
maurolacy Jun 21, 2023
de71627
Add extra match arms
maurolacy Jun 21, 2023
055ec3f
Fix comments indent
maurolacy Jun 21, 2023
7e27272
Add match arms in mt
maurolacy Jun 21, 2023
a0f1cb6
Fix clippy warnings
maurolacy Jun 22, 2023
e723eef
cargo fmt
maurolacy Jun 22, 2023
4d222d3
Fix / adapt vault mts
maurolacy Jun 22, 2023
8669e96
Rename for consistency
maurolacy Jun 22, 2023
bf06586
Temporarily enable commit stake / unstake entry points (for tests)
maurolacy Jun 22, 2023
fbc377d
Fix / adapt existing tests
maurolacy Jun 22, 2023
33c18d3
Better compile-time hiding of the test commit/rollback methods
ethanfrey Jun 23, 2023
426c594
Remove locking around distribution
ethanfrey Jun 23, 2023
34c0f99
Send IBC packets on stake/unstake
ethanfrey Jun 23, 2023
8c8a61c
Handle rollback on ibc timeout
ethanfrey Jun 23, 2023
c4c4071
Proper rollback support, calls vault, adjust tests
ethanfrey Jun 23, 2023
d623163
Implement ibc_packet_ack handling
ethanfrey Jun 23, 2023
cf328f5
Bump to v0.3.0-beta.1, remove old comments
ethanfrey Jun 23, 2023
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
22 changes: 11 additions & 11 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resolver = "2"

[workspace.package]
edition = "2021"
version = "0.3.0-alpha.1"
version = "0.3.0-beta.1"
license = "MIT"
repository = "https://github.com/osmosis-labs/mesh-security"

Expand Down
1 change: 1 addition & 0 deletions contracts/provider/external-staking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ mt = ["library", "sylvia/mt"]

[dependencies]
mesh-apis = { workspace = true }
mesh-sync = { workspace = true }

sylvia = { workspace = true }
cosmwasm-schema = { workspace = true }
Expand Down
Loading