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

feat: base of vedelegation invariant tests #12

Merged
merged 8 commits into from
Dec 11, 2023
Merged

Conversation

0xtekgrinder
Copy link
Contributor

No description provided.

@GuillaumeNervoXS GuillaumeNervoXS marked this pull request as ready for review November 30, 2023 21:45
test/invariant/actors/BaseActor.t.sol Outdated Show resolved Hide resolved
test/invariant/actors/Delegator.t.sol Show resolved Hide resolved
test/invariant/actors/Delegator.t.sol Outdated Show resolved Hide resolved
test/invariant/actors/Delegator.t.sol Outdated Show resolved Hide resolved
test/invariant/actors/Delegator.t.sol Outdated Show resolved Hide resolved
}
}

function invariant_wow() public {
Copy link
Contributor

Choose a reason for hiding this comment

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

In this one you can also compare to what voting power there is in the veANGLE
Also totalSupply == sum all delegate (also the self delegation)

@0xtekgrinder 0xtekgrinder marked this pull request as draft November 30, 2023 21:46
@0xtekgrinder 0xtekgrinder marked this pull request as ready for review December 1, 2023 04:02
@0xtekgrinder 0xtekgrinder marked this pull request as draft December 1, 2023 04:02
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.

Thanks for integrating Codecov - We've got you covered ☂️

@0xtekgrinder 0xtekgrinder marked this pull request as ready for review December 11, 2023 15:56
@0xtekgrinder 0xtekgrinder merged commit f31c4e3 into main Dec 11, 2023
7 checks passed
@GuillaumeNervoXS GuillaumeNervoXS deleted the feat/invariant-tests branch December 11, 2023 16:00
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