Skip to content

Commit

Permalink
rpc: add new fields to 0.38 fixture test
Browse files Browse the repository at this point in the history
  • Loading branch information
mzabaluev committed Jun 14, 2023
1 parent 3d05019 commit 18ccbcc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions rpc/tests/kvstore_fixtures/v0_38.rs
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,18 @@ fn incoming_fixtures() {
);
assert_eq!(result.node_info.version.to_string(), "0.38.0-alpha.1");
assert!(!result.sync_info.catching_up);
assert_eq!(result.sync_info.earliest_app_hash.as_bytes(), &[0u8; 8]);
assert!(!result.sync_info.earliest_block_hash.is_empty());
assert_eq!(result.sync_info.earliest_block_height.value(), 1);
assert!(
result
.sync_info
.earliest_block_time
.duration_since(informal_epoch)
.unwrap()
.as_secs()
> 0
);
assert_eq!(
result.sync_info.latest_app_hash.as_bytes(),
[6, 0, 0, 0, 0, 0, 0, 0]
Expand Down

0 comments on commit 18ccbcc

Please sign in to comment.