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

Remove unused delegation_pool module from supra_framework #67

Merged
merged 4 commits into from
Sep 6, 2024

Conversation

nizam-supraoracles
Copy link

  • Removed delegation_pool module from supra_framework.
  • Also cleanup this function's uses in another module.
  • Auto generated file updated based on this changes

AccountIdentifier::base_account(pool_address),
amount,
)];
let operations = vec![];

Choose a reason for hiding this comment

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

When this vector is empty, no operation is performed. Doesn't this mean that the test is practically removed?

Copy link
Author

Choose a reason for hiding this comment

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

Okay, Actually we need to remove entire test for delegation pool module from aptos-rosetta.
I made the changes

AccountIdentifier::base_account(pool_address),
amount,
)];
let operations = vec![];

Choose a reason for hiding this comment

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

Same as above.

AccountIdentifier::base_account(pool_address),
Some(amount),
)])
Ok(vec![])

Choose a reason for hiding this comment

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

Same as above.

AccountIdentifier::base_account(pool_address),
Some(amount),
)])
Ok(vec![])

Choose a reason for hiding this comment

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

same as above

AccountIdentifier::base_account(pool_address),
Some(amount),
)])
Ok(vec![])

Choose a reason for hiding this comment

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

same as above

… replace delegation pool functions as pbo_delegation_pool
@nizam-supraoracles nizam-supraoracles merged commit 6266ddc into dev Sep 6, 2024
1 check failed
@nizam-supraoracles nizam-supraoracles deleted the clean/unused_modules branch September 6, 2024 11:45
@nizam-supraoracles nizam-supraoracles restored the clean/unused_modules branch September 6, 2024 11:46
@nizam-supraoracles nizam-supraoracles deleted the clean/unused_modules branch September 6, 2024 13:09
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