You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just like assertContains(bytes32[], bytes32[]) but for bytes memory instead.
Use case: checking that a contract bytecode is contained in another bytecode. Needed because there's no cheatcode in Forge for returning the runtime bytecode (as far as I can tell today).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Just like
assertContains(bytes32[], bytes32[])
but forbytes memory
instead.Use case: checking that a contract bytecode is contained in another bytecode. Needed because there's no cheatcode in Forge for returning the runtime bytecode (as far as I can tell today).
Beta Was this translation helpful? Give feedback.
All reactions