feat(perp): Make the collateral denom a stateful collections.Item #1656
51.36% of diff hit (target 74.19%)
View this Pull Request on Codecov
51.36% of diff hit (target 74.19%)
Annotations
Check warning on line 33 in x/common/address.go
codecov / codecov/patch
x/common/address.go#L33
Added line #L33 was not covered by tests
Check warning on line 14 in x/common/constants.go
codecov / codecov/patch
x/common/constants.go#L13-L14
Added lines #L13 - L14 were not covered by tests
Check warning on line 188 in x/common/error.go
codecov / codecov/patch
x/common/error.go#L187-L188
Added lines #L187 - L188 were not covered by tests
Check warning on line 41 in x/perp/v2/keeper/admin.go
codecov / codecov/patch
x/perp/v2/keeper/admin.go#L40-L41
Added lines #L40 - L41 were not covered by tests
Check warning on line 85 in x/perp/v2/keeper/amm.go
codecov / codecov/patch
x/perp/v2/keeper/amm.go#L84-L85
Added lines #L84 - L85 were not covered by tests
Check warning on line 546 in x/perp/v2/keeper/clearing_house.go
codecov / codecov/patch
x/perp/v2/keeper/clearing_house.go#L545-L546
Added lines #L545 - L546 were not covered by tests
Check warning on line 647 in x/perp/v2/keeper/clearing_house.go
codecov / codecov/patch
x/perp/v2/keeper/clearing_house.go#L646-L647
Added lines #L646 - L647 were not covered by tests
Check warning on line 297 in x/perp/v2/keeper/liquidate.go
codecov / codecov/patch
x/perp/v2/keeper/liquidate.go#L296-L297
Added lines #L296 - L297 were not covered by tests
Check warning on line 379 in x/perp/v2/keeper/liquidate.go
codecov / codecov/patch
x/perp/v2/keeper/liquidate.go#L378-L379
Added lines #L378 - L379 were not covered by tests
Check warning on line 30 in x/perp/v2/keeper/margin.go
codecov / codecov/patch
x/perp/v2/keeper/margin.go#L29-L30
Added lines #L29 - L30 were not covered by tests
Check warning on line 124 in x/perp/v2/keeper/margin.go
codecov / codecov/patch
x/perp/v2/keeper/margin.go#L123-L124
Added lines #L123 - L124 were not covered by tests
Check warning on line 153 in x/perp/v2/keeper/msg_server.go
codecov / codecov/patch
x/perp/v2/keeper/msg_server.go#L147-L153
Added lines #L147 - L153 were not covered by tests
Check warning on line 158 in x/perp/v2/keeper/msg_server.go
codecov / codecov/patch
x/perp/v2/keeper/msg_server.go#L155-L158
Added lines #L155 - L158 were not covered by tests
Check warning on line 46 in x/perp/v2/keeper/withdraw.go
codecov / codecov/patch
x/perp/v2/keeper/withdraw.go#L45-L46
Added lines #L45 - L46 were not covered by tests
Check warning on line 125 in x/perp/v2/keeper/withdraw.go
codecov / codecov/patch
x/perp/v2/keeper/withdraw.go#L124-L125
Added lines #L124 - L125 were not covered by tests
Check warning on line 77 in x/perp/v2/module/genesis.go
codecov / codecov/patch
x/perp/v2/module/genesis.go#L77
Added line #L77 was not covered by tests
Check warning on line 147 in x/perp/v2/module/genesis.go
codecov / codecov/patch
x/perp/v2/module/genesis.go#L147
Added line #L147 was not covered by tests
Check warning on line 281 in x/perp/v2/types/msgs.go
codecov / codecov/patch
x/perp/v2/types/msgs.go#L280-L281
Added lines #L280 - L281 were not covered by tests
Check warning on line 290 in x/perp/v2/types/msgs.go
codecov / codecov/patch
x/perp/v2/types/msgs.go#L283-L290
Added lines #L283 - L290 were not covered by tests
Check warning on line 294 in x/perp/v2/types/msgs.go
codecov / codecov/patch
x/perp/v2/types/msgs.go#L293-L294
Added lines #L293 - L294 were not covered by tests
Check warning on line 300 in x/perp/v2/types/msgs.go
codecov / codecov/patch
x/perp/v2/types/msgs.go#L297-L300
Added lines #L297 - L300 were not covered by tests
Check warning on line 302 in x/perp/v2/types/msgs.go
codecov / codecov/patch
x/perp/v2/types/msgs.go#L302
Added line #L302 was not covered by tests
Check warning on line 60 in x/tokenfactory/types/state.go
codecov / codecov/patch
x/tokenfactory/types/state.go#L59-L60
Added lines #L59 - L60 were not covered by tests