mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
Fixup tx parse context tests
This commit is contained in:
parent
c4ecf30606
commit
5a02748bb0
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user