matter-labs / foundry-zksync

Fork of Foundry tailored for zkSync environment
Apache License 2.0
299 stars 130 forks source link

Support for `cast disassemble` Command #624

Open dutterbutter opened 3 weeks ago

dutterbutter commented 3 weeks ago

Description:

The cast disassemble command is currently not supported in foundry-zksync. This command disassembles hex-encoded bytecode into individual, human-readable opcodes.

Feature Request:

Implement the cast disassemble command to enable disassembling hex-encoded bytecode into EraVM opcodes within the foundry-zksync environment.


Purpose of cast disassemble:

The cast disassemble command provides a way to convert raw bytecode into readable opcodes, enabling developers to debug, inspect, and analyze smart contracts at a low level.

Key Features:

Common Options:


Example Usage:


References: