Skip to content

mock_call with dynamic return data #2861

@cptartur

Description

@cptartur

Which component is your feature related to?

Forge

Feature Request

mock_call cheatcode accepts static ret_data. It could be useful if it was possible to define a function in in that can receive the calldata and dynamically return different ret_data.

Metadata

Metadata

Assignees

Labels

featureNew feature request/descriptionsnforge

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions