forked from TrueCloudLab/frostfs-contract
[#50] Drop notaryless deploy parameter
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
09281e3ef3
commit
6e9c770142
16 changed files with 53 additions and 117 deletions
|
@ -43,8 +43,7 @@ type Node struct {
|
|||
}
|
||||
|
||||
const (
|
||||
notaryDisabledKey = "notary"
|
||||
innerRingKey = "innerring"
|
||||
innerRingKey = "innerring"
|
||||
|
||||
// DefaultSnapshotCount contains the number of previous snapshots stored by this contract.
|
||||
// Must be less than 255.
|
||||
|
@ -70,16 +69,12 @@ var (
|
|||
func _deploy(data interface{}, isUpdate bool) {
|
||||
ctx := storage.GetContext()
|
||||
|
||||
common.RmAndCheckNotaryDisabledKey(data, notaryDisabledKey)
|
||||
|
||||
var args = data.(struct {
|
||||
//TODO(@acid-ant): #9 remove notaryDisabled in future version
|
||||
notaryDisabled bool
|
||||
addrBalance interop.Hash160
|
||||
addrContainer interop.Hash160
|
||||
keys []interop.PublicKey
|
||||
config [][]byte
|
||||
version int
|
||||
addrBalance interop.Hash160
|
||||
addrContainer interop.Hash160
|
||||
keys []interop.PublicKey
|
||||
config [][]byte
|
||||
version int
|
||||
})
|
||||
|
||||
ln := len(args.config)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue