-
Notifications
You must be signed in to change notification settings - Fork 55
feat(protocol): PCR-2 fixed base fee #3517
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
Conversation
a14717f to
012b96b
Compare
…osts-burned' into protocol/pcr2
67e9904 to
d0890a4
Compare
|
|
| timestamp_ms BIGINT NOT NULL, | ||
| total_gas_cost BIGINT NOT NULL, | ||
| computation_cost BIGINT NOT NULL, | ||
| computation_cost_burned BIGINT NOT NULL, |
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.
I agree.
I wonder if all these migration files are actually needed, because we started with a much cleaner state anyway from the beginning.
For this PR we need a new migration file I guess.
crates/iota-framework/packages/iota-system/sources/iota_system_state_inner.move
Show resolved
Hide resolved
crates/iota-framework/packages/iota-system/sources/iota_system_state_inner.move
Show resolved
Hide resolved
| #[derive(Union, Clone, PartialEq, Eq)] | ||
| pub(crate) enum EndOfEpochTransactionKind { | ||
| ChangeEpoch(ChangeEpochTransaction), | ||
| ChangeEpochV2(ChangeEpochTransactionV2), |
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.
Same question about the position in the enum here.
crates/iota-graphql-rpc/src/types/transaction_block_kind/end_of_epoch.rs
Show resolved
Hide resolved
| #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema, PartialEq, Eq)] | ||
| pub enum IotaEndOfEpochTransactionKind { | ||
| ChangeEpoch(IotaChangeEpoch), | ||
| ChangeEpochV2(IotaChangeEpochV2), |
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.
Same question here about the enum position.
DEPRECATED
See #5270 for base changes associated with this PR, and supporting PCR-2 PRs