Skip to content

Migration v3.1 cleaning#765

Merged
lemunozm merged 5 commits intomainfrom
migration-v3.1-cleaning
Feb 5, 2026
Merged

Migration v3.1 cleaning#765
lemunozm merged 5 commits intomainfrom
migration-v3.1-cleaning

Conversation

@lemunozm
Copy link
Contributor

@lemunozm lemunozm commented Feb 4, 2026

Product requirements

  • Remove main fails/content related to v3.1 migration
  • Remove the possibility of deploying using an existing Root. This is important to remove, because it was core specific for the migration v3.1. If we do some error deploying using ROOT envvar, we will deploy unaccessible contracts, forcing us to redeploy with a different create3 for that address.

From this, I have some ideas to generalize the validation system to support any kind of spell/migration in a generic way (WIP). By now, we can remove these no longer used files.

@lemunozm lemunozm self-assigned this Feb 4, 2026
@lemunozm lemunozm force-pushed the migration-v3.1-cleaning branch from 7f3d869 to 367dd62 Compare February 4, 2026 17:02
@lemunozm lemunozm enabled auto-merge (squash) February 5, 2026 16:31
import {PoolId} from "../../src/core/types/PoolId.sol";
import {AssetId} from "../../src/core/types/AssetId.sol";

import {Root} from "../../src/admin/Root.sol";
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the reason for keeping this file around despite removing the other ones?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good question! I thought it could be interesting to still have some mechanism to fetch from the indexer, but it's true the current one is tied to the migration. Would be really cool to tell claude to have a whole graphQL parser of the current state 🤔

By now probably we can probably remove, yes. I'll do in a follow-up PR!

@lemunozm lemunozm merged commit c775363 into main Feb 5, 2026
11 of 12 checks passed
@lemunozm lemunozm deleted the migration-v3.1-cleaning branch February 5, 2026 17:17
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