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

0.7.2 Upgrade #756

Merged
merged 6 commits into from
Jul 1, 2020
Merged

0.7.2 Upgrade #756

merged 6 commits into from
Jul 1, 2020

Conversation

EnderCrypto
Copy link
Contributor

Description

BUG FIXES

  • #753 [Dex] Delete recent price from db when delisting

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

Preflight checks

  • build passed (make build)
  • tests passed (make test)
  • integration tests passed (make integration_test)
  • manual transaction test passed (cli invoke)

Already reviewed by

...

Related issues

#214 Wrong Block.Header.AppHash for 0.7.0 testnet

@EnderCrypto EnderCrypto changed the title Develop 0.7.2 Upgrade Jun 23, 2020
yutianwu
yutianwu previously approved these changes Jun 24, 2020
#758)

 Force match all BEP2 symbols on BEP8 upgrade height to update last match height
rickyyangz
rickyyangz previously approved these changes Jul 1, 2020
* fix unfreeze err msg; adjust mini issue/list fee; update changelog
@@ -73,7 +73,7 @@ func handleUnfreezeToken(ctx sdk.Context, tokenMapper store.Mapper, accKeeper au
if common.IsMiniTokenSymbol(symbol) {
if unfreezeAmount < common.MiniTokenMinExecutionAmount && frozenAmount != unfreezeAmount {
logger.Info("unfreeze token failed", "reason", "unfreeze amount doesn't reach the min amount")
return sdk.ErrInvalidCoins(fmt.Sprintf("freeze amount is too small, the min amount is %d or total frozen balance",
return sdk.ErrInvalidCoins(fmt.Sprintf("unfreeze amount is too small, the min amount is %d or total frozen balance",
Copy link
Contributor

@ackratos ackratos Jul 1, 2020

Choose a reason for hiding this comment

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

would this cause consensus error? This should be part of ABCIResult?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

New feature on mainnet. We don't guarantee compatibility with testnet this time

@EnderCrypto EnderCrypto merged commit 56c4912 into master Jul 1, 2020
forcodedancing pushed a commit that referenced this pull request May 19, 2022
* delete recent price from db when delisting (#753)

delete recent price from db when delisting

* bump up version

* update changelog

* delete recent price key when recent price map is empty (#760)

* Force match all BEP2 symbols on BEP8 upgrade height to update last ma… (#758)

 Force match all BEP2 symbols on BEP8 upgrade height to update last match height

* Fix mini msg (#762)

* fix unfreeze err msg; adjust mini issue/list fee; update changelog
forcodedancing pushed a commit that referenced this pull request May 19, 2022
* delete recent price from db when delisting (#753)

delete recent price from db when delisting

* bump up version

* update changelog

* delete recent price key when recent price map is empty (#760)

* Force match all BEP2 symbols on BEP8 upgrade height to update last ma… (#758)

 Force match all BEP2 symbols on BEP8 upgrade height to update last match height

* Fix mini msg (#762)

* fix unfreeze err msg; adjust mini issue/list fee; update changelog
forcodedancing pushed a commit that referenced this pull request May 19, 2022
* delete recent price from db when delisting (#753)

delete recent price from db when delisting

* bump up version

* update changelog

* delete recent price key when recent price map is empty (#760)

* Force match all BEP2 symbols on BEP8 upgrade height to update last ma… (#758)

 Force match all BEP2 symbols on BEP8 upgrade height to update last match height

* Fix mini msg (#762)

* fix unfreeze err msg; adjust mini issue/list fee; update changelog
forcodedancing pushed a commit that referenced this pull request May 19, 2022
* delete recent price from db when delisting (#753)

delete recent price from db when delisting

* bump up version

* update changelog

* delete recent price key when recent price map is empty (#760)

* Force match all BEP2 symbols on BEP8 upgrade height to update last ma… (#758)

 Force match all BEP2 symbols on BEP8 upgrade height to update last match height

* Fix mini msg (#762)

* fix unfreeze err msg; adjust mini issue/list fee; update changelog
forcodedancing pushed a commit that referenced this pull request May 19, 2022
* delete recent price from db when delisting (#753)

delete recent price from db when delisting

* bump up version

* update changelog

* delete recent price key when recent price map is empty (#760)

* Force match all BEP2 symbols on BEP8 upgrade height to update last ma… (#758)

 Force match all BEP2 symbols on BEP8 upgrade height to update last match height

* Fix mini msg (#762)

* fix unfreeze err msg; adjust mini issue/list fee; update changelog
forcodedancing pushed a commit that referenced this pull request May 19, 2022
* delete recent price from db when delisting (#753)

delete recent price from db when delisting

* bump up version

* update changelog

* delete recent price key when recent price map is empty (#760)

* Force match all BEP2 symbols on BEP8 upgrade height to update last ma… (#758)

 Force match all BEP2 symbols on BEP8 upgrade height to update last match height

* Fix mini msg (#762)

* fix unfreeze err msg; adjust mini issue/list fee; update changelog
forcodedancing pushed a commit that referenced this pull request May 19, 2022
* delete recent price from db when delisting (#753)

delete recent price from db when delisting

* bump up version

* update changelog

* delete recent price key when recent price map is empty (#760)

* Force match all BEP2 symbols on BEP8 upgrade height to update last ma… (#758)

 Force match all BEP2 symbols on BEP8 upgrade height to update last match height

* Fix mini msg (#762)

* fix unfreeze err msg; adjust mini issue/list fee; update changelog
forcodedancing pushed a commit that referenced this pull request May 19, 2022
* delete recent price from db when delisting (#753)

delete recent price from db when delisting

* bump up version

* update changelog

* delete recent price key when recent price map is empty (#760)

* Force match all BEP2 symbols on BEP8 upgrade height to update last ma… (#758)

 Force match all BEP2 symbols on BEP8 upgrade height to update last match height

* Fix mini msg (#762)

* fix unfreeze err msg; adjust mini issue/list fee; update changelog
forcodedancing pushed a commit that referenced this pull request May 19, 2022
* delete recent price from db when delisting (#753)

delete recent price from db when delisting

* bump up version

* update changelog

* delete recent price key when recent price map is empty (#760)

* Force match all BEP2 symbols on BEP8 upgrade height to update last ma… (#758)

 Force match all BEP2 symbols on BEP8 upgrade height to update last match height

* Fix mini msg (#762)

* fix unfreeze err msg; adjust mini issue/list fee; update changelog
forcodedancing pushed a commit that referenced this pull request May 19, 2022
* delete recent price from db when delisting (#753)

delete recent price from db when delisting

* bump up version

* update changelog

* delete recent price key when recent price map is empty (#760)

* Force match all BEP2 symbols on BEP8 upgrade height to update last ma… (#758)

 Force match all BEP2 symbols on BEP8 upgrade height to update last match height

* Fix mini msg (#762)

* fix unfreeze err msg; adjust mini issue/list fee; update changelog
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.

4 participants