Open janniks opened 2 months ago
Not all possible reasons for not being valid are tested currently. e.g. https://github.com/stacks-network/stacks-core/blob/2be69cbf744ac339476362a3fb281257c9e1bebc/testnet/stacks-node/src/tests/signer/v0.rs#L39
Create more tests.
Possible errors for ValidateRejectCode:
validate
All functions that aren't yet tested are part of theimpl NakamotoBlockProposal.
impl NakamotoBlockProposal
To do: Construct bad block proposal and submit to the signers. See how the signers deal with it.
Not all possible reasons for not being valid are tested currently. e.g. https://github.com/stacks-network/stacks-core/blob/2be69cbf744ac339476362a3fb281257c9e1bebc/testnet/stacks-node/src/tests/signer/v0.rs#L39
Create more tests.
Possible errors for ValidateRejectCode:
validate
function as BadBlockHashAll functions that aren't yet tested are part of the
impl NakamotoBlockProposal
.To do: Construct bad block proposal and submit to the signers. See how the signers deal with it.