Fixup tx parse context tests

This commit is contained in:
3commascapital 2023-11-06 13:00:13 -06:00
parent c4ecf30606
commit 5a02748bb0
No known key found for this signature in database

View File

@ -25,7 +25,7 @@ func TestDump(t *testing.T) {
t.Run("txs", func(t *testing.T) { t.Run("txs", func(t *testing.T) {
require := require.New(t) require := require.New(t)
slot := types2.TxSlot{} slot := types2.TxSlot{}
parseCtx := types2.NewTxParseContext(*chainID) parseCtx := types2.NewTxParseContext(*chainID, false)
parseCtx.WithSender(false) parseCtx.WithSender(false)
var sender [20]byte var sender [20]byte
@ -50,7 +50,7 @@ func TestDump(t *testing.T) {
t.Run("txs_not_from_zero", func(t *testing.T) { t.Run("txs_not_from_zero", func(t *testing.T) {
require := require.New(t) require := require.New(t)
slot := types2.TxSlot{} slot := types2.TxSlot{}
parseCtx := types2.NewTxParseContext(*chainID) parseCtx := types2.NewTxParseContext(*chainID, false)
parseCtx.WithSender(false) parseCtx.WithSender(false)
var sender [20]byte var sender [20]byte