Skip to content

Commit

Permalink
Merge pull request #4 from iotaledger/fix(types)-Add-`EndOfEpochDatae…
Browse files Browse the repository at this point in the history
…poch_supply_change`-field

Add `EndOfEpochData::epoch_supply_change` field
  • Loading branch information
DaughterOfMars authored Oct 18, 2024
2 parents be2b0fc + fe62b95 commit f273b23
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/iota-rust-sdk/src/types/checkpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ pub struct EndOfEpochData {

/// Commitments to epoch specific state (e.g. live object set)
pub epoch_commitments: Vec<CheckpointCommitment>,

/// The number of tokens that were minted (if positive) or burnt (if
/// negative) in this epoch.
pub epoch_supply_change: i64,
}

#[derive(Clone, Debug, PartialEq, Eq)]
Expand Down Expand Up @@ -548,7 +552,7 @@ mod serialization {
fn signed_checkpoint_fixture() {
const FIXTURES: &[&str] = &[
"CgAAAAAAAAAUAAAAAAAAABUAAAAAAAAAIJ6CIMG/6Un4MKNM8h+R9r8bQ6dNTk0WZxBMUQH1XFQBASCWUVucdQkje+4YbXVpvQZcg74nndL1NK7ccj1dDR04agAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAAAAAAAAAAKAAAAAAAAAKOonlp6Vf8dJEjQYa/VyigZruaZwSwu3u/ZZVCsdrS1iaGPIAERZcNnfM75tOh10hI6MAAAAQAAAAAAAAAQAAAAAAA=",
"AgAAAAAAAAAFAAAAAAAAAAYAAAAAAAAAIINaPEm+WRQV2vGcPR9fe6fYhxl48GpqB+DqDYQqRHkuASBe+6BDLHSRCMiWqBkvVMqWXPWUsZnpc2gbOVdre3vnowAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAQFgqGJldzxWMt2CZow1QiLmDf0RdLE6udu0bVdc1xaExX37NByF27rDH5C1DF+mkpLdA6YZnXMvuUw+zoWo71qe2DTdIDU4AcNaSUE3OoEHceuT+fBa6dMib3yDkkhmOZLyECcAAAAAAAAkAAAAAAAAAAAAAgAAAAAAAACvljn+1LWFSpu3PGx4BlIlVZq7blFK+fV7SOPEU0z9nz7lgkv8a12EA9R0tGm8hEYSOjAAAAEAAAAAAAAAEAAAAAAA",
"AgAAAAAAAAAFAAAAAAAAAAYAAAAAAAAAIINaPEm+WRQV2vGcPR9fe6fYhxl48GpqB+DqDYQqRHkuASBe+6BDLHSRCMiWqBkvVMqWXPWUsZnpc2gbOVdre3vnowAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAQFgqGJldzxWMt2CZow1QiLmDf0RdLE6udu0bVdc1xaExX37NByF27rDH5C1DF+mkpLdA6YZnXMvuUw+zoWo71qe2DTdIDU4AcNaSUE3OoEHceuT+fBa6dMib3yDkkhmOZLyECcAAAAAAAAkAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAK+WOf7UtYVKm7c8bHgGUiVVmrtuUUr59XtI48RTTP2fPuWCS/xrXYQD1HS0abyERhI6MAAAAQAAAAAAAAAQAAAAAAA=",
];

for fixture in FIXTURES {
Expand Down

0 comments on commit f273b23

Please sign in to comment.