-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Handle Hex String in EA Telemetry #14827
Handle Hex String in EA Telemetry #14827
Conversation
AER Report: CI Core ran successfully ✅AER Report: Operator UI CI ran successfully ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that the behavior of not being able to convert hex to decimal is expected by Median and Mercury. As an alternative, perhaps we could add the hex conversion logic specifically for telemetry parsing?
e03d9f6
Quality Gate passedIssues Measures |
* Handle Hex String in Utils.ToDecimal * add tests * add changeset * add #added to changeset * handle hex strings only in EA Telemetry * isolate hex tests * update changset * lint * fix error return usage * fix comment * fix tests * lint * try different return * test bump * test bump * test bump 2 * lint * lint * return decimal.Decimal{} instead of decimal.Zero in error case * update functon comments * use assert.InDelta instead of assert.Equal
* Handle Hex String in Utils.ToDecimal * add tests * add changeset * add #added to changeset * handle hex strings only in EA Telemetry * isolate hex tests * update changset * lint * fix error return usage * fix comment * fix tests * lint * try different return * test bump * test bump * test bump 2 * lint * lint * return decimal.Decimal{} instead of decimal.Zero in error case * update functon comments * use assert.InDelta instead of assert.Equal
* Handle Hex String in Utils.ToDecimal * add tests * add changeset * add #added to changeset * handle hex strings only in EA Telemetry * isolate hex tests * update changset * lint * fix error return usage * fix comment * fix tests * lint * try different return * test bump * test bump * test bump 2 * lint * lint * return decimal.Decimal{} instead of decimal.Zero in error case * update functon comments * use assert.InDelta instead of assert.Equal
#DF-20580
The EA Telemetry currently fails for EAs where their result is a hex string:
https://smartcontract-it.atlassian.net/browse/DF-20580
https://chainlink-core.slack.com/archives/C0117GGJB6Y/p1729091653229629
Alternative implementation which edits ToDecimal directly, but effects other services is here:
#14841