container: Add SetAdmin #137
No reviewers
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-contract#137
Loading…
Reference in a new issue
No description provided.
Delete branch "achuprov/frostfs-contract:feat/add_setAdmin"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Close #136
SetAdmin
will allow to manage the root domain of thecontainer
.@ -39,1 +43,4 @@
}
// CheckCommittee panics if the script container is not signed by the committee.
func CheckCommittee() {
There is
common.CommitteeAddress
, this function it not needed.I see it was moved -- the NNS one should be removed completely, this PR should not touch anything.
2824febc8f
to077df6c5d6
@ -568,0 +569,4 @@
func SetAdmin(admin interop.Hash160) {
ctx := storage.GetReadOnlyContext()
if !common.HasUpdateAccess() {
It looks strange in
SetAdmin
. Could you inline it?See
Verify()
in proxy contract as an example.077df6c5d6
to7e8af9c59f
New commits pushed, approval review dismissed automatically according to repository settings
@ -29,2 +29,4 @@
)
const (
containerRootDomain = "container"
This change is completely unrelated to the commit.
Please, revert or move to a separate commit.
container: Add SetAdminto WIP: container: Add SetAdmin7e8af9c59f
to01dc0b077b
01dc0b077b
to3c7a9cb743
WIP: container: Add SetAdminto container: Add SetAdmin