Skip to content

Commit 9956a85

Browse files
⚡ (ledger-button) [LBD-268]: Support eth_call on test-dapp (#252)
2 parents 8970535 + 43d06fd commit 9956a85

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

apps/test-dapp/src/components/TransactionsBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,4 @@ export function TransactionsBlock({
234234
</Dialog>
235235
</div>
236236
);
237-
}
237+
}

apps/test-dapp/src/components/modals/ProviderRequestModal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const PROVIDER_METHODS = [
2828
"eth_getBalance",
2929
"eth_getBlockByNumber",
3030
"eth_estimateGas",
31+
"eth_call",
3132
"eth_getTransactionCount",
3233
"eth_maxPriorityFeePerGas",
3334
"wallet_switchEthereumChain",

packages/ledger-button-core/src/api/model/eip/EIPTypes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export type RpcMethods =
55
| "eth_requestAccounts"
66
| "eth_chainId"
77
| "eth_estimateGas"
8+
| "eth_call"
89
| "eth_getBalance"
910
| "eth_getBlockByNumber"
1011
| "eth_getTransactionCount"

0 commit comments

Comments
 (0)