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

Tanya/migration #482

Merged
merged 6 commits into from
Nov 22, 2024

Conversation

Tanya-atatakai
Copy link
Collaborator

Proposed changes

  1. fixes in useMigrate
  2. removed unused lowBalance from useMasterBalances and useServiceBalances
  3. fixed most of the migration related components, will complete and test once app is more stable

Types of changes

What types of changes does your code introduce?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

@Tanya-atatakai Tanya-atatakai changed the base branch from main to refactor/multi-chain-support-frontend November 21, 2024 20:45
const chainIdToMigrateTo = ChainId.Gnosis;

const requiredStakedOlas =
service &&
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

copy-pasted this from AgentNotRunningButton but wonder should we check service

Copy link
Collaborator

Choose a reason for hiding this comment

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

can check this without service condition


await updateStakingProgram(); // TODO: refactor to support single staking program & multi staking programs, this on longer works
// await updateStakingProgram(); // TODO: refactor to support single staking program & multi staking programs, this on longer works
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

unsure what this should do, would appreciate any advice

Copy link
Collaborator

@truemiller truemiller Nov 22, 2024

Choose a reason for hiding this comment

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

was previously a function to refetch staking program data

@Tanya-atatakai Tanya-atatakai merged commit 8a20583 into refactor/multi-chain-support-frontend Nov 22, 2024
2 of 4 checks passed
@Tanya-atatakai Tanya-atatakai deleted the tanya/migration branch November 22, 2024 09:20
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.

3 participants