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

Add an integration test for duplicate signers on the same network #5077

Closed jferrant closed 3 weeks ago

jferrant commented 1 month ago

We should have a test that spins up multiple signers with the same private key and ensure the system can handle signatures from duplicate signers. The first submitted valid signature should take precedence.

jbencin commented 1 month ago

Also, check that duplicate signer produces identical signatures, and recovered pubkeys are the same. This is expected because we derive the ECDSA nonce from the message hash instead of an RNG

jcnelson commented 3 weeks ago

Can we close this?

jbencin commented 3 weeks ago

Closed by #5108