fix(frontend): read EVM deposit allowance via source-chain RPC (#133) #153
No reviewers
Labels
No labels
agent:implement
agent:ready
backend
bug
cannot-reproduce
confirmed
desktop
docs
documentation
duplicate
enhancement
feature
frontend
good first issue
help wanted
high-risk
in-review
invalid
mobile
needs-triage
P0-critical
P1-high
P2-medium
P3-low
qa
QA
question
ready
report
responsive
security
security-escalate
smart-contract
solana
tablet
test-pass
ux
wallet-issue
wallet:keplr
wallet:metamask
wallet:station
wallet:walletconnect
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-bridge-monorepo!153
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/gl-133-evm-allowance-source-rpc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
allowance(owner, bridge)throughgetEvmClient(sourceChainConfig)(same source RPC as balance / code preflight), instead of wallet-bound wagmiuseReadContract.skills/agent-frontend-bridge-chains.md.Related to #133 (vFDUSD bridge UI follow-up).
Test plan
npm run test:run -- src/hooks/useBridgeDeposit.test.ts0xCd4E…F39ctoterra1xsec…ydp8l— should proceed to approve/deposit instead of allowance error0xb2A22c74…5369and deposit succeedsmentioned in commit
d5f053cb9amentioned in merge request !154