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(contract): remove fake transport and provider traits #1996

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

yash-atreya
Copy link
Member

@yash-atreya yash-atreya commented Feb 3, 2025

Motivation

Since #1859, we have been using these

// This is done so that the compiler can infer the `T` type to be `()`, which is the only type
fake transport and provider traits to avoid breaking changes to the sol!.

This PR bumps core and removes the reliance on these fake traits and generics.

Solution

  • Remove re-export of fake Transport and Provider traits from alloy_contract
  • Remove T generic from CallBuilder and Event

Note:
This should be merged after alloy-rs/core#865.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@mattsse mattsse added the blocked This cannot move forward until something else changes label Feb 3, 2025
@yash-atreya yash-atreya marked this pull request as ready for review February 3, 2025 19:20
@yash-atreya yash-atreya added this to the v1.0 milestone Feb 28, 2025
@yash-atreya yash-atreya added enhancement New feature or request breaking Breaking changes have been made c-contract P-high High Priority labels Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This cannot move forward until something else changes breaking Breaking changes have been made c-contract enhancement New feature or request P-high High Priority
Projects
Status: Blocked
Development

Successfully merging this pull request may close these issues.

4 participants