Skip to content

Commit dd63e7c

Browse files
committed
Fixed the default nonce
1 parent ec37c65 commit dd63e7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/common/src/commit/request.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use alloy::{
88
hex,
99
primitives::{aliases::B32, Address, B256},
1010
rpc::types::beacon::BlsSignature,
11+
signers::k256::U256,
1112
};
1213
use serde::{Deserialize, Deserializer, Serialize};
1314
use tree_hash::TreeHash;
@@ -86,7 +87,7 @@ impl SignConsensusRequest {
8687
}
8788

8889
pub fn builder(pubkey: BlsPublicKey) -> Self {
89-
Self::new(pubkey, B256::ZERO, 0)
90+
Self::new(pubkey, B256::ZERO, u64::MAX - 1)
9091
}
9192

9293
pub fn with_root<R: Into<B256>>(self, object_root: R) -> Self {

0 commit comments

Comments
 (0)