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

Tgrade upgrade080beta2 #532

Merged
merged 10 commits into from
Apr 1, 2022
Merged

Tgrade upgrade080beta2 #532

merged 10 commits into from
Apr 1, 2022

Conversation

alpe
Copy link
Contributor

@alpe alpe commented Mar 31, 2022

This includes the beta-1 upgrades:

  • where the "system admin" is not part of all PoE TC automatically
  • "old system admin" was added as single OC member in genesis
  • Breaking poe-contracts upgrade for staking with vesting accounts: StakedResponse has liquid + vesting coins

Included in beta-2:

  • New Arbiter pool contracts setup during bootstrap. (=> new DeFi contract addresses)
  • Breaking changes in poe-contracts: jailing period,...
  • Breaking changes in tgrade-contracts

Note to reviewer: Please use squash and merge

@alpe alpe marked this pull request as ready for review March 31, 2022 06:54
@alpe alpe requested a review from abefernan March 31, 2022 06:55
@Ebazhanov
Copy link
Contributor

Ebazhanov commented Mar 31, 2022

found an issues:

  • validator is no displayed
  • console error
    image

@Ebazhanov
Copy link
Contributor

Ebazhanov commented Mar 31, 2022

verified ✅

image

const feeTokenDecimals = this.config.coinMap?.[this.config.feeToken]?.fractionalDigits ?? 0;
const decimalLiquid = Decimal.fromUserInput(liquid.amount, feeTokenDecimals);
const decimalVesting = Decimal.fromUserInput(vesting.amount, feeTokenDecimals);
const decimalSum = decimalLiquid.plus(decimalVesting);
Copy link
Contributor

@maurolacy maurolacy Mar 31, 2022

Choose a reason for hiding this comment

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

At some point you would want to showcase these two separately, I guess. But good / correct for integrating with current code base.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, no UI work for now

@abefernan abefernan merged commit be1962f into main Apr 1, 2022
@abefernan abefernan deleted the tgrade-upgrade080beta2 branch April 1, 2022 08:27
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.

None yet

4 participants