Closed xlab closed 1 year ago
Resolves #118
Without changes to the code, the test TestICADelegateUndelegate should fail:
TestICADelegateUndelegate
=== RUN TestICADelegateUndelegate msg_server_test.go:972: Error Trace: ~/dev/liquidity-staking-module-master/x/staking/keeper/msg_server_test.go:972 Error: Received unexpected error: validator liquid shares underflow Test: TestICADelegateUndelegate Messages: no error expected when sequentially undelegating
Added the test here if you wanna borrow it!
@sampocs I borrowed it directly in this PR, so I guess it can be merged :)
Resolves #118
Without changes to the code, the test
TestICADelegateUndelegate
should fail: