Skip to content

Commit

Permalink
test with hand-made feeder data
Browse files Browse the repository at this point in the history
  • Loading branch information
pnowosie committed Oct 23, 2024
1 parent abfec15 commit dae4ff2
Show file tree
Hide file tree
Showing 3 changed files with 177 additions and 202 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"revert_error": "This is hand-made transaction used for txStatus endpoint test",
"execution_status": "REJECTED",
"finality_status": "ACCEPTED_ON_L1",
"status": "REVERTED",
"block_hash": "0x111100000000111100000000333300000000444400000000111100000000111",
"block_number": 304740,
"transaction_index": 1,
"transaction_hash": "0x111100000000222200000000333300000000444400000000555500000000fff",
"l2_to_l1_messages": [],
"events": [],
"actual_fee": "0x247aff6e224"
}
3 changes: 2 additions & 1 deletion rpc/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package rpc
import (
"context"
"encoding/json"

"github.com/NethermindEth/juno/blockchain"
"github.com/NethermindEth/juno/core"
"github.com/NethermindEth/juno/core/felt"
Expand Down Expand Up @@ -585,7 +586,7 @@ func (h *Handler) sendTxnStatus(w jsonrpc.Conn, status *NewTransactionStatus, id
if err != nil {
return err
}
h.log.Infow("Sending Txn status", "status", string(resp))
h.log.Debugw("Sending Txn status", "status", string(resp))
_, err = w.Write(resp)
return err
}
Expand Down
Loading

0 comments on commit dae4ff2

Please sign in to comment.