Skip to content
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

Open
wants to merge 1 commit into
base: protocol/pcr2-clean
Choose a base branch
from

Conversation

cyberphysic4l
Copy link
Contributor

No description provided.

@cyberphysic4l cyberphysic4l requested review from a team as code owners February 7, 2025 14:07
Copy link

vercel bot commented Feb 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
apps-backend ⬜️ Ignored (Inspect) Feb 7, 2025 2:07pm
apps-ui-kit ⬜️ Ignored (Inspect) Feb 7, 2025 2:07pm
rebased-explorer ⬜️ Ignored (Inspect) Feb 7, 2025 2:07pm
wallet-dashboard ⬜️ Ignored (Inspect) Feb 7, 2025 2:07pm

@@ -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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// 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.",
Copy link
Contributor

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.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"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.
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants