yieldprotocol / yieldspace-tv

Yield Protocol: Yieldspace AMM for fyTokens and tokenized vault tokens
Other
46 stars 4 forks source link

Just a script on package.json to facilitate testing #83

Open alcueca opened 1 year ago

alcueca commented 1 year ago

package.json is a more obvious place to look for than .github/workflows/pull-request.yml if you want to know how to run the tests.

alcueca commented 1 year ago

There is a failing test, which I don't think is related to this PR:

2023-02-23T15:37:08.3105748Z Failing tests:
2023-02-23T15:37:08.3105923Z Encountered 1 failing test in src/test/YieldMath.t.sol:YieldMathTest
2023-02-23T15:37:08.3106561Z [FAIL. Reason: YieldMath: > fyToken reserves Counterexample: calldata=0x13172fa400000000000000000000000000000000000000000000e8ef1e96ae3897800000, args=[1100000000000000000000000]] testFuzz_fyTokenInForSharesOut_farFromMaturity(uint128) (runs: 495, μ: 38468, ~: 38577)
Sabnock01 commented 1 year ago

There is a failing test, which I don't think is related to this PR:

2023-02-23T15:37:08.3105748Z Failing tests:
2023-02-23T15:37:08.3105923Z Encountered 1 failing test in src/test/YieldMath.t.sol:YieldMathTest
2023-02-23T15:37:08.3106561Z [FAIL. Reason: YieldMath: > fyToken reserves Counterexample: calldata=0x13172fa400000000000000000000000000000000000000000000e8ef1e96ae3897800000, args=[1100000000000000000000000]] testFuzz_fyTokenInForSharesOut_farFromMaturity(uint128) (runs: 495, μ: 38468, ~: 38577)

I've seen that one come up from time to time but not sure about it myself. Certainly not related to the PR.