Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikeghen/add-remove-tricrypto
POC of an issue with forge testing removing TricryptoUSDC LP tokens
https://github.com/mikeghen/add-remove-tricrypto
Last synced: about 8 hours ago
JSON representation
POC of an issue with forge testing removing TricryptoUSDC LP tokens
- Host: GitHub
- URL: https://github.com/mikeghen/add-remove-tricrypto
- Owner: mikeghen
- Created: 2023-10-05T20:48:39.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-06T13:57:16.000Z (about 1 year ago)
- Last Synced: 2024-05-16T04:17:45.826Z (6 months ago)
- Language: Solidity
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Add Remove Liquidity from TricryptoUSDC Curve Pool
This repo tests adding and removing liquidity from the TricryptoUSDC Curve pool. There's an failure on the removal of liquidity.The call to `remove_liquidity_one_coin` does no state changes and does not revert. Passing in arguments that should fail also does not fail.
There are two tests that both fail. In each case, `remove_liquidity_one_coin` is called and nothing happens. This shows up as:
```
├─ [1849] 0x7F86Bf177Dd4F3494b841a37e810A34dD56c829B::remove_liquidity_one_coin(466388307333452426013 [4.663e20], 0, 0)
│ └─ ← ()
```
In the tests. Regardless of the arguments, the call does not fail.### Test
```shell
$ forge test --fork-url --etherscan-api-key
```