From 3dc8bd8e7c7b06b6874f708c7ec65b34defffffb Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Tue, 7 Dec 2021 15:06:43 +0300 Subject: [PATCH] =?UTF-8?q?Release=20v0.13.0=20-=20Sinjido=20(=EC=8B=A0?= =?UTF-8?q?=EC=A7=80=EB=8F=84,=20=E8=96=AA=E6=99=BA=E5=B3=B6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alex Vanin --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ README.md | 27 +++++++++++++++------------ common/version.go | 2 +- 3 files changed, 46 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d1498ef..be21c57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,35 @@ # Changelog Changelog for NeoFS Contract +## [0.13.0] - 2021-12-07 - Sinjido (신지도, 薪智島) + +Support of subnetwork contract from NeoFS API v2.11.0. + +### Fixed +- Records with duplicate values are not allowed in NNS anymore (#165) +- Allow multiple `reputation.Put`, `container.PutCotnainerSize`, + `neofsid.AddKey`, `neofsid.RemoveKey`, `neofs.InnerRingCandidateAdd`, + `neofs.InnerRingCandidateRemove` invocations in one block (#101) +- `netmap.UpdateState` checks both node and alphabet signatures in notary + enabled environment (#154) + +### Added +- Version method in NNS contract (#158) +- Subnet contract (#122) +- `netmap.Register` method for notary enabled environment (#154) + +### Changed +- Container contract throws panic if required container is missing (#142) +- Container contract does not throw panic if deleting container is already + removed (#142) +- NNS stores root as regular TLD (#139) +- Use testing framework from neo-go (#161) +- Allow hyphen in domain names in NNS (#180) +- Panic messages do not heave method name prefix anymore (#179) +- `OnNEP17Payment` method calls `Abort` instead of panic (#179) +- Allow arbitrary-level domains in NNS (#172) +- Refactor (#169) + ## [0.12.2] - 2021-11-26 ### Fixed @@ -254,6 +283,7 @@ Preview4-testnet version of NeoFS contracts. Preview4 compatible contracts. +[0.13.0]: https://github.com/nspcc-dev/neofs-contract/compare/v0.12.2...v0.13.0 [0.12.2]: https://github.com/nspcc-dev/neofs-contract/compare/v0.12.1...v0.12.2 [0.12.1]: https://github.com/nspcc-dev/neofs-contract/compare/v0.12.0...v0.12.1 [0.12.0]: https://github.com/nspcc-dev/neofs-contract/compare/v0.11.0...v0.12.0 diff --git a/README.md b/README.md index 73ed4c4..28e1837 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ Side chain contracts: - nns - proxy - reputation +- subnet # Getting started @@ -36,7 +37,7 @@ Side chain contracts: To compile smart contracts you need: -- [neo-go](https://github.com/nspcc-dev/neo-go) >= 0.97.3 +- [neo-go](https://github.com/nspcc-dev/neo-go) >= 0.98.0 ## Compilation @@ -46,17 +47,18 @@ corresponding directories. ``` $ make all -neo-go contract compile -i alphabet -c alphabet/config.yml -m alphabet/config.json -o alphabet/alphabet_contract.nef -neo-go contract compile -i audit -c audit/config.yml -m audit/config.json -o audit/audit_contract.nef -neo-go contract compile -i balance -c balance/config.yml -m balance/config.json -o balance/balance_contract.nef -neo-go contract compile -i container -c container/config.yml -m container/config.json -o container/container_contract.nef -neo-go contract compile -i neofsid -c neofsid/config.yml -m neofsid/config.json -o neofsid/neofsid_contract.nef -neo-go contract compile -i netmap -c netmap/config.yml -m netmap/config.json -o netmap/netmap_contract.nef -neo-go contract compile -i proxy -c proxy/config.yml -m proxy/config.json -o proxy/proxy_contract.nef -neo-go contract compile -i reputation -c reputation/config.yml -m reputation/config.json -o reputation/reputation_contract.nef -neo-go contract compile -i nns -c nns/config.yml -m nns/config.json -o nns/nns_contract.nef -neo-go contract compile -i neofs -c neofs/config.yml -m neofs/config.json -o neofs/neofs_contract.nef -neo-go contract compile -i processing -c processing/config.yml -m processing/config.json -o processing/processing_contract.nef +/home/user/go/bin/cli contract compile -i alphabet -c alphabet/config.yml -m alphabet/config.json -o alphabet/alphabet_contract.nef +/home/user/go/bin/cli contract compile -i audit -c audit/config.yml -m audit/config.json -o audit/audit_contract.nef +/home/user/go/bin/cli contract compile -i balance -c balance/config.yml -m balance/config.json -o balance/balance_contract.nef +/home/user/go/bin/cli contract compile -i container -c container/config.yml -m container/config.json -o container/container_contract.nef +/home/user/go/bin/cli contract compile -i neofsid -c neofsid/config.yml -m neofsid/config.json -o neofsid/neofsid_contract.nef +/home/user/go/bin/cli contract compile -i netmap -c netmap/config.yml -m netmap/config.json -o netmap/netmap_contract.nef +/home/user/go/bin/cli contract compile -i proxy -c proxy/config.yml -m proxy/config.json -o proxy/proxy_contract.nef +/home/user/go/bin/cli contract compile -i reputation -c reputation/config.yml -m reputation/config.json -o reputation/reputation_contract.nef +/home/user/go/bin/cli contract compile -i subnet -c subnet/config.yml -m subnet/config.json -o subnet/subnet_contract.nef +/home/user/go/bin/cli contract compile -i nns -c nns/config.yml -m nns/config.json -o nns/nns_contract.nef +/home/user/go/bin/cli contract compile -i neofs -c neofs/config.yml -m neofs/config.json -o neofs/neofs_contract.nef +/home/user/go/bin/cli contract compile -i processing -c processing/config.yml -m processing/config.json -o processing/processing_contract.nef ``` You can specify path to the `neo-go` binary with `NEOGO` environment variable: @@ -83,6 +85,7 @@ ok github.com/nspcc-dev/neofs-contract/tests 0.462s |v0.10.x|[v2.7.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.7.0), [v2.8.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.8.0)| |v0.11.x|[v2.7.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.7.0), [v2.8.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.8.0), [v2.9.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.9.0)| |v0.12.x|[v2.10.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.10.0)| +|v0.13.x|[v2.11.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.11.0)| # License diff --git a/common/version.go b/common/version.go index b073889..bdd93e4 100644 --- a/common/version.go +++ b/common/version.go @@ -12,7 +12,7 @@ const ( // any migration routines. prevMajor = 0 prevMinor = 12 - prevPatch = 0 + prevPatch = 2 Version = major*1_000_000 + minor*1_000 + patch