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

feature: Fix potential duplicate symbol bug #2026

Merged
merged 1 commit into from
Nov 29, 2020

Conversation

comountainclimber
Copy link
Member

@comountainclimber comountainclimber commented Nov 29, 2020

Because the RPC nodes return SWTH for both of the following contract hashes (ab38352559b8b203bde5fddfa0b07d8b2525e132 and 3e09e602eeeb401a2fec8e8ea137d59aae54a139) it was breaking balance logic within neon...

This PR makes it so that the hashes map back onto the symbols for the token list found here => https://github.com/CityOfZion/neo-tokens/blob/master/tokenList.json such that those symbols are reflected in the UI and the broken logic is fixed

I also went ahead an updated the hard coded list that neon uses (in the event that github is down)

TODO: before this release goes out, update the neo tokens repo

@coveralls
Copy link

Pull Request Test Coverage Report for Build 7631

  • 1 of 18 (5.56%) changed or added relevant lines in 1 file are covered.
  • 3 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.1%) to 41.9%

Changes Missing Coverage Covered Lines Changed/Added Lines %
app/actions/balancesActions.js 1 18 5.56%
Files with Coverage Reduction New Missed Lines %
app/actions/nodeStorageActions.js 1 68.82%
app/actions/balancesActions.js 2 4.8%
Totals Coverage Status
Change from base Build 7629: -0.1%
Covered Lines: 1492
Relevant Lines: 3239

💛 - Coveralls

@comountainclimber comountainclimber merged commit 930dfe8 into dev Nov 29, 2020
@comountainclimber comountainclimber deleted the feature/fix-symbol-bug branch November 29, 2020 18:06
comountainclimber added a commit that referenced this pull request Dec 1, 2020
* feature: skip testing on tags [WIP] (#2015)

* updates config.yml

* Only publish on tags

* Updates pack and release notes whitelist

* Add back store_artifacts and remove persist to workspace

* update snapshots

* Updates mainnet node list

* Updates ReleaseNotesModal.jsx

* feature: adds dora and neotube to explorers (#2022)

* Updates explorer list

* Updates explorer.test.js

* Updates explorer.test.js

* Updates explorer.test.js

* Adds back deleted test

* Update content and styles in release notes modal

* Updates screen shot in README (#2023)

* update screen shot asset name

* feature: Updates app/core/nodes-main-net.json with new coz nodes (#2025)

* Updates app/core/nodes-main-net.json with new coz nodes

* Increase chunk size

* feature: fix balance failed "retry" load state (#2027)

* Fixes translation typo and refactors FailedPanel.jsx

* lint

* snapshots

* Revert testing changes to balancesActions.js

* revert changes to AssetBalancesPanel/index.js

* Updates balancesActions.js and tokenList.json (#2026)

* feature: add balance fetch retry logic (#2028)

* Adds RPC retry logic

* small refactor in balancesActions.js

* Fixes link in release notes

* feature: update release notes [WIP] (#2031)

* Adds release notes image  asset and update release notes

* Update patch.svg

* Update release notes image assets
@comountainclimber comountainclimber mentioned this pull request Dec 1, 2020
1 task
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