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: remove the v0 execution layer cut #4002

Merged
merged 5 commits into from
Nov 12, 2024

Conversation

valeriyr
Copy link
Contributor

@valeriyr valeriyr commented Nov 11, 2024

Description of change

The v0 execution layer cut was removed.

Also, the latest version changed to 1 to be compatible with the current protocol config. v0 will be considered as a feature cut since this PR is merged.

Links to any relevant issues

fixes #3983

@valeriyr valeriyr added the vm-language Issues related to the VM & Language Team label Nov 11, 2024
@valeriyr valeriyr self-assigned this Nov 11, 2024
@valeriyr valeriyr marked this pull request as ready for review November 11, 2024 13:38
@valeriyr valeriyr requested review from a team, miker83z and kodemartin as code owners November 11, 2024 13:38
Copy link
Contributor

@kodemartin kodemartin left a comment

Choose a reason for hiding this comment

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

lgtm ⛵

@valeriyr valeriyr requested a review from muXxer November 11, 2024 14:59
@@ -1526,7 +1526,7 @@ impl ProtocolConfig {

gas_rounding_step: Some(1_000),

execution_version: Some(1),
execution_version: Some(0),
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't this break compatibility with current 0.7.0 networks?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it breaks because I changed the protocol config which should be constant.

Copy link
Member

Choose a reason for hiding this comment

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

Then as @lzpap proposed lets start with 1 instead of 0 and we keep compatibility.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in ebfb035

Also, in this case, it is necessary to change the script which creates cuts.
The minimal versioned cut should be v1.
v0 will be considered as a feature cut since this change.

Copy link
Member

@alexsporn alexsporn left a comment

Choose a reason for hiding this comment

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

LGTM

@valeriyr valeriyr force-pushed the sc-platform/issue-3983-remove-v0-cut branch from ebfb035 to 8e65786 Compare November 12, 2024 09:16
@valeriyr valeriyr merged commit af9a325 into develop Nov 12, 2024
39 of 40 checks passed
@valeriyr valeriyr deleted the sc-platform/issue-3983-remove-v0-cut branch November 12, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vm-language Issues related to the VM & Language Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[iota-execution] Clean up/reorganize cuts
6 participants