diff --git a/pkg/compiler/native_test.go b/pkg/compiler/native_test.go index 8d8771f55..644d9bace 100644 --- a/pkg/compiler/native_test.go +++ b/pkg/compiler/native_test.go @@ -71,6 +71,7 @@ func TestContractParameterTypes(t *testing.T) { func TestRoleManagementRole(t *testing.T) { require.EqualValues(t, native.RoleOracle, roles.Oracle) require.EqualValues(t, native.RoleStateValidator, roles.StateValidator) + require.EqualValues(t, native.RoleNeoFSAlphabet, roles.NeoFSAlphabet) require.EqualValues(t, native.RoleP2PNotary, roles.P2PNotary) } diff --git a/pkg/interop/native/roles/roles.go b/pkg/interop/native/roles/roles.go index 6ccdb00a0..a8c22b1ae 100644 --- a/pkg/interop/native/roles/roles.go +++ b/pkg/interop/native/roles/roles.go @@ -20,6 +20,7 @@ type Role byte const ( StateValidator Role = 4 Oracle Role = 8 + NeoFSAlphabet Role = 16 // P2PNotary is an extension of Neo protocol available on specifically configured NeoGo networks. P2PNotary Role = 128 )