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: extend Invoker visibility #262

Merged

Conversation

mrLSD
Copy link
Contributor

@mrLSD mrLSD commented Dec 13, 2023

Description

Currently evm::transact accepts any kind Invoker, as a most flexible solution:

pub fn transact<H, Tr, I>(
	args: I::TransactArgs,
	heap_depth: Option<usize>,
	backend: &mut H,
	invoker: &I,
) -> Result<I::TransactValue, ExitError>
where
	I: Invoker<H, Tr, Interrupt = Infallible>,
	I::Interpreter: RunInterpreter<H, Tr>,

➡️ This PR solves the visibility issue for types and dependencies to implement custom Invoker.

@sorpaas sorpaas merged commit 9fdc7fe into rust-ethereum:master Dec 13, 2023
3 checks passed
@mrLSD mrLSD deleted the feat/resolve-visibility branch December 13, 2023 18:10
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