Skip to content

chore: add LP mint calculation for stableswap pools

Codecov / codecov/patch failed Dec 12, 2024 in 1s

22.50% of diff hit (target 93.21%)

View this Pull Request on Codecov

22.50% of diff hit (target 93.21%)

Annotations

Check warning on line 203 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L202-L203

Added lines #L202 - L203 were not covered by tests

Check warning on line 206 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L206

Added line #L206 was not covered by tests

Check warning on line 208 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L208

Added line #L208 was not covered by tests

Check warning on line 214 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L211-L214

Added lines #L211 - L214 were not covered by tests

Check warning on line 220 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L219-L220

Added lines #L219 - L220 were not covered by tests

Check warning on line 225 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L225

Added line #L225 was not covered by tests

Check warning on line 232 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L229-L232

Added lines #L229 - L232 were not covered by tests

Check warning on line 242 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L242

Added line #L242 was not covered by tests

Check warning on line 247 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L247

Added line #L247 was not covered by tests

Check warning on line 117 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L116-L117

Added lines #L116 - L117 were not covered by tests

Check warning on line 120 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L120

Added line #L120 was not covered by tests

Check warning on line 123 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L122-L123

Added lines #L122 - L123 were not covered by tests

Check warning on line 126 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L125-L126

Added lines #L125 - L126 were not covered by tests

Check warning on line 134 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L130-L134

Added lines #L130 - L134 were not covered by tests

Check warning on line 136 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L136

Added line #L136 was not covered by tests

Check warning on line 139 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L138-L139

Added lines #L138 - L139 were not covered by tests

Check warning on line 141 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L141

Added line #L141 was not covered by tests

Check warning on line 144 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L143-L144

Added lines #L143 - L144 were not covered by tests

Check warning on line 147 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L146-L147

Added lines #L146 - L147 were not covered by tests

Check warning on line 150 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L150

Added line #L150 was not covered by tests

Check warning on line 155 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L155

Added line #L155 was not covered by tests

Check warning on line 160 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L160

Added line #L160 was not covered by tests

Check warning on line 168 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L167-L168

Added lines #L167 - L168 were not covered by tests

Check warning on line 170 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L170

Added line #L170 was not covered by tests

Check warning on line 173 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L172-L173

Added lines #L172 - L173 were not covered by tests