mirror of
https://github.com/nspcc-dev/neofs-contract.git
synced 2026-03-01 04:28:59 +00:00
Get contract hashes from NNS during setup #133
Labels
No labels
I1
I2
I3
I4
S1
S2
S3
S4
U1
U2
U3
U4
alphabet
audit
balance
blocked
bug
config
container
discussion
documentation
enhancement
feature
go
good first issue
help wanted
neofs
neofsid
netmap
nns
nns
performance
proxy
question
reputation
security
task
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-contract#133
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @roman-khimov on GitHub (Feb 14, 2023).
We have a number of contracts and they use each other for various purposes, so many of them have
_deployparameters to specify hashes of other contracts. These parameters are not very useful and making deployment/upgrades more complicated then they need to be since we always have NNS in sidechain and it always has proper hashes of the target contracts.@cthulhu-rider commented on GitHub (Mar 28, 2023):
I'm a bit confused of next deployment parameters:
Containercontract depends onNetmapcontract addressnspcc-dev/neofs-contract@715425a0a7/container/container_contract.go (L146)Netmapcontract depends onContainercontract addressnspcc-dev/neofs-contract@715425a0a7/netmap/netmap_contract.go (L99)Will there be a conflict during deployment, or it is assumed that the hashes are known in advance (in the current topic - registered in the NNS)?
@roman-khimov commented on GitHub (Mar 28, 2023):
The first one is only used during
cleanupand can be reworked to not do so, #327.