config: add InitialGASSupply, fix #2073

We now have 52M by default.
This commit is contained in:
Roman Khimov 2021-07-20 15:54:56 +03:00
parent c88ebaede9
commit 36d486a664
12 changed files with 45 additions and 22 deletions

View file

@ -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))
}