Adm command to update main chain neofs contract #1458

Open
opened 2025-12-28 17:23:04 +00:00 by sami · 1 comment
Owner

Originally created by @roman-khimov on GitHub (Jul 14, 2025).

I'm always frustrated when I need to update neofs contract manually with

./bin/neo-go contract invokefunction --out some.json -w az.json -r https://rpc.t5.n3.nspcc.ru:20331 NZAUkYbJ1Cb2HrNmwZ1pg9xYHBhm2FgtKV update filebytes:neofs/contract.nef filebytes:neofs/manifest.json nil -- NcpsEDEGQjFeFacq4gk9PVrzGiGGM2yMwn:CalledByEntry
./bin/neo-go wallet sign --in some.json --out some-2.json -w buky.json -a NcpsEDEGQjFeFacq4gk9PVrzGiGGM2yMwn
./bin/neo-go wallet sign --in some-2.json --out some-3.json -w vedi.json -a NcpsEDEGQjFeFacq4gk9PVrzGiGGM2yMwn
./bin/neo-go wallet sign --in some-3.json --out some-4.json -w glagoli.json -a NcpsEDEGQjFeFacq4gk9PVrzGiGGM2yMwn
./bin/neo-go wallet sign --in some-4.json -r https://rpc.t5.n3.nspcc.ru:20331 -w dobro.json -a NcpsEDEGQjFeFacq4gk9PVrzGiGGM2yMwn

Describe the solution you'd like

Add an adm command to do it. It's not FS chain, so it's a bit more complicated to handle, but signature handling mechanics is the same.

Originally created by @roman-khimov on GitHub (Jul 14, 2025). ## Is your feature request related to a problem? Please describe. I'm always frustrated when I need to update neofs contract manually with ``` ./bin/neo-go contract invokefunction --out some.json -w az.json -r https://rpc.t5.n3.nspcc.ru:20331 NZAUkYbJ1Cb2HrNmwZ1pg9xYHBhm2FgtKV update filebytes:neofs/contract.nef filebytes:neofs/manifest.json nil -- NcpsEDEGQjFeFacq4gk9PVrzGiGGM2yMwn:CalledByEntry ./bin/neo-go wallet sign --in some.json --out some-2.json -w buky.json -a NcpsEDEGQjFeFacq4gk9PVrzGiGGM2yMwn ./bin/neo-go wallet sign --in some-2.json --out some-3.json -w vedi.json -a NcpsEDEGQjFeFacq4gk9PVrzGiGGM2yMwn ./bin/neo-go wallet sign --in some-3.json --out some-4.json -w glagoli.json -a NcpsEDEGQjFeFacq4gk9PVrzGiGGM2yMwn ./bin/neo-go wallet sign --in some-4.json -r https://rpc.t5.n3.nspcc.ru:20331 -w dobro.json -a NcpsEDEGQjFeFacq4gk9PVrzGiGGM2yMwn ``` ## Describe the solution you'd like Add an adm command to do it. It's not FS chain, so it's a bit more complicated to handle, but signature handling mechanics is the same.
Author
Owner

@roman-khimov commented on GitHub (Jul 14, 2025):

Even more fun fro mainnet since NTBcx9pNeoPERDsCv7xbVQwY8UyBZvnSiR doesn't have any GAS.

@roman-khimov commented on GitHub (Jul 14, 2025): Even more fun fro mainnet since NTBcx9pNeoPERDsCv7xbVQwY8UyBZvnSiR doesn't have any GAS.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
nspcc-dev/neofs-node#1458
No description provided.