From a33987323e2423577ddb391ae09c0d2323145485 Mon Sep 17 00:00:00 2001 From: Marco Date: Mon, 17 Mar 2025 17:35:44 +0100 Subject: [PATCH 1/2] Update controllers.ts --- packages/snaps-controllers/src/types/controllers.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/snaps-controllers/src/types/controllers.ts b/packages/snaps-controllers/src/types/controllers.ts index f160671025..fb6b99ba20 100644 --- a/packages/snaps-controllers/src/types/controllers.ts +++ b/packages/snaps-controllers/src/types/controllers.ts @@ -34,7 +34,7 @@ export type TransactionMeta = { */ export type TransactionParams = { /** - * Network ID as per EIP-155. + * Chain ID as per EIP-155. */ chainId?: Hex; @@ -74,7 +74,7 @@ export type TransactionParams = { gas?: string; /** - * Maxmimum number of units of gas to use for this transaction. + * Maximum number of units of gas to use for this transaction. */ gasLimit?: string; @@ -102,7 +102,7 @@ export type TransactionParams = { /** * Unique number to prevent replay attacks. */ - nonce?: string; + nonce?: number | string; /** * Address to send this transaction to. From 2b00dd42288195f0b861e4f48b5c3657702c5fd0 Mon Sep 17 00:00:00 2001 From: Marco <172208455+Marcofann@users.noreply.github.com> Date: Thu, 3 Apr 2025 20:52:54 +0200 Subject: [PATCH 2/2] Update controllers.ts --- packages/snaps-controllers/src/types/controllers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/snaps-controllers/src/types/controllers.ts b/packages/snaps-controllers/src/types/controllers.ts index fb6b99ba20..1d24aab183 100644 --- a/packages/snaps-controllers/src/types/controllers.ts +++ b/packages/snaps-controllers/src/types/controllers.ts @@ -102,7 +102,7 @@ export type TransactionParams = { /** * Unique number to prevent replay attacks. */ - nonce?: number | string; + nonce?: string; /** * Address to send this transaction to.