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

Use raw balance value if tokenDecimals property is missing #1299

Merged
merged 2 commits into from
Jan 31, 2022

Conversation

svyatonik
Copy link
Contributor

Apparently the code introduced in #1291 is overreacting to errors. E.g. when running local Rococo/Wococo nodes, tokenDecimals property is missing from the chain properties. The solution is to use raw balance value in this case. On real chains we shall not see this.

@svyatonik svyatonik merged commit e2d4c07 into master Jan 31, 2022
@svyatonik svyatonik deleted the use-raw-balance-if-token-decimals-are-unknown branch January 31, 2022 11:44
svyatonik added a commit that referenced this pull request Feb 1, 2022
* Bump Substrate/Polkadot/Cumulus refs (#1295)

Substrate: 31d90c202d6df9ce3837ee55587b604619a912ba
Polkadot: 60df3c55c711c2872872d6220f98b2611340e051
Cumulus: a963055

* bump chain spec versions (#1297)

* Fix ss58 prefixes of Polkadot, Kusama and Westend used by relay (#1298)

* fix ss58 prefixes of Polkadot, Kusama and Westend

* fmt

* Use raw balance value if tokenDecimals property is missing (#1299)

* use raw balance value if tokenDecimals property is missing

* fmt

* Revert nightly docker pin (#1301)

* Revert "pin bridges-ci image (#1256)"

This reverts commit 4009d97.

* Revert "remporary use pinned bridges-ci image in Dockerfile (#1258)"

This reverts commit 4f98840.

* fix session length of Rococo and Wococo (#1304)
svyatonik added a commit that referenced this pull request Feb 1, 2022
* use raw balance value if tokenDecimals property is missing

* fmt
svyatonik pushed a commit that referenced this pull request Jul 17, 2023
…cation between binary and repo dir (#1299)

* bringing back repo checkout and adding a temp dir to avoid name duplication between binary and repo dir

* added hash to the action

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* adjusted extrinsic ordering action

* addressed comments from PR

* addressed comments from PR

* variables reoredering

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
serban300 pushed a commit to serban300/parity-bridges-common that referenced this pull request Mar 27, 2024
…h#1299)

* use raw balance value if tokenDecimals property is missing

* fmt
serban300 pushed a commit to serban300/parity-bridges-common that referenced this pull request Apr 8, 2024
…h#1299)

* use raw balance value if tokenDecimals property is missing

* fmt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant