2021-03-29 12:49:46 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2021-07-20 12:54:56 +00:00
|
|
|
"github.com/nspcc-dev/neo-go/pkg/config"
|
2021-03-29 12:49:46 +00:00
|
|
|
"github.com/nspcc-dev/neo-go/pkg/core/native"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestCompatibility(t *testing.T) {
|
2021-07-20 12:54:56 +00:00
|
|
|
cs := native.NewContracts(config.ProtocolConfiguration{})
|
2021-03-29 12:49:46 +00:00
|
|
|
require.Equal(t, cs.Ledger.ID, int32(ledgerContractID))
|
|
|
|
}
|