protofire / omen-exchange

Omen exchange
https://omen.eth.link/
GNU Affero General Public License v3.0
66 stars 77 forks source link

Fix static collateral description in outcome table in `Set Outcome - View` #2192

Closed pimato closed 3 years ago

pimato commented 3 years ago

Describe the bug It looks like in the Set Outcome - View we have the static description of collateral DAI for the Bonded - Column. Omen is still using both Mainnet and xDai so instead of always showingDAI` we should show the native asset of the chain as description.

To Reproduce Steps to reproduce the behavior:

  1. Go to http://localhost:3000/#/0x028c7df3ab5c97770795212b8d99c0390dd39c34/set_outcome
  2. See error: Bildschirmfoto 2021-08-12 um 16 16 50

Expected behavior Should have shown ETH as Bonded collateral.