foundry icon indicating copy to clipboard operation
foundry copied to clipboard

`forge inspect contract.sol ir` should support an --pretty, to remove the inline comment

Open bixia opened this issue 2 years ago • 0 comments

Component

Forge

Describe the feature you would like

when i try to use the following command:

forge inspect LSSVMPairFactory ir-optimized > LSSVMPairFactory.ir

there are lots of in-line comment inside the yul file, which is very annoy. if we can remove these inline comment with the --pretty should be much better telegram-cloud-photo-size-5-6113942395067412530-y

you may refer to the following repo: https://github.com/bixia/temp/tree/master

Additional context

forge inspect LSSVMPairFactory ir-optimized --pretty > LSSVMPairFactory.ir

No response

bixia avatar Sep 11 '22 07:09 bixia