Previously, the blocks which are unreachable from the contract entry block are still part of the teal.blocks and other reachable blocks would have them as previous blocks.
This PR updates the parsing to remove unreachable blocks and instructions part of those blocks.
Previously, the blocks which are unreachable from the contract entry block are still part of the
teal.blocks
and other reachable blocks would have them asprevious
blocks.This PR updates the parsing to remove unreachable blocks and instructions part of those blocks.