Skip to content

Conversation

@cyberphysic4l
Copy link
Contributor

@cyberphysic4l cyberphysic4l commented Oct 21, 2024

DEPRECATED

See #5270 for base changes associated with this PR, and supporting PCR-2 PRs

@alexsporn alexsporn added the tokenomics Issues related to tokenomics and gas price modulation label Oct 22, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2025

⚠️ 🦋 Changesets Warning: This PR has changes to public npm packages, but does not contain a changeset. You can create a changeset easily by running pnpm changeset in the root of the IOTA repo, and following the prompts. If your change does not need a changeset (e.g. a documentation-only change), you can ignore this message. This warning will be removed when a changeset is added to this pull request.

Learn more about Changesets.

timestamp_ms BIGINT NOT NULL,
total_gas_cost BIGINT NOT NULL,
computation_cost BIGINT NOT NULL,
computation_cost_burned BIGINT NOT NULL,
Copy link
Contributor

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.

#[derive(Union, Clone, PartialEq, Eq)]
pub(crate) enum EndOfEpochTransactionKind {
ChangeEpoch(ChangeEpochTransaction),
ChangeEpochV2(ChangeEpochTransactionV2),
Copy link
Contributor

@muXxer muXxer Feb 5, 2025

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.

#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema, PartialEq, Eq)]
pub enum IotaEndOfEpochTransactionKind {
ChangeEpoch(IotaChangeEpoch),
ChangeEpochV2(IotaChangeEpochV2),
Copy link
Contributor

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.

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

Labels

apps-ui-kit Issues related to the Apps UI Kit core-protocol documentation Improvements or additions to documentation explorer Issues related to the Explorer research tokenomics Issues related to tokenomics and gas price modulation ts-sdk Issues related to the TS SDK wallet Issues related to the IOTA Wallet wallet-dashboard Issues related to the Wallet Dashboard dApp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Burned token amount confusing in SystemEpochInfoEventV1 [Task (gas-price-modulation-tf)] Implement a fixed protocol-based gas price