roles: add missing NeoFSAlphabet role
This commit is contained in:
parent
b56e028733
commit
83cb5ff07b
2 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue