gno icon indicating copy to clipboard operation
gno copied to clipboard

Initialize static blocks before preprocess

Open jaekwon opened this issue 8 months ago • 2 comments

This PR introduces a phase 'initStaticBlock' to come before preprocess, where the StaticBlock name table is populated with BlockNode.Predefine() calls.

initStaticBlock() also does a few other things, including giving default names where no names are provided, and making 'init' function names unique with numeric suffixes.

jaekwon avatar Jun 23 '24 00:06 jaekwon