stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 667 forks source link

Fix block proposal rejection test #5084

Closed jferrant closed 1 month ago

jferrant commented 1 month ago

Looks like tihs test may have been broken for a while. It not only failed to account for a potential mined valid block randomly in the middle or proposing blocks, but it also did not properly fetch the sortition view and construct a block that would pass the signers local checks (it now does so which will force the necessary call to the API endpoint)