-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
chore: small cheatcode improvements #4799
Conversation
struct Log { bytes32[] topics; bytes data; } | ||
struct Rpc { string name; string url; } | ||
struct FsMetadata { bool isDir; bool isSymlink; uint256 length; bool readOnly; uint256 modified; uint256 accessed; uint256 created; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried formatting the structs to more lines but it doesn't seem like they get parsed? @mattsse
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah looks like the struct parser of abigen has limitations when it comes to new lines, I think it uses \n
as separator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
much cleaner, tysm!
* fmt: abigens * Pass by reference when patching Hardhat selector rebase master
* add conditional breakpoints * help desk * char return * chore: small cheatcode improvements (#4799) * fmt: abigens * Pass by reference when patching Hardhat selector rebase master * help desk * fmt * help desk rebase * chore(clippy): make clippy happy --------- Co-authored-by: DaniPopes <[email protected]> Co-authored-by: Matthias Seitz <[email protected]>
Motivation
Review with "Hide whitespace" on
Solution