Skip to content

Commit

Permalink
neofs-adm: use registerTLD to register TLD (#2740)
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-khimov authored Feb 13, 2024
2 parents 99ce9a0 + 7df490e commit d54311b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changelog for NeoFS Node
### Added

### Fixed
- Inability to deploy contract with non-standard zone via neofs-adm

### Changed

Expand Down
4 changes: 2 additions & 2 deletions cmd/neofs-adm/internal/modules/morph/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ func deployContractCmd(cmd *cobra.Command, args []string) error {
} else if !ok {
needRecord = true

emit.AppCall(bw.BinWriter, nnsCs.Hash, "register", callflag.All,
zone, c.CommitteeAcc.Contract.ScriptHash(),
emit.AppCall(bw.BinWriter, nnsCs.Hash, "registerTLD", callflag.All,
zone,
"ops@nspcc.ru", int64(3600), int64(600), int64(defaultExpirationTime), int64(3600))
emit.Opcodes(bw.BinWriter, opcode.ASSERT)

Expand Down

0 comments on commit d54311b

Please sign in to comment.