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

Feature request: returndata in expectCall & AccountAccess #7884

Open
d1ll0n opened this issue May 7, 2024 · 0 comments
Open

Feature request: returndata in expectCall & AccountAccess #7884

d1ll0n opened this issue May 7, 2024 · 0 comments
Labels
T-feature Type: feature

Comments

@d1ll0n
Copy link

d1ll0n commented May 7, 2024

Component

Forge

Describe the feature you would like

It'd be nice if it was possible to specify returndata in expectCall and/or if it was provided in the AccountAccess struct from recorded state diffs, as these would allow more granular testing of the interactions between contracts.

Additional context

Think these are the primary related bits:

for (address, calldatas) in &self.expected_calls {

if let Some(recorded_account_diffs_stack) = &mut self.recorded_account_diffs_stack {

@d1ll0n d1ll0n added the T-feature Type: feature label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-feature Type: feature
Projects
None yet
Development

No branches or pull requests

1 participant