-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(protocol): PCR-2 iota-rest-api #5276
base: protocol/pcr2-clean
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
@@ -121,7 +121,11 @@ pub struct SystemStateSummary { | |||
/// during safe mode. | |||
#[serde_as(as = "iota_types::iota_serde::BigInt<u64>")] | |||
#[schemars(with = "crate::_schemars::U64")] | |||
pub safe_mode_computation_rewards: u64, | |||
pub safe_mode_computation_charges: u64, | |||
/// Amount of burned computation rewards accumulated during safe mode. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Amount of burned computation rewards accumulated during safe mode. | |
/// Amount of burned computation charges accumulated during safe mode. |
@@ -4054,11 +4125,16 @@ | |||
"description": "Whether the system is running in a downgraded safe mode due to a non-recoverable bug. This is set whenever we failed to execute advance_epoch, and ended up executing advance_epoch_safe_mode. It can be reset once we are able to successfully execute advance_epoch.", | |||
"type": "boolean" | |||
}, | |||
"safe_mode_computation_rewards": { | |||
"safe_mode_computation_charges": { | |||
"description": "Amount of computation rewards accumulated (and not yet distributed) during safe mode.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rewards
should be charges
.
"description": "Amount of computation rewards accumulated (and not yet distributed) during safe mode.", | ||
"type": "string", | ||
"format": "u64" | ||
}, | ||
"safe_mode_computation_charges_burned": { | ||
"description": "Amount of burned computation rewards accumulated during safe mode.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"description": "Amount of burned computation rewards accumulated during safe mode.", | |
"description": "Amount of burned computation charges accumulated during safe mode.", |
@@ -121,7 +121,11 @@ pub struct SystemStateSummary { | |||
/// during safe mode. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one line above rewards
should be charges
No description provided.