Content pfp
Content
@
0 reply
0 recast
0 reaction

Paul Cowgill pfp
Paul Cowgill
@paulcowgill
to test a new contract under development and an old contract with a solidity version older than forge supports (without using fork tests): deploy the bytecode of the old contract using assembly in the test file. uniswap v2 makes forge test and forge script sad, but this fixes it.
1 reply
1 recast
4 reactions

horsefacts pfp
horsefacts
@horsefacts.eth
You can probably use vm.etch as well!
1 reply
0 recast
1 reaction