OriginProtocol / OriginProtocol/origin-dollar

Distracting asset price below peg errors

Open
#1,402 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug dapp frontend OETH P3
Dominant language
Solidity
Stars
152
Forks
115
Avg merge
3d 20h
Merged PRs (30d)
17

Description

Without a wallet connected and without any form inputs, I'm getting a console error about asset price being below peg.

Screenshot 2023-05-03 at 4 24 55 PM

We first noticed this with https://github.com/OriginProtocol/origin-dollar/issues/1397, which seems to be accurate, but then it was misleading on https://github.com/OriginProtocol/origin-dollar/issues/1398.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the console error with no wallet connected and no form inputs, then trace the code path that reports an asset price below peg. Compare the behavior described in issues #1397 and #1398; done means the valid warning remains visible while the misleading disconnected-state error no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
solidity
Domain
blockchain
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.