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: make Pending transaction own the provider #1500

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Oct 16, 2024

RootProvider is an arc, this should just be cloned into the pendingtransactionbuilder

pub struct RootProvider<T, N: Network = Ethereum> {
/// The inner state of the root provider.
pub(crate) inner: Arc<RootProviderInner<T, N>>,
}

so we can send a this type across boundaries.

@mattsse mattsse merged commit 5b49e5b into main Oct 17, 2024
26 checks passed
@mattsse mattsse deleted the matt/rm-borrowed-rootprovider branch October 17, 2024 09:40
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