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

Refactor validatePools: add more CLM validation #2467

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ReflectiveChimp
Copy link
Collaborator

scripts/validatePools.ts - almost everything can be configured from the options object
scripts/validate/vault/validators.ts - list of validate functions vaultValidators run for each vault type
scripts/validate/vault/data.ts - how on chain data is fetched for each vault type

boost + platform config validation unchanged

new validations

CLM

validates platformId is beefy
validates strategyTypeId is correct based on tokenProviderId

CLM Pool/Vault

validates platformId, tokenProviderId and strategyTypeId match base CLM

cli options

--verbose to see output of each test for each vault [default: false]
--no-color disable coloring of output [default: false, color enabled if supported]

output

image

Copy link

netlify bot commented Nov 10, 2024

Deploy Preview for thunderous-cow-9b0405 ready!

Name Link
🔨 Latest commit f33e125
🔍 Latest deploy log https://app.netlify.com/sites/thunderous-cow-9b0405/deploys/6730e3e815ec330008105f77
😎 Deploy Preview https://deploy-preview-2467--thunderous-cow-9b0405.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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.

1 participant