From 555196f1b38206f5ba0488e82cfabd22504aa58d Mon Sep 17 00:00:00 2001 From: Daniel Garcia Briseno Date: Sun, 12 Nov 2023 17:29:50 -0500 Subject: [PATCH 1/4] Fix web3-types import --- packages/web3-rpc-methods/src/eth_rpc_methods.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web3-rpc-methods/src/eth_rpc_methods.ts b/packages/web3-rpc-methods/src/eth_rpc_methods.ts index 2a027733dfb..87922fb21a2 100644 --- a/packages/web3-rpc-methods/src/eth_rpc_methods.ts +++ b/packages/web3-rpc-methods/src/eth_rpc_methods.ts @@ -28,7 +28,7 @@ import { Uint256, Web3EthExecutionAPI, } from 'web3-types'; -import { Eip712TypedData } from 'web3-types/src/eth_types'; +import { Eip712TypedData } from 'web3-types'; import { validator } from 'web3-validator'; export async function getProtocolVersion(requestManager: Web3RequestManager) { From 5b7f7dfebd13a76af8b0ea6edc09ba5c27b58780 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Briseno Date: Mon, 13 Nov 2023 12:19:44 -0500 Subject: [PATCH 2/4] Move import --- packages/web3-rpc-methods/src/eth_rpc_methods.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web3-rpc-methods/src/eth_rpc_methods.ts b/packages/web3-rpc-methods/src/eth_rpc_methods.ts index 87922fb21a2..45cd81c449b 100644 --- a/packages/web3-rpc-methods/src/eth_rpc_methods.ts +++ b/packages/web3-rpc-methods/src/eth_rpc_methods.ts @@ -27,8 +27,8 @@ import { Uint, Uint256, Web3EthExecutionAPI, + Eip712TypedData } from 'web3-types'; -import { Eip712TypedData } from 'web3-types'; import { validator } from 'web3-validator'; export async function getProtocolVersion(requestManager: Web3RequestManager) { From 19d7c3635b0275c0a7bc4b1594dac058894efcf0 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Briseno Date: Mon, 13 Nov 2023 12:20:48 -0500 Subject: [PATCH 3/4] trailing comma --- packages/web3-rpc-methods/src/eth_rpc_methods.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web3-rpc-methods/src/eth_rpc_methods.ts b/packages/web3-rpc-methods/src/eth_rpc_methods.ts index 45cd81c449b..59c269051a4 100644 --- a/packages/web3-rpc-methods/src/eth_rpc_methods.ts +++ b/packages/web3-rpc-methods/src/eth_rpc_methods.ts @@ -27,7 +27,7 @@ import { Uint, Uint256, Web3EthExecutionAPI, - Eip712TypedData + Eip712TypedData, } from 'web3-types'; import { validator } from 'web3-validator'; From d1ff2e6bc0c76531d62f3c67a6f95562b71bdd21 Mon Sep 17 00:00:00 2001 From: Muhammad Altabba <24407834+Muhammad-Altabba@users.noreply.github.com> Date: Fri, 17 Nov 2023 08:54:35 +0100 Subject: [PATCH 4/4] update web3-rpc-methods CHANGELOG.md --- packages/web3-rpc-methods/CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/web3-rpc-methods/CHANGELOG.md b/packages/web3-rpc-methods/CHANGELOG.md index dcf92f6e427..59757e0e5ac 100644 --- a/packages/web3-rpc-methods/CHANGELOG.md +++ b/packages/web3-rpc-methods/CHANGELOG.md @@ -126,4 +126,8 @@ Documentation: - Dependencies updated -## [Unreleased] \ No newline at end of file +## [Unreleased] + +### Fixed + +- Fix web3-types import #6590 (#6589)