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

Increase decay precision #454

Draft
wants to merge 5 commits into
base: dev
Choose a base branch
from
Draft

Increase decay precision #454

wants to merge 5 commits into from

Conversation

Corantin
Copy link
Contributor

@Corantin Corantin commented Oct 4, 2024

No description provided.

kafann and others added 3 commits October 3, 2024 20:29
Change precision for CVParams from 10 ** 7 to 10 ** 14 + fixed helpers accordingly + fixed tests and constants

# Conflicts:
#	pkg/contracts/out/Allo.sol/Allo.json
#	pkg/contracts/out/CVStrategyHelpers.sol/CVStrategyHelpers.json
#	pkg/contracts/out/CVStrategyV0_0.sol/CVStrategyV0_0.json
#	pkg/contracts/out/CVStrategyV0_0.sol/IPointStrategy.json
#	pkg/contracts/out/CVStrategyV0_1.sol/CVStrategyV0_1.json
#	pkg/contracts/out/ERC20.sol/ERC20.json
#	pkg/contracts/out/ERC20/IERC20.sol/IERC20.json
#	pkg/contracts/out/FAllo.sol/FAllo.json
#	pkg/contracts/out/GV2ERC20.sol/GV2ERC20.json
#	pkg/contracts/out/IAllo.sol/IAllo.json
#	pkg/contracts/out/IArbitrator.sol/IArbitrator.json
#	pkg/contracts/out/IERC20.sol/IERC20.json
#	pkg/contracts/out/IERC20Metadata.sol/IERC20Metadata.json
#	pkg/contracts/out/IERC20Permit.sol/IERC20Permit.json
#	pkg/contracts/out/IERC20Upgradeable.sol/IERC20Upgradeable.json
#	pkg/contracts/out/IRegistry.sol/IRegistry.json
#	pkg/contracts/out/IRegistryFactory.sol/IRegistryFactory.json
#	pkg/contracts/out/ISafe.sol/Enum.json
#	pkg/contracts/out/ISafe.sol/ISafe.json
#	pkg/contracts/out/ISafe.sol/SafeProxyFactory.json
#	pkg/contracts/out/MockERC20.sol/MockERC20.json
#	pkg/contracts/out/PassportScorer.sol/PassportScorer.json
#	pkg/contracts/out/Registry.sol/Registry.json
#	pkg/contracts/out/RegistryCommunityV0_0.sol/RegistryCommunityV0_0.json
#	pkg/contracts/out/RegistryCommunityV0_1.sol/RegistryCommunityV0_1.json
#	pkg/contracts/out/RegistryFactoryDiamond.sol/RegistryFactoryDiamond.json
#	pkg/contracts/out/RegistryFactoryFacet.sol/RegistryFactoryFacet.json
#	pkg/contracts/out/RegistryFactoryV0_0.sol/RegistryFactoryV0_0.json
#	pkg/contracts/out/RegistryFactoryV0_1.sol/RegistryFactoryV0_1.json
#	pkg/contracts/out/SafeArbitrator.sol/SafeArbitrator.json
#	pkg/contracts/out/SafeERC20.sol/SafeERC20.json
Copy link

vercel bot commented Oct 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gardens-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 5:25pm

@Corantin Corantin marked this pull request as draft October 4, 2024 00:59
Copy link

github-actions bot commented Oct 4, 2024

Gemini Code Review encountered an error. Here is the step log:


Copy link
Contributor

@Mati0x Mati0x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing by creating some pools and compare with spreadsheet.
I have one discrepancy in the decay

@Corantin Corantin marked this pull request as draft October 9, 2024 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants