V11 Manual Test Remove Superfluid Asset #2499
czarcas7ic
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Create Pool
osmosisd tx gamm create-pool --from test2 --pool-file pool.json -b block --chain-id localosmosis
Add superfluid asset
osmosisd tx gov submit-proposal set-superfluid-assets-proposal --from test2 --superfluid-assets gamm/pool/1 -b block --deposit 125000000uosmo --title "add sf asset" --description "add gamm/pool/1 sf" --chain-id localosmosis
osmosisd tx gov vote 2 yes --from val --yes -b block --chain-id localosmosis
osmosisd q gov proposal 2
Check balances
SF stake to validator
osmovaloper1phaxpevm5wecex2jyaqty2a4v02qj7qm9v24r6
osmosisd tx lockup lock-tokens 100000000000000000000gamm/pool/1 --from test2 --duration 240s -b block --chain-id localosmosis
osmosisd tx superfluid lock-and-superfluid-delegate 100000000000000000000gamm/pool/1 osmovaloper1phaxpevm5wecex2jyaqty2a4v02qj7qm9v24r6 --from test2 -b block --yes --chain-id localosmosis
Show asset multiplier
osmosisd q superfluid asset-multiplier gamm/pool/1
Remove sf asset
osmosisd tx gov submit-proposal remove-superfluid-assets-proposal --from test2 --superfluid-assets gamm/pool/1 -b block --deposit 100000000uosmo --title "remove sf asset" --description "remove gamm/pool/1 sf" --chain-id localosmosis
osmosisd tx gov vote 3 yes --from val --yes -b block --chain-id localosmosis
Check asset multiplier went to 0
Current epoch 27
Wait a few epochs to ensure multiplier stays at 0
Now epoch 29
Try and superfluid undelegate that was previously delegated
osmosisd tx superfluid undelegate 1 --from test2 -b block --yes --chain-id localosmosis
osmosisd tx superfluid unbond-lock 1 --from test2 -b block --yes --chain-id localosmosis
Wait for unbonding
Confirmed that:
Beta Was this translation helpful? Give feedback.
All reactions