Skip to content

Commit

Permalink
Merge pull request #67 from moonstream-to/fix-b3-client
Browse files Browse the repository at this point in the history
Fix b3 client.
  • Loading branch information
Andrei-Dolgolev authored Sep 13, 2024
2 parents 97c35e2 + 09d28e4 commit 2be1c2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions blockchain/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package version

var SeerVersion string = "0.1.20"
var SeerVersion string = "0.1.21"

0 comments on commit 2be1c2c

Please sign in to comment.