From 643ec51e0184e46e963545b86fa8c4fbf78f8794 Mon Sep 17 00:00:00 2001 From: robertlincecum Date: Tue, 25 Jun 2024 14:56:58 -0500 Subject: [PATCH] nonce radix in formatter should be 10 but was 16. --- src/providers/format.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/format.ts b/src/providers/format.ts index efe72e0c..bce91442 100644 --- a/src/providers/format.ts +++ b/src/providers/format.ts @@ -329,7 +329,7 @@ export function formatTransactionResponse(value: any): TransactionResponseParams gasLimit: allowNull((value: any) => (value ? BigInt(value) : null), null), to: allowNull(getAddress, null), value: allowNull((value: any) => (value ? BigInt(value) : null), null), - nonce: allowNull((value: any) => (value ? parseInt(value, 16) : null), null), + nonce: allowNull((value: any) => (value ? parseInt(value, 10) : null), null), creates: allowNull(getAddress, null), chainId: allowNull((value: any) => (value ? BigInt(value) : null), null), data: (value: any) => value,