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

[move] Remove framework bloat #205

Closed
wants to merge 11 commits into from

Conversation

0o-de-lally
Copy link
Contributor

@0o-de-lally 0o-de-lally commented Mar 10, 2024

Removing certain modules from mainnet compile. Some modules are useful to reproduce tests, so they will be left with #[test_only] pragma.

  • resource_accounts.move
  • diem_coin.move
  • diem_account.move

@0xzoz 0xzoz mentioned this pull request Mar 12, 2024
2 tasks
Copy link
Contributor

Choose a reason for hiding this comment

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

changes to this file prevent single step upgrades to complete both vanilla and with --danger-force-upgrade

#[test_only]
friend diem_framework::diem_account;
#[test_only]
friend diem_framework::resource_account;
Copy link
Contributor

Choose a reason for hiding this comment

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

changing this to use the test_only pragma prevented multiple step upgrades to complete both vanilla and with --danger-force-upgrade

@0xzoz
Copy link
Contributor

0xzoz commented Mar 12, 2024

closing this and reintroducing in #209 which addresses the comments and allows the framework to be upgraded

@0xzoz 0xzoz closed this Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants