adm/morph: add NNS address display #1430

Merged
fyrchik merged 1 commit from achuprov/frostfs-node:adm-nns_addr into master 2024-10-15 13:56:38 +00:00
Member

This is necessary for easier interaction with NNS through the neo-go contract invokefunction.

Stage 1: transfer GAS to alphabet nodes.
Waiting for transactions to persist...
Stage 2: set notary and alphabet nodes in designate contract.
Waiting for transactions to persist...
Stage 3: deploy NNS contract.
NNS: fffdc93764dbaddd97c48f252a53ea4643faa3fd              <---
Waiting for transactions to persist...
Stage 4: deploy NeoFS contracts.
Waiting for transactions to persist...
Stage 4.1: Transfer GAS to proxy contract.
Waiting for transactions to persist...
Stage 5: register candidates.
Waiting for transactions to persist...
Stage 6: transfer NEO to alphabet contracts.
Waiting for transactions to persist...
Stage 7: set addresses in NNS.
NNS: Set alphabet0.frostfs -> df07f9f6a49ce9fbc54c842573eb54c6affc5b87
NNS: Set balance.frostfs -> b828ac6c83f9ed6f5ec7d93af5d3bc6952734181
NNS: Set container.frostfs -> b13a61323f40cd2a225adcc2a5db303462880bd3
NNS: Set frostfsid.frostfs -> da9daeb7aeece0ca8b156723a532a88e2519a6bd
NNS: Set netmap.frostfs -> 23a51b782684567e6f2f7cd587e121d1f77e2cfe
NNS: Set policy.frostfs -> 869a0e75b4c3b1deb2c68412752ff61c263c64d7
NNS: Set proxy.frostfs -> acb70505a38ff087bb716111341588a7223b6ac8
NNS: Set group.frostfs -> 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2
Waiting for transactions to persist...
Set rule chain to policy contract

Signed-off-by: Alexander Chuprov a.chuprov@yadro.com

This is necessary for easier interaction with NNS through the `neo-go contract invokefunction`. ``` Stage 1: transfer GAS to alphabet nodes. Waiting for transactions to persist... Stage 2: set notary and alphabet nodes in designate contract. Waiting for transactions to persist... Stage 3: deploy NNS contract. NNS: fffdc93764dbaddd97c48f252a53ea4643faa3fd <--- Waiting for transactions to persist... Stage 4: deploy NeoFS contracts. Waiting for transactions to persist... Stage 4.1: Transfer GAS to proxy contract. Waiting for transactions to persist... Stage 5: register candidates. Waiting for transactions to persist... Stage 6: transfer NEO to alphabet contracts. Waiting for transactions to persist... Stage 7: set addresses in NNS. NNS: Set alphabet0.frostfs -> df07f9f6a49ce9fbc54c842573eb54c6affc5b87 NNS: Set balance.frostfs -> b828ac6c83f9ed6f5ec7d93af5d3bc6952734181 NNS: Set container.frostfs -> b13a61323f40cd2a225adcc2a5db303462880bd3 NNS: Set frostfsid.frostfs -> da9daeb7aeece0ca8b156723a532a88e2519a6bd NNS: Set netmap.frostfs -> 23a51b782684567e6f2f7cd587e121d1f77e2cfe NNS: Set policy.frostfs -> 869a0e75b4c3b1deb2c68412752ff61c263c64d7 NNS: Set proxy.frostfs -> acb70505a38ff087bb716111341588a7223b6ac8 NNS: Set group.frostfs -> 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2 Waiting for transactions to persist... Set rule chain to policy contract ``` Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
achuprov requested review from storage-core-committers 2024-10-14 13:29:11 +00:00
achuprov requested review from storage-core-developers 2024-10-14 13:29:15 +00:00
Member

Could you print an example of new output?

Could you print an example of new output?
Author
Member

Could you print an example of new output?

@acid-ant See description of PR (Stage 3)

> Could you print an example of new output? @acid-ant See description of PR (Stage 3)
acid-ant approved these changes 2024-10-14 14:08:40 +00:00
Dismissed
fyrchik reviewed 2024-10-14 15:15:39 +00:00
@ -166,5 +166,6 @@ func DeployNNS(c *InitializeContext, method string) error {
return fmt.Errorf("can't send deploy transaction: %w", err)
}
c.Command.Println("NNS:", invokeHash.StringLE())
Owner

NNS hash:

NNS hash:
fyrchik marked this conversation as resolved
fyrchik approved these changes 2024-10-14 15:15:50 +00:00
Dismissed
achuprov force-pushed adm-nns_addr from f421a9a4ef to e25f25cf99 2024-10-15 09:29:33 +00:00 Compare
achuprov dismissed acid-ant's review 2024-10-15 09:29:34 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

achuprov dismissed fyrchik's review 2024-10-15 09:29:34 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

fyrchik approved these changes 2024-10-15 13:56:28 +00:00
fyrchik merged commit 07ce40e119 into master 2024-10-15 13:56:38 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-developers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1430
No description provided.