This PR splits get-block-info and get-burn-block-info so every property has its own linked function in order to avoid pushing every property of the get-block-info and get-burn-block-info functions to the stack once they are called.
e.g. when the function get-block-info is compiled, the compiler generates the code for all the available properties.
With this change, when get-block-info is compiled it will generate only the property that is called.
This PR splits
get-block-info
andget-burn-block-info
so every property has its own linked function in order to avoid pushing every property of theget-block-info
andget-burn-block-info
functions to the stack once they are called.e.g. when the function
get-block-info
is compiled, the compiler generates the code for all the available properties. With this change, whenget-block-info
is compiled it will generate only the property that is called.Related issue: https://github.com/stacks-network/clarity-wasm/issues/430