coinbase / coinbase/onchainkit

Bug: Internal RPC error when paying in Base app

Open
#2,443 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1k
Forks
520
Avg merge
32m
Merged PRs (30d)
2

Description

### Describe the bug and the steps to reproduce it

When attempting to make a payment in the base app, we're receiving the following error in the `onError` callback on `` component. This error does not occur when paying in a "normal" browser window.

Tested on 2 devices

Error received:
```json
{
"code": "TmTPc03",
"error": {
"cause": {
"details": "Failed to sign",
"shortMessage": "An internal error was received.",
"version": "2.32.0",
"name": "InternalRpcError",
"code": -32603
},
"details": "Failed to sign",
"metaMessages": [
"Request Arguments:",
" from: "
],
"shortMessage": "An internal error was received.",
"version": "2.32.0",
"name": "TransactionExecutionError"
},
"message": "Something went wrong. Please try again."
}
```

Source:
```tsx

{ui.depositNoticeDismissed
? !processingTransaction &&
: }

```

### What's the expected behavior?

Payment behaves like other browser windows

### What version of the libraries are you using?

"@coinbase/onchainkit": "^0.38.17",`
"@farcaster/frame-sdk": "^0.0.60",

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.