fix(dao): correct Proposal #0 starting_time assertion (2026-04-21 not 2026-05-03)
This commit is contained in:
parent
bcfb98db1e
commit
0ef4730dbb
1 changed files with 2 additions and 1 deletions
|
|
@ -359,7 +359,8 @@ mod tests {
|
||||||
assert_eq!(prop.votes.0, vec![(0, 0), (1, 0)]); // zero votes ever cast
|
assert_eq!(prop.votes.0, vec![(0, 0), (1, 0)]); // zero votes ever cast
|
||||||
assert_eq!(prop.timing_config.draft_time, 7 * 86_400 * 1000);
|
assert_eq!(prop.timing_config.draft_time, 7 * 86_400 * 1000);
|
||||||
assert_eq!(prop.timing_config.voting_time, 7 * 86_400 * 1000);
|
assert_eq!(prop.timing_config.voting_time, 7 * 86_400 * 1000);
|
||||||
assert_eq!(prop.starting_time, 1_772_666_551_575);
|
// Decoded from CBOR `1b 0000019c7d5c4d17` = 1771629726999 ms = 2026-04-21 15:42:06 UTC
|
||||||
|
assert_eq!(prop.starting_time, 1_771_629_726_999);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue