Skip to content

feat: Web3.py v6 to v7 Migration (Boring AI Hackathon)#29

Closed
Rohan5commit wants to merge 7 commits intocodemod:mainfrom
Rohan5commit:web3py-v7-migration
Closed

feat: Web3.py v6 to v7 Migration (Boring AI Hackathon)#29
Rohan5commit wants to merge 7 commits intocodemod:mainfrom
Rohan5commit:web3py-v7-migration

Conversation

@Rohan5commit
Copy link
Copy Markdown

Boring AI Hackathon Submission: L-Tier

Submitting an L-Tier codemod for the Web3.py v6 to v7 migration.

This migration requires deep architectural changes (migrating from functional middleware to class-based Web3Middleware) that breaks hundreds of projects.

Features:

  • Deterministic handling of 15+ breaking API changes (WebsocketProviderV2, .ws -> .socket, Exceptions, AttributeDict) to ensure Zero False Positives.
  • Generative AI (NVIDIA NIM Llama 3 70B) securely sandboxed only to translating functional middleware AST nodes.
  • Explicit warnings for deprecated modules without blindly deleting code to preserve build safety.

This matches the ~2 week effort (L-Tier) complexity scope.

@kouroshko
Copy link
Copy Markdown

Thank you for participating in the hackathon. Please create a dedicated public repo in your personal GitHub account and put the codemod over there. (Feel free to draw inspiration from this repo on folder structure and best practices and GitHub actions for automating the publishing experience with changeset)
Thank you.

@kouroshko kouroshko closed this May 1, 2026
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