-
Notifications
You must be signed in to change notification settings - Fork 58
feat(protocol): PCR-2 iota-json-rpc* and iota-open-rpc #5277
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
Merged
alexsporn
merged 3 commits into
protocol/pcr2-clean
from
protocol/pcr2-iota-json-and-open-rpc
Feb 18, 2025
Merged
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -1313,6 +1313,7 @@ | |||||
| "hardened_otw_check": true, | ||||||
| "no_extraneous_module_bytes": true, | ||||||
| "passkey_auth": true, | ||||||
| "protocol_defined_base_fee": false, | ||||||
| "relocate_event_module": false, | ||||||
| "rethrow_serialization_type_layout_errors": true, | ||||||
| "zklogin_auth": false | ||||||
|
|
@@ -1327,6 +1328,7 @@ | |||||
| "address_to_u256_cost_base": { | ||||||
| "u64": "52" | ||||||
| }, | ||||||
| "base_gas_price": null, | ||||||
| "base_tx_cost_fixed": { | ||||||
| "u64": "1000" | ||||||
| }, | ||||||
|
|
@@ -7582,6 +7584,37 @@ | |||||
| } | ||||||
| } | ||||||
| }, | ||||||
| "IotaChangeEpochV2": { | ||||||
| "type": "object", | ||||||
| "required": [ | ||||||
| "computation_charge", | ||||||
| "computation_charge_burned", | ||||||
| "epoch", | ||||||
| "epoch_start_timestamp_ms", | ||||||
| "storage_charge", | ||||||
| "storage_rebate" | ||||||
| ], | ||||||
| "properties": { | ||||||
| "computation_charge": { | ||||||
| "$ref": "#/components/schemas/BigInt_for_uint64" | ||||||
| }, | ||||||
| "computation_charge_burned": { | ||||||
| "$ref": "#/components/schemas/BigInt_for_uint64" | ||||||
| }, | ||||||
| "epoch": { | ||||||
| "$ref": "#/components/schemas/BigInt_for_uint64" | ||||||
| }, | ||||||
| "epoch_start_timestamp_ms": { | ||||||
| "$ref": "#/components/schemas/BigInt_for_uint64" | ||||||
| }, | ||||||
| "storage_charge": { | ||||||
| "$ref": "#/components/schemas/BigInt_for_uint64" | ||||||
| }, | ||||||
| "storage_rebate": { | ||||||
| "$ref": "#/components/schemas/BigInt_for_uint64" | ||||||
| } | ||||||
| } | ||||||
| }, | ||||||
| "IotaCoinMetadata": { | ||||||
| "type": "object", | ||||||
| "required": [ | ||||||
|
|
@@ -7649,6 +7682,18 @@ | |||||
| }, | ||||||
| "additionalProperties": false | ||||||
| }, | ||||||
| { | ||||||
| "type": "object", | ||||||
| "required": [ | ||||||
| "ChangeEpochV2" | ||||||
| ], | ||||||
| "properties": { | ||||||
| "ChangeEpochV2": { | ||||||
| "$ref": "#/components/schemas/IotaChangeEpochV2" | ||||||
| } | ||||||
| }, | ||||||
| "additionalProperties": false | ||||||
| }, | ||||||
| { | ||||||
| "type": "object", | ||||||
| "required": [ | ||||||
|
|
@@ -8317,7 +8362,8 @@ | |||||
| "protocolVersion", | ||||||
| "referenceGasPrice", | ||||||
| "safeMode", | ||||||
| "safeModeComputationRewards", | ||||||
| "safeModeComputationCharges", | ||||||
| "safeModeComputationChargesBurned", | ||||||
| "safeModeNonRefundableStorageFee", | ||||||
| "safeModeStorageCharges", | ||||||
| "safeModeStorageRebates", | ||||||
|
|
@@ -8482,14 +8528,22 @@ | |||||
| "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" | ||||||
| }, | ||||||
| "safeModeComputationRewards": { | ||||||
| "safeModeComputationCharges": { | ||||||
| "description": "Amount of computation rewards accumulated (and not yet distributed) during safe mode.", | ||||||
| "allOf": [ | ||||||
| { | ||||||
| "$ref": "#/components/schemas/BigInt_for_uint64" | ||||||
| } | ||||||
| ] | ||||||
| }, | ||||||
| "safeModeComputationChargesBurned": { | ||||||
| "description": "Amount of burned computation rewards accumulated during safe mode.", | ||||||
|
||||||
| "description": "Amount of burned computation rewards accumulated during safe mode.", | |
| "description": "Amount of burned computation charges accumulated during safe mode.", |
Contributor
Author
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.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.