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: Quality of Life Improvements #1006

Open
wants to merge 36 commits into
base: dev
Choose a base branch
from
Open

refactor: Quality of Life Improvements #1006

wants to merge 36 commits into from

Conversation

0xClandestine
Copy link
Member

@0xClandestine 0xClandestine commented Jan 9, 2025

Motivation:

This change consolidates our development infrastructure to make it more maintainable. Currently, we have:

  • Multiple overlapping GitHub workflows, making CI/CD harder to maintain.
  • Several outdated testing tools and scripts.
  • No standardized PR template.

Modifications:

  1. CI/CD Changes:

    • Consolidated GitHub workflows into three main files:
      • certora.yml for formal verification (commented out until certora finishes specs).
      • checks.yml for linting and bindings.
      • foundry.yml for testing (unit, integration, forked integration, storage, coverage).
  2. Project Structure:

    • Moved scripts to the bin/ directory.
    • Relocated CONTRIBUTING.md to .github/.
    • Added a PR template.
    • Removed unnecessary dotfiles.
  3. Testing:

    • Added DeployFromScratch.t.sol.
    • Removed unused test helpers.
    • Updated test configurations in foundry.toml.

Result:

These changes will:

  • Simplify CI pipeline maintenance.
  • Clarify the PR process with templates.
  • Remove unused code.
  • Update dependency paths.
  • Improve project organization.

@0xClandestine 0xClandestine changed the base branch from slashing-magnitudes to slashing-magnitudes-fixes January 14, 2025 19:26
@0xClandestine 0xClandestine changed the base branch from slashing-magnitudes-fixes to dev January 29, 2025 22:58
refactor: remove gas report

fix: gas report

fix: gas report

refactor: continuous fuzzing

refactor: cleanup

feat: gas reporting

feat: intense continuous fuzzing

refactor: rename workflow files

refactor: renaming

refactor: ci

refactor: renaming

refactor: ci

feat: add `FOUNDRY_PROFILE=lite` to ci

refactor: small `foundry.toml` cleanup

refactor: renaming

fix: continuous fuzzing
Comment on lines +1 to +28
{
"contracts": [
{
"name": "AVSDirectory",
"address": "0x135dda560e946695d6f155dacafc6f1f25c1f5af"
},
{
"name": "DelegationManager",
"address": "0x39053D51B77DC0d36036Fc1fCc8Cb819df8Ef37A"
},
{
"name": "RewardsCoordinator",
"address": "0x7750d328b314EfFa365A0402CcfD489B80B0adda"
},
{
"name": "StrategyManager",
"address": "0x858646372CC42E1A627fcE94aa7A7033e7CF075A"
},
{
"name": "StrategyFactory",
"address": "0x5e4C39Ad7A3E881585e383dB9827EB4811f6F647"
},
{
"name": "EigenPodManager",
"address": "0x91E677b07F7AF907ec9a428aafA9fc14a0d3A338"
}
]
}
Copy link
Member Author

Choose a reason for hiding this comment

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

This json defines the contracts used to generate a mainnet storage diff in the Forge / Test (Storage) workflow.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's add the following:

  • EigenPod - 0xd4018Ce9A041a9c110A9d0383d2b5E1c66Ae1513 (pod that is used today)
  • stETH Strategy (on GH)
  • EigenStrategy (on GH)
  • A Permissionless Strat (let's use wBTC)

@0xClandestine
Copy link
Member Author

0xClandestine commented Jan 30, 2025

Working towards better handing in the Forge / Test (Storage) workflow...

NOTE: CI fuzz runs is currently set to 1 in foundry.toml for CI testing purposes.

NOTE: Commenting out certora workflow until they finish slashing specs.

Copy link
Collaborator

@ypatil12 ypatil12 left a comment

Choose a reason for hiding this comment

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

First pass, going to hold off on approving till the Fuzz runs are updated

.github/workflows/foundry.yml Show resolved Hide resolved
.github/workflows/foundry.yml Show resolved Hide resolved
@0xClandestine 0xClandestine changed the title refactor: ci refactor: Quality of Life Improvements Jan 30, 2025
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.

2 participants