kleros-v2
kleros-v2 copied to clipboard
fix(web): fix-dispute-template-presets-in-dev-ui
⚠️ 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 inFetchDisputeRequestInput.tsx
- Added
getChain
function to retrieve chain object - Modified
getDisputeRequestParamsFromTxn
to usecreatePublicClient
with chain object andhttp
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.