core: remove conflicting transactions wrt MaxTraceableBlocks

This commit is contained in:
Anna Shaleva 2021-08-17 18:40:11 +03:00
parent 483934d3a6
commit 4b35a1cf92
9 changed files with 39 additions and 30 deletions

View file

@ -17,7 +17,7 @@ func testNonInterop(t *testing.T, value interface{}, f func(*interop.Context) er
v := vm.New()
v.Estack().PushVal(value)
chain := newTestChain(t)
d := dao.NewSimple(storage.NewMemoryStore(), chain.config.StateRootInHeader)
d := dao.NewSimple(storage.NewMemoryStore(), chain.config.StateRootInHeader, chain.config.P2PSigExtensions)
context := chain.newInteropContext(trigger.Application, d, nil, nil)
context.VM = v
require.Error(t, f(context))