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

F/value ranges #106

Merged
merged 23 commits into from
Aug 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
9ce79c9
Improve in passing: Use already defined var
maurolacy Aug 14, 2023
7b53587
Increase optimiser version
maurolacy Aug 14, 2023
c71a3e0
Use value range for liens
maurolacy Aug 14, 2023
fd3a05b
Adapt tests
maurolacy Aug 14, 2023
44f74a5
Use value range for user max lien and total slashable
maurolacy Aug 15, 2023
41a6ed4
Adapt tests
maurolacy Aug 15, 2023
93d4614
Proper / sound local vs cross stake value range impl
maurolacy Aug 17, 2023
9c61361
Use Valuerange::sub() convenience method for unstake
maurolacy Aug 17, 2023
7277511
Use value range for free collateral as well
maurolacy Aug 17, 2023
aed0f4a
Adapt tests
maurolacy Aug 17, 2023
7646b1d
Fix syntax / typos
maurolacy Aug 18, 2023
69c4ac2
feat: Switch to `ValueRange` in external-staking
jawoznia Aug 18, 2023
a002369
feat: Don't change stake on reward withdrawal
jawoznia Aug 22, 2023
c005f11
Update contracts/provider/external-staking/src/contract.rs
jawoznia Aug 22, 2023
a9e7b35
feat: Check if Tx is of proper type
jawoznia Aug 22, 2023
5f67d2b
Remove unused Lock error
maurolacy Aug 22, 2023
1215f32
Remove outdated FIXME
maurolacy Aug 22, 2023
309b8fd
Update contracts/provider/external-staking/src/multitest.rs
jawoznia Aug 22, 2023
0bebafd
feat: Switch to non lockable response
jawoznia Aug 22, 2023
70141fa
tests: Stake remains the same after reward withdrawal
jawoznia Aug 23, 2023
14a28b1
Merge pull request #108 from osmosis-labs/f/value-ranges-external-sta…
jawoznia Aug 23, 2023
95c516a
Refactor local vs remote stake for clarity
maurolacy Aug 23, 2023
b4e14a8
Improve comment
maurolacy Aug 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
9 changes: 5 additions & 4 deletions Cargo.lock

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

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ mesh-converter = { path = "./contracts/consumer/converter" }
mesh-simple-price-feed = { path = "./contracts/consumer/simple-price-feed" }
mesh-virtual-staking = { path = "./contracts/consumer/virtual-staking" }

sylvia = "0.6.0"
sylvia = "0.7.1"
cosmwasm-schema = "1.2"
cosmwasm-std = { version = "1.2", features = ["ibc3", "cosmwasm_1_2"] }
cosmwasm-storage = "1.2"
Expand Down Expand Up @@ -55,4 +55,3 @@ overflow-checks = true
[profile.release.package.mesh-vault]
codegen-units = 1
incremental = false

Loading
Loading