Skip to content

Commit

Permalink
Fix TestCaptureUnsupportedBlockTxn testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
rianhughes committed Jul 17, 2023
1 parent 165793f commit a0c6581
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rpcv02/block_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -513,11 +513,12 @@ func TestCaptureUnsupportedBlockTxn(t *testing.T) {
}
for k, v := range blockWithTxs.Transactions {
_, okv1 := v.(InvokeTxnV1)
_, okv0 := v.(InvokeTxnV0)
_, okl1 := v.(L1HandlerTxn)
_, okdec := v.(DeclareTxn)
_, okdep := v.(DeployTxn)
_, okdepac := v.(DeployAccountTxn)
if !okv1 && !okl1 && !okdec && !okdep && !okdepac {
if !okv0 && !okv1 && !okl1 && !okdec && !okdep && !okdepac {
t.Fatalf("New Type Detected %T at Block(%d)/Txn(%d)", v, i, k)
}
}
Expand Down

0 comments on commit a0c6581

Please sign in to comment.