Skip to content

Commit

Permalink
fix ethrpc test
Browse files Browse the repository at this point in the history
  • Loading branch information
pkieltyka committed Jul 25, 2023
1 parent 3b984e1 commit 605b3f7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ethrpc/ethrpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func TestERC20MintAndTransfer(t *testing.T) {
}

func TestBlockByNumber(t *testing.T) {
p, err := ethrpc.NewProvider("https://nodes.sequence.app/polygon/test")
p, err := ethrpc.NewProvider("https://nodes.sequence.app/polygon")
require.NoError(t, err)

{
Expand All @@ -101,7 +101,7 @@ func TestBlockByNumber(t *testing.T) {
}

// func TestBlockRange(t *testing.T) {
// p, err := ethrpc.NewProvider("https://dev-nodes.sequence.app/optimism/test")
// p, err := ethrpc.NewProvider("https://dev-nodes.sequence.app/optimism")
// require.NoError(t, err)

// {
Expand All @@ -112,7 +112,7 @@ func TestBlockByNumber(t *testing.T) {
// }

func ExampleBatchCall() {
p, err := ethrpc.NewProvider("https://nodes.sequence.app/polygon/test")
p, err := ethrpc.NewProvider("https://nodes.sequence.app/polygon")
if err != nil {
panic(err)
}
Expand Down Expand Up @@ -143,7 +143,7 @@ func ExampleBatchCall() {

func TestETHRPC(t *testing.T) {
t.Run("Single", func(t *testing.T) {
p, err := ethrpc.NewProvider("https://nodes.sequence.app/polygon/test")
p, err := ethrpc.NewProvider("https://nodes.sequence.app/polygon")
require.NoError(t, err)

chainID, err := p.ChainID(context.Background())
Expand All @@ -153,7 +153,7 @@ func TestETHRPC(t *testing.T) {
})

t.Run("Batch", func(t *testing.T) {
p, err := ethrpc.NewProvider("https://nodes.sequence.app/polygon/test")
p, err := ethrpc.NewProvider("https://nodes.sequence.app/polygon")
require.NoError(t, err)

var (
Expand Down

0 comments on commit 605b3f7

Please sign in to comment.