neo-go/scripts/compare-dumps/compare-dumps_test.go
Roman Khimov d1a9aa1d0d scripts: add compare-states, related to #2337
Allows to quickly find the bad block and compare application
logs. Theoretically could also walk through the MPT to find the difference
there, but it's not needed now.
2022-01-26 10:11:19 +03:00

14 lines
323 B
Go

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(config.ProtocolConfiguration{})
require.Equal(t, cs.Ledger.ID, int32(ledgerContractID))
}