mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-25 17:34:36 +00:00
permission/types pkg, Base and Roles
This commit is contained in:
+1
-11
@@ -45,7 +45,7 @@ type Account struct {
|
||||
Code []byte `json:"code"` // VM code
|
||||
StorageRoot []byte `json:"storage_root"` // VM storage merkle root.
|
||||
|
||||
Permissions *ptypes.Permissions `json:"permissions"`
|
||||
Permissions *ptypes.AccountPermissions `json:"permissions"`
|
||||
}
|
||||
|
||||
func (acc *Account) Copy() *Account {
|
||||
@@ -70,13 +70,3 @@ var AccountCodec = binary.Codec{
|
||||
Encode: AccountEncoder,
|
||||
Decode: AccountDecoder,
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
// defaults for a Big Bad Public Blockchain
|
||||
var DefaultPermissions = ptypes.Permissions{
|
||||
Send: true,
|
||||
Call: true,
|
||||
Create: true,
|
||||
Bond: true,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user