From 21e8d47ae3c3f3813837adb14e2c331767f2110a Mon Sep 17 00:00:00 2001 From: Marcin Gorzynski Date: Wed, 23 Oct 2024 16:39:48 +0200 Subject: [PATCH] ethrpc: unit test --- ethrpc/ethrpc_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ethrpc/ethrpc_test.go b/ethrpc/ethrpc_test.go index 8730c3a..ea4dc4b 100644 --- a/ethrpc/ethrpc_test.go +++ b/ethrpc/ethrpc_test.go @@ -225,9 +225,9 @@ func TestRaw(t *testing.T) { } } -// todo: uncommented when those call are available on node-gateway +// todo: uncomment when those call are available on node-gateway /*func TestDebugTraceBlockByNumber(t *testing.T) { - p, err := ethrpc.NewProvider("...") + p, err := ethrpc.NewProvider("https://nodes.sequence.app/polygon") require.NoError(t, err) ctx := context.Background() @@ -238,7 +238,7 @@ func TestRaw(t *testing.T) { } func TestDebugTraceBlockByHash(t *testing.T) { - p, err := ethrpc.NewProvider("...") + p, err := ethrpc.NewProvider("https://nodes.sequence.app/polygon") require.NoError(t, err) ctx := context.Background() @@ -249,7 +249,7 @@ func TestDebugTraceBlockByHash(t *testing.T) { } func TestDebugTraceTransaction(t *testing.T) { - p, err := ethrpc.NewProvider("...") + p, err := ethrpc.NewProvider("https://nodes.sequence.app/polygon") require.NoError(t, err) ctx := context.Background()