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

ParaTimes: fix Consensus amount not representable bug #1346

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

buberdds
Copy link
Contributor

Currently bug Unknown gRPC error: client: transaction check failed: runtime error: module: consensus code: 5 message: consensus: amount not representable can occur during withdraws from EVM ParaTimes.

In both cases, deposit to ParaTime from Consensus and withdraw from ParaTime to Consensus, we need valid Consensus amounts.

@codecov
Copy link

codecov bot commented Mar 22, 2023

Codecov Report

Merging #1346 (bf0b77f) into master (21163a8) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1346   +/-   ##
=======================================
  Coverage   84.23%   84.23%           
=======================================
  Files         142      142           
  Lines        3628     3628           
  Branches      667      667           
=======================================
  Hits         3056     3056           
  Misses        572      572           
Flag Coverage Δ
cypress 51.15% <0.00%> (ø)
jest 79.46% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/app/pages/ParaTimesPage/useParaTimes.ts 92.15% <ø> (ø)
...pp/pages/ParaTimesPage/TransactionAmount/index.tsx 95.45% <100.00%> (ø)

@buberdds buberdds requested a review from lukaw3d March 22, 2023 17:40
@buberdds buberdds merged commit 33c3610 into oasisprotocol:master Mar 23, 2023
@buberdds buberdds deleted the mz/paraTimeInput branch March 24, 2023 11:41
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

2 participants