kleros-v2 icon indicating copy to clipboard operation
kleros-v2 copied to clipboard

fix(web): fix-dispute-template-presets-in-dev-ui

Open Harman-singh-waraich opened this issue 8 months ago • 6 comments

⚠️ has big bundle size, wait for #1506 to be merged first


PR-Codex overview

The focus of this PR is to add functionality to fetch dispute request parameters from a transaction on a specific EVM chain.

Detailed summary

  • Updated txnHash values in FetchDisputeRequestInput.tsx
  • Added getChain function to retrieve chain object
  • Modified getDisputeRequestParamsFromTxn to use createPublicClient with chain object and http transport
  • Added error logging in case of failure

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Summary by CodeRabbit

  • Bug Fixes

    • Updated transaction hashes for "Escrow" and "Curated Lists" presets to reflect the correct values.
  • Improvements

    • Enhanced dispute request parameter retrieval with additional parameters for better chain object identification.

Harman-singh-waraich avatar Jun 25 '24 12:06 Harman-singh-waraich