Skip to content

Commit

Permalink
serde nonce as hex
Browse files Browse the repository at this point in the history
  • Loading branch information
justprosh committed Jun 20, 2024
1 parent 6f577a8 commit 8fb0aa8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/chain-listener/src/persistence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ pub struct PersistedProofTracker {
pub proof_ids: Vec<(CUID, ProofIdx)>,
#[serde_as(as = "Vec<(Hex,DisplayFromStr)>")]
pub proof_counter: Vec<(CUID, U256)>,
#[serde_as(as = "Hex")]
pub global_nonce: GlobalNonce,
#[serde(
serialize_with = "U256_as_String",
Expand Down

0 comments on commit 8fb0aa8

Please sign in to comment.