Content pfp
Content
@
0 reply
0 recast
0 reaction

Lucas Manuel ⚡️ pfp
Lucas Manuel ⚡️
@lucas-manuel
If a mainnet contract has no way of accessing important data for testing, you can use vm.eth_getLogs to parse out events data and assert. I ran into this with OZ AccessControl checking DEFAULT_ADMIN_ROLE for a deployment ACL configuration test.
3 replies
0 recast
3 reactions

Jan  pfp
Jan
@hussar
why not use expectEmit?
0 reply
0 recast
0 reaction