feat(network): implement GetChainBlockNo local state query (#441)

This commit is contained in:
Alexsander Falcucci 2024-04-16 14:27:23 +02:00 committed by GitHub
parent 4a3a8fb0da
commit 9e7cafbcac
4 changed files with 62 additions and 2 deletions

View file

@ -938,7 +938,8 @@ impl<C> minicbor::encode::Encode<C> for PositiveCoin {
/// Introduced in Conway
/// negInt64 = -9223372036854775808 .. -1
/// posInt64 = 1 .. 9223372036854775807
/// nonZeroInt64 = negInt64 / posInt64 ; this is the same as the current int64 definition but without zero
/// nonZeroInt64 = negInt64 / posInt64 ; this is the same as the current int64
/// definition but without zero
#[derive(Debug, PartialEq, Copy, Clone, PartialOrd, Eq, Ord, Hash, Serialize, Deserialize)]
#[serde(transparent)]
pub struct NonZeroInt(i64);