parent
c88ebaede9
commit
36d486a664
12 changed files with 45 additions and 22 deletions
|
@ -3,11 +3,12 @@ package main
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
||||
"github.com/nspcc-dev/neo-go/pkg/core/native"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
func TestCompatibility(t *testing.T) {
|
||||
cs := native.NewContracts(false, map[string][]uint32{})
|
||||
cs := native.NewContracts(config.ProtocolConfiguration{})
|
||||
require.Equal(t, cs.Ledger.ID, int32(ledgerContractID))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue