Conversation
bc04ed8 to
174b16c
Compare
bd0899d to
95f4ee6
Compare
95f4ee6 to
51e3888
Compare
PhilippGackstatter
left a comment
There was a problem hiding this comment.
Looks good!
I left a few comments and questions.
|
@PhilippGackstatter the #[cfg(any(feature = "testing", test))]
pub fn dummy() -> Self {
use rand::SeedableRng;
use rand_chacha::ChaCha20Rng;
let mut rng = ChaCha20Rng::from_os_rng();
LocalEcdsaSigner {
secret_key: ecdsa::SecretKey::with_rng(&mut rng),
}
}Thoughts on how to add a replacement for this now that we |
Maybe an extension trait feature-gated behind |
PhilippGackstatter
left a comment
There was a problem hiding this comment.
Looks good to me!
bobbinth
left a comment
There was a problem hiding this comment.
Looks good! Thank you! I left some comments inline.
Also, I'm assuming we don't want to introduce the concept of a SignedBlock yet, right?
This reverts commit 25dc822.
44a1d3f to
a6b9ce7
Compare
bobbinth
left a comment
There was a problem hiding this comment.
Looks good! Thank you! I left some comments inline - pretty much all of them are nits (and majority are about renaming "public key" to "validator key").
bobbinth
left a comment
There was a problem hiding this comment.
Looks good! Thank you! A few more minor comments inline.
mmagician
left a comment
There was a problem hiding this comment.
LGTM, I left some nits mostly about the comments.
One thing I'd simplify though is whether we need random_signer.rs at all
308ef54 to
c862ba0
Compare
Context
Canonical block headers will require signatures of their contents from the validator.
The block headers need to contain the public key of the designated validator. Block headers need to provide a means to be signed by the designated validator.
Relates to 0xMiden/node#1316.
Changes
BlockSignertrait.BlockHeader.ProvenBlock.