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

feat(perp): Make the collateral denom a stateful collections.Item #1656

Merged
merged 25 commits into from
Nov 15, 2023

refactor: linter

32aacfd
Select commit
Loading
Failed to load commit list.
Merged

feat(perp): Make the collateral denom a stateful collections.Item #1656

refactor: linter
32aacfd
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Codecov / codecov/patch failed Nov 15, 2023 in 1s

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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/tokenfactory/types/state.go#L59-L60

Added lines #L59 - L60 were not covered by tests