From 09d28e48138e007c7118f4988ff448fa8a7a14b2 Mon Sep 17 00:00:00 2001 From: Andrey Date: Fri, 13 Sep 2024 21:58:03 +0300 Subject: [PATCH] Fix b3 client. --- blockchain/handlers.go | 6 ++++-- version/version.go | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/blockchain/handlers.go b/blockchain/handlers.go index e3ae817..dbc44c1 100644 --- a/blockchain/handlers.go +++ b/blockchain/handlers.go @@ -11,6 +11,8 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi" "github.com/moonstream-to/seer/blockchain/arbitrum_one" "github.com/moonstream-to/seer/blockchain/arbitrum_sepolia" + "github.com/moonstream-to/seer/blockchain/b3" + "github.com/moonstream-to/seer/blockchain/b3_sepolia" seer_common "github.com/moonstream-to/seer/blockchain/common" "github.com/moonstream-to/seer/blockchain/ethereum" "github.com/moonstream-to/seer/blockchain/game7_orbit_arbitrum_sepolia" @@ -68,10 +70,10 @@ func NewClient(chain, url string, timeout int) (BlockchainClient, error) { client, err := imx_zkevm_sepolia.NewClient(url, timeout) return client, err } else if chain == "b3" { - client, err := imx_zkevm_sepolia.NewClient(url, timeout) + client, err := b3.NewClient(url, timeout) return client, err } else if chain == "b3_sepolia" { - client, err := imx_zkevm_sepolia.NewClient(url, timeout) + client, err := b3_sepolia.NewClient(url, timeout) return client, err } else { return nil, errors.New("unsupported chain type") diff --git a/version/version.go b/version/version.go index b1723b9..6b597fe 100644 --- a/version/version.go +++ b/version/version.go @@ -1,3 +1,3 @@ package version -var SeerVersion string = "0.1.20" +var SeerVersion string = "0.1.21"