-
Notifications
You must be signed in to change notification settings - Fork 66
Question: How to update tests/mocks/JsonBindings.sol? #1248
Copy link
Copy link
Open
Description
I've been trying to understand the developer workflow to update the tests/mocks/JsonBindings.sol file when changes are made to the tests/mocks/EIP712Types.sol file, but have been unsuccessful.
There are recent PRs that have successfully done so, but I cannot find any instructions in the README or codebase.
When I try to run forge bind-json in the root directory, the generated tests/mocks/JsonBindings.sol file does not include tests/mocks/EIP712Types.sol, rather I just get an empty JsonBindings:
// omitted lines for brevity
library JsonBindings {
Vm constant vm = Vm(address(uint160(uint256(keccak256('hevm cheat code')))));
}What command should I run and where to update the tests/mocks/JsonBindings.sol file?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels