Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neofs-adm: use registerTLD to register TLD #2740

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@
} 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,

Check warning on line 130 in cmd/neofs-adm/internal/modules/morph/deploy.go

View check run for this annotation

Codecov / codecov/patch

cmd/neofs-adm/internal/modules/morph/deploy.go#L129-L130

Added lines #L129 - L130 were not covered by tests
"[email protected]", int64(3600), int64(600), int64(defaultExpirationTime), int64(3600))
emit.Opcodes(bw.BinWriter, opcode.ASSERT)

Expand Down
Loading