-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix: simulations for cosmos modules #7
fix: simulations for cosmos modules #7
Commits on Jun 29, 2023
-
apply re-delegation slashing penalty coverage
penalty from src validator happened during re-delegation period must be covered by unpairing insurance.
Configuration menu - View commit details
-
Copy full SHA for bdb13ec - Browse repository at this point
Copy the full SHA bdb13ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for c495eb3 - Browse repository at this point
Copy the full SHA c495eb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a4923b - Browse repository at this point
Copy the full SHA 5a4923bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 880d5f0 - Browse repository at this point
Copy the full SHA 880d5f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0278297 - Browse repository at this point
Copy the full SHA 0278297View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e166b8 - Browse repository at this point
Copy the full SHA 5e166b8View commit details
Commits on Jun 30, 2023
-
refactor core logics make it more secure
* remove possibility of out of index error by using map and re-create slices * not allow re-delegation if src validator is in unbonding period * not track re-delegation info if src validator is unbonded because it completes re-delegation immediately * refactored tombstone related code - remove redundancy * fix some minor logics in testing codes
Configuration menu - View commit details
-
Copy full SHA for 090dd4c - Browse repository at this point
Copy the full SHA 090dd4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48db323 - Browse repository at this point
Copy the full SHA 48db323View commit details
Commits on Jul 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9dcae46 - Browse repository at this point
Copy the full SHA 9dcae46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c1ec6a - Browse repository at this point
Copy the full SHA 7c1ec6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a69535 - Browse repository at this point
Copy the full SHA 3a69535View commit details
Commits on Jul 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f64c25d - Browse repository at this point
Copy the full SHA f64c25dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3feabbf - Browse repository at this point
Copy the full SHA 3feabbfView commit details
Commits on Jul 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a92bdf4 - Browse repository at this point
Copy the full SHA a92bdf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27a468a - Browse repository at this point
Copy the full SHA 27a468aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b247e2 - Browse repository at this point
Copy the full SHA 0b247e2View commit details
Commits on Jul 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a57ebf7 - Browse repository at this point
Copy the full SHA a57ebf7View commit details
Commits on Jul 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ba566b4 - Browse repository at this point
Copy the full SHA ba566b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87eab38 - Browse repository at this point
Copy the full SHA 87eab38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41efc93 - Browse repository at this point
Copy the full SHA 41efc93View commit details
Commits on Jul 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2136584 - Browse repository at this point
Copy the full SHA 2136584View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25f026f - Browse repository at this point
Copy the full SHA 25f026fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb51c6c - Browse repository at this point
Copy the full SHA cb51c6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for acf4a98 - Browse repository at this point
Copy the full SHA acf4a98View commit details
Commits on Jul 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6cce4d4 - Browse repository at this point
Copy the full SHA 6cce4d4View commit details
Commits on Jul 10, 2023
-
refactor and add security checks for CollectRewardAndFee
* coins must not contain any empty elements. so append it dynamically, not using fixed length of slice. * only add positive amt * check every coins are valid before sending it * finally check inputs and outputs (should not trigger any error)
Configuration menu - View commit details
-
Copy full SHA for 381e512 - Browse repository at this point
Copy the full SHA 381e512View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59b5b7e - Browse repository at this point
Copy the full SHA 59b5b7eView commit details -
refactor: add safety check and use SendCoins
* add validity check before sending coins * the destination(=output) is just a reward pool so we don't need to use InputOutputCoins. SendCoins will be ok.
Configuration menu - View commit details
-
Copy full SHA for 35110c8 - Browse repository at this point
Copy the full SHA 35110c8View commit details -
add sanity checks before sending coins
* snedAmt must be positive * refundCoins must be valid * lsTokensToBurn must be valid to burn it * sendCoins must be valid to send it to undelegator
Configuration menu - View commit details
-
Copy full SHA for b15f776 - Browse repository at this point
Copy the full SHA b15f776View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6692128 - Browse repository at this point
Copy the full SHA 6692128View commit details -
add sanity check for making out insurances
even if insurance is paired, if it have invalid validator it must be out. when creating candidates, we don't have to panic. just don't including it will be enough.
Configuration menu - View commit details
-
Copy full SHA for 76930c0 - Browse repository at this point
Copy the full SHA 76930c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f4aebc - Browse repository at this point
Copy the full SHA 1f4aebcView commit details
Commits on Jul 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 083e95e - Browse repository at this point
Copy the full SHA 083e95eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 784cba7 - Browse repository at this point
Copy the full SHA 784cba7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1a9017 - Browse repository at this point
Copy the full SHA b1a9017View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94d790f - Browse repository at this point
Copy the full SHA 94d790fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4b1067 - Browse repository at this point
Copy the full SHA d4b1067View commit details -
Configuration menu - View commit details
-
Copy full SHA for 181b6bb - Browse repository at this point
Copy the full SHA 181b6bbView commit details -
if insurance can cover penalty, unstaker will get penalty amt of tokens . if not, reward module account get penalty amt of tokens. in this case, unstaker will get refunded ls tokens instead.
Configuration menu - View commit details
-
Copy full SHA for d0e72be - Browse repository at this point
Copy the full SHA d0e72beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ac3db1 - Browse repository at this point
Copy the full SHA 6ac3db1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d758010 - Browse repository at this point
Copy the full SHA d758010View commit details
Commits on Jul 12, 2023
-
remove encoding and update chain id
remove wrong encoding and use valid one chain id must be foramtted as to pass validation of ethermint.
Configuration menu - View commit details
-
Copy full SHA for a456658 - Browse repository at this point
Copy the full SHA a456658View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0b93a5 - Browse repository at this point
Copy the full SHA f0b93a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e78ceb7 - Browse repository at this point
Copy the full SHA e78ceb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for aaa9078 - Browse repository at this point
Copy the full SHA aaa9078View commit details -
Configuration menu - View commit details
-
Copy full SHA for f875f48 - Browse repository at this point
Copy the full SHA f875f48View commit details
Commits on Jul 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 57c521d - Browse repository at this point
Copy the full SHA 57c521dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d03e66 - Browse repository at this point
Copy the full SHA 3d03e66View commit details -
Configuration menu - View commit details
-
Copy full SHA for d64ebb5 - Browse repository at this point
Copy the full SHA d64ebb5View commit details -
remove validateUnbondAmount and add sanity check
maybe delegation share's token value is higher than chunk size. In that case, just follow zero penalty flow.
Configuration menu - View commit details
-
Copy full SHA for ec809af - Browse repository at this point
Copy the full SHA ec809afView commit details -
we just return chunk un-delegated chunk balance to un-delegator
Configuration menu - View commit details
-
Copy full SHA for 5ddeab8 - Browse repository at this point
Copy the full SHA 5ddeab8View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbd8a08 - Browse repository at this point
Copy the full SHA bbd8a08View commit details -
cover edge case for covering re-delegation penalty
covered edge case where re-delegation penalty is bigger than un-pairing insurance's balance
Configuration menu - View commit details
-
Copy full SHA for 674aab2 - Browse repository at this point
Copy the full SHA 674aab2View commit details
Commits on Jul 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5d3968a - Browse repository at this point
Copy the full SHA 5d3968aView commit details -
* simplified variable names * diet code lines * make a function for common logic
Configuration menu - View commit details
-
Copy full SHA for 999d13f - Browse repository at this point
Copy the full SHA 999d13fView commit details -
add safe step for withdraw reqs
and fix endblocker sequences in app.go which operates during EnableAdvanaceEpoch is on
Configuration menu - View commit details
-
Copy full SHA for d757d1a - Browse repository at this point
Copy the full SHA d757d1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 687cda7 - Browse repository at this point
Copy the full SHA 687cda7View commit details
Commits on Jul 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fc7a5e3 - Browse repository at this point
Copy the full SHA fc7a5e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e7d55f - Browse repository at this point
Copy the full SHA 3e7d55fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4549891 - Browse repository at this point
Copy the full SHA 4549891View commit details
Commits on Jul 18, 2023
-
update complete insurance duty logic
if valid insurance is finished its duty, then it can be Pairing insurance again.
Configuration menu - View commit details
-
Copy full SHA for 5aaf387 - Browse repository at this point
Copy the full SHA 5aaf387View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfdce1e - Browse repository at this point
Copy the full SHA bfdce1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 469c61d - Browse repository at this point
Copy the full SHA 469c61dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 389fd43 - Browse repository at this point
Copy the full SHA 389fd43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41b466e - Browse repository at this point
Copy the full SHA 41b466eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 537f217 - Browse repository at this point
Copy the full SHA 537f217View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0eb1a71 - Browse repository at this point
Copy the full SHA 0eb1a71View commit details
Commits on Jul 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b02af61 - Browse repository at this point
Copy the full SHA b02af61View commit details -
fix import cycle and add tc for GetAllRePairableChunksAndOutInsurances
updated invariance too. hard to guarantee unstkaing amt always be gte than chunk size tokens
Configuration menu - View commit details
-
Copy full SHA for 8cd078b - Browse repository at this point
Copy the full SHA 8cd078bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd01857 - Browse repository at this point
Copy the full SHA bd01857View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20ae20e - Browse repository at this point
Copy the full SHA 20ae20eView commit details
Commits on Jul 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6961967 - Browse repository at this point
Copy the full SHA 6961967View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed2aea9 - Browse repository at this point
Copy the full SHA ed2aea9View commit details -
Merge branch 'liquidstaking-module' into liquidstaking-module-add-sim…
…ulation # Conflicts: # app/app.go # app/sim_test.go # app/state.go # x/liquidstaking/keeper/liquidstaking.go # x/liquidstaking/keeper/liquidstaking_test.go
Configuration menu - View commit details
-
Copy full SHA for 38f3695 - Browse repository at this point
Copy the full SHA 38f3695View commit details