Skip to content

Commit

Permalink
fix starcoin-indexer test (#4305)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg authored Nov 28, 2024
1 parent a01d335 commit 7726ad3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/indexer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ mod tests {
};
let event_view = TransactionEventEsView::from(v);
let expected = r#"
{"block_hash":"0x0000000000000000000000000000000000000000000000000000000000000000","block_number":"1","transaction_hash":"0x0000000000000000000000000000000000000000000000000000000000000000","transaction_index":0,"transaction_global_index":"1","data":"0x00","type_tag":"bool","event_index":0,"event_key":"0x000000000000000000000000000000000000000000000000","event_seq_number":"0"}
{"block_hash":"0x0000000000000000000000000000000000000000000000000000000000000000","block_number":"1","transaction_hash":"0x0000000000000000000000000000000000000000000000000000000000000000","transaction_index":0,"transaction_global_index":"1","data":"0x00","type_tag":"bool","event_index":0,"event_key":{"creation_number":0,"account_address":"0x00000000000000000000000000000000"},"event_seq_number":"0"}
"#;
assert_eq!(
serde_json::to_string(&event_view).unwrap().as_str(),
Expand Down
2 changes: 1 addition & 1 deletion commons/infallible/src/math.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/// # Examples
///
/// ```
///# use crate::aptos_infallible::checked;
///# use crate::starcoin_infallible::checked;
/// let a: i64 = 1;
/// let b: i64 = 2;
/// let c: i64 = 3;
Expand Down

0 comments on commit 7726ad3

Please sign in to comment.