Skip to content

Commit

Permalink
remove debug print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
AryanGodara committed Apr 10, 2024
1 parent 5a94b3c commit 36df561
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions rpc/transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package rpc

import (
"context"
"fmt"
"testing"

"github.com/NethermindEth/juno/core/felt"
Expand Down Expand Up @@ -153,13 +152,13 @@ func TestTransactionByBlockIdAndIndex(t *testing.T) {
ExpectedTxn: InvokeTxnV3example,
},
},
"testnet": {
{
BlockID: WithBlockHash(utils.TestHexToFelt(t, "0x4ae5d52c75e4dea5694f456069f830cfbc7bec70427eee170c3385f751b8564")),
Index: 15,
ExpectedTxn: InvokeTxnV3example,
},
},
// "testnet": {
// {
// BlockID: WithBlockHash(utils.TestHexToFelt(t, "0x4ae5d52c75e4dea5694f456069f830cfbc7bec70427eee170c3385f751b8564")),
// Index: 15,
// ExpectedTxn: InvokeTxnV3example,
// },
// },
"mainnet": {},
}[testEnv]
for _, test := range testSet {
Expand All @@ -172,7 +171,6 @@ func TestTransactionByBlockIdAndIndex(t *testing.T) {
if tx == nil {
t.Fatal("transaction should exist")
}
fmt.Println(tx)
txCasted, ok := (tx).(InvokeTxnV3)
if !ok {
t.Fatalf("transaction should be InvokeTxnV3, instead %T", tx)
Expand Down

0 comments on commit 36df561

Please sign in to comment.