-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat: make batch call transaction parameters configurable in laboratory app (APKT-4175) #5335
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
base: main
Are you sure you want to change the base?
feat: make batch call transaction parameters configurable in laboratory app (APKT-4175) #5335
Conversation
…ry app APKT-4175: Implement configurable transaction parameters for Uniswap Changes: - Enhanced AddTransactionModal with optional data field and hex validation - Added Simple/Advanced mode toggle with tooltips and help text - Integrated configuration UI in WagmiTransactionTest and EthersTransactionTest - Added transaction management to WagmiSendCallsTest with AddTransactionModal - Updated EthersSendCallsTest to support optional data field - All components now support custom recipient, amount, and transaction data - Maintains backward compatibility with default hardcoded values Co-Authored-By: enes@reown.com <enes@reown.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
10 Skipped Deployments
|
Visual Regression Test Results ✅ Passed✨ No visual changes detected Chromatic Build: https://www.chromatic.com/build?appId=6493191bf4b10fed8ca7353f&number=351 |
|
📦 Bundle Size Check✅ All bundles are within size limits 📊 View detailed bundle sizes> @reown/appkit-monorepo@1.7.1 size /home/runner/work/appkit/appkit > size-limit |
Coverage Report
File CoverageNo changed files found. |
Co-Authored-By: enes@reown.com <enes@reown.com>
Description
Implements APKT-4175 to make batch call transaction parameters configurable in the AppKit laboratory app. Previously, all transaction test components used hardcoded addresses (vitalikEthAddress). This change allows Uniswap and other enterprise customers to customize transaction parameters including recipient address, amount, and transaction data.
Link to Devin run: https://app.devin.ai/sessions/db46fa811556478aabef7b6c3af9ac5f
Requested by: enes@reown.com
Type of change
What Changed
Core Changes
AddTransactionModal Enhancement (
apps/laboratory/src/components/AddTransactionModal.tsx):datafield for hex-encoded transaction data/^0x[0-9a-fA-F]*$/uonSubmitsignature to include optionaldata?: stringparameterSimple Transaction Components (
WagmiTransactionTest.tsx,EthersTransactionTest.tsx):Batch Transaction Components (
WagmiSendCallsTest.tsx,EthersSendCallsTest.tsx):ESLint Fix
Fixed ESLint errors in
AddTransactionModal.tsxthat were causing CI build failures:u) to regexAssociated Issues
Closes APKT-4175
Key Review Points
viem'sHextype and@reown/appkit-common'sHextype (e.g.,args.data as Hex | undefined). Please verify these types are compatible./^0x[0-9a-fA-F]*$/uallows "0x" as valid input (empty data after prefix). This is intentional for optional fields but worth confirming.Testing Notes
Checklist
Preview Links