mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 03:41:34 +00:00
d1a9aa1d0d
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.
14 lines
323 B
Go
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))
|
|
}
|