reilabs / starknet-replay

CLI tool to replay Starknet transactions and profile libfuncs usage.
0 stars 0 forks source link

Make `create_metadata` public #23

Open Eagle941 opened 1 month ago

Eagle941 commented 1 month ago

Current implementation of the profiler relies on parts of code extracted from cairo repo either because they require some changes or because they are private.

create_metadata is a private function in cairo-lang-runner that initialises the Metadata object of a Sierra Program. This object is used, in cairo-replay, by SierraCasmRunnerLight constructor.

For ease of compatibility with future versions of cairo, it could be useful to make create_metadata public.