From 6c805c1b4e42b166906fad58f52820292587b1fc Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 12 Dec 2022 23:01:38 +0300 Subject: [PATCH] Move from nspcc-dev to TrueCloudLab Signed-off-by: Evgenii Stratonikov --- README.md | 2 +- alphabet/alphabet_contract.go | 2 +- audit/audit_contract.go | 2 +- balance/balance_contract.go | 2 +- container/container_contract.go | 2 +- go.mod | 2 +- neofs/neofs_contract.go | 2 +- neofsid/neofsid_contract.go | 2 +- netmap/netmap_contract.go | 2 +- nns/nns_contract.go | 2 +- processing/processing_contract.go | 2 +- proxy/proxy_contract.go | 2 +- reputation/reputation_contract.go | 2 +- subnet/subnet_contract.go | 2 +- tests/alphabet_test.go | 4 ++-- tests/container_test.go | 6 +++--- tests/neofs_test.go | 2 +- tests/neofsid_test.go | 2 +- tests/netmap_test.go | 6 +++--- tests/nns_test.go | 2 +- tests/subnet_test.go | 4 ++-- tests/version_test.go | 2 +- 22 files changed, 28 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index a79e269..12ae123 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ Smartcontract tests reside in `tests/` directory. To execute test suite after applying changes, simply run `make test`. ``` $ make test -ok github.com/nspcc-dev/neofs-contract/tests 0.462s +ok github.com/TrueCloudLab/frostfs-contract/tests 0.462s ``` # NeoFS API compatibility diff --git a/alphabet/alphabet_contract.go b/alphabet/alphabet_contract.go index 5443c37..e3c4df5 100644 --- a/alphabet/alphabet_contract.go +++ b/alphabet/alphabet_contract.go @@ -1,6 +1,7 @@ package alphabet import ( + "github.com/TrueCloudLab/frostfs-contract/common" "github.com/nspcc-dev/neo-go/pkg/interop" "github.com/nspcc-dev/neo-go/pkg/interop/contract" "github.com/nspcc-dev/neo-go/pkg/interop/native/crypto" @@ -9,7 +10,6 @@ import ( "github.com/nspcc-dev/neo-go/pkg/interop/native/neo" "github.com/nspcc-dev/neo-go/pkg/interop/runtime" "github.com/nspcc-dev/neo-go/pkg/interop/storage" - "github.com/nspcc-dev/neofs-contract/common" ) const ( diff --git a/audit/audit_contract.go b/audit/audit_contract.go index 0dedb09..7dcc2e8 100644 --- a/audit/audit_contract.go +++ b/audit/audit_contract.go @@ -1,6 +1,7 @@ package audit import ( + "github.com/TrueCloudLab/frostfs-contract/common" "github.com/nspcc-dev/neo-go/pkg/interop" "github.com/nspcc-dev/neo-go/pkg/interop/contract" "github.com/nspcc-dev/neo-go/pkg/interop/iterator" @@ -8,7 +9,6 @@ import ( "github.com/nspcc-dev/neo-go/pkg/interop/native/management" "github.com/nspcc-dev/neo-go/pkg/interop/runtime" "github.com/nspcc-dev/neo-go/pkg/interop/storage" - "github.com/nspcc-dev/neofs-contract/common" ) type ( diff --git a/balance/balance_contract.go b/balance/balance_contract.go index f266818..5cb019b 100644 --- a/balance/balance_contract.go +++ b/balance/balance_contract.go @@ -1,6 +1,7 @@ package balance import ( + "github.com/TrueCloudLab/frostfs-contract/common" "github.com/nspcc-dev/neo-go/pkg/interop" "github.com/nspcc-dev/neo-go/pkg/interop/contract" "github.com/nspcc-dev/neo-go/pkg/interop/iterator" @@ -8,7 +9,6 @@ import ( "github.com/nspcc-dev/neo-go/pkg/interop/native/std" "github.com/nspcc-dev/neo-go/pkg/interop/runtime" "github.com/nspcc-dev/neo-go/pkg/interop/storage" - "github.com/nspcc-dev/neofs-contract/common" ) type ( diff --git a/container/container_contract.go b/container/container_contract.go index c372123..1f773f3 100644 --- a/container/container_contract.go +++ b/container/container_contract.go @@ -1,6 +1,7 @@ package container import ( + "github.com/TrueCloudLab/frostfs-contract/common" "github.com/nspcc-dev/neo-go/pkg/interop" "github.com/nspcc-dev/neo-go/pkg/interop/contract" "github.com/nspcc-dev/neo-go/pkg/interop/convert" @@ -10,7 +11,6 @@ import ( "github.com/nspcc-dev/neo-go/pkg/interop/native/std" "github.com/nspcc-dev/neo-go/pkg/interop/runtime" "github.com/nspcc-dev/neo-go/pkg/interop/storage" - "github.com/nspcc-dev/neofs-contract/common" ) type ( diff --git a/go.mod b/go.mod index f0dc021..da98277 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/nspcc-dev/neofs-contract +module github.com/TrueCloudLab/frostfs-contract go 1.14 diff --git a/neofs/neofs_contract.go b/neofs/neofs_contract.go index 2a612d3..cd62469 100644 --- a/neofs/neofs_contract.go +++ b/neofs/neofs_contract.go @@ -1,6 +1,7 @@ package neofs import ( + "github.com/TrueCloudLab/frostfs-contract/common" "github.com/nspcc-dev/neo-go/pkg/interop" "github.com/nspcc-dev/neo-go/pkg/interop/contract" "github.com/nspcc-dev/neo-go/pkg/interop/iterator" @@ -12,7 +13,6 @@ import ( "github.com/nspcc-dev/neo-go/pkg/interop/native/std" "github.com/nspcc-dev/neo-go/pkg/interop/runtime" "github.com/nspcc-dev/neo-go/pkg/interop/storage" - "github.com/nspcc-dev/neofs-contract/common" ) type ( diff --git a/neofsid/neofsid_contract.go b/neofsid/neofsid_contract.go index 134db2f..4db3548 100644 --- a/neofsid/neofsid_contract.go +++ b/neofsid/neofsid_contract.go @@ -1,6 +1,7 @@ package neofsid import ( + "github.com/TrueCloudLab/frostfs-contract/common" "github.com/nspcc-dev/neo-go/pkg/interop" "github.com/nspcc-dev/neo-go/pkg/interop/contract" "github.com/nspcc-dev/neo-go/pkg/interop/iterator" @@ -8,7 +9,6 @@ import ( "github.com/nspcc-dev/neo-go/pkg/interop/native/management" "github.com/nspcc-dev/neo-go/pkg/interop/runtime" "github.com/nspcc-dev/neo-go/pkg/interop/storage" - "github.com/nspcc-dev/neofs-contract/common" ) type ( diff --git a/netmap/netmap_contract.go b/netmap/netmap_contract.go index 6112032..f81d623 100644 --- a/netmap/netmap_contract.go +++ b/netmap/netmap_contract.go @@ -1,6 +1,7 @@ package netmap import ( + "github.com/TrueCloudLab/frostfs-contract/common" "github.com/nspcc-dev/neo-go/pkg/interop" "github.com/nspcc-dev/neo-go/pkg/interop/contract" "github.com/nspcc-dev/neo-go/pkg/interop/iterator" @@ -10,7 +11,6 @@ import ( "github.com/nspcc-dev/neo-go/pkg/interop/native/std" "github.com/nspcc-dev/neo-go/pkg/interop/runtime" "github.com/nspcc-dev/neo-go/pkg/interop/storage" - "github.com/nspcc-dev/neofs-contract/common" ) // NodeState is an enumeration for node states. diff --git a/nns/nns_contract.go b/nns/nns_contract.go index 8894294..899ad3e 100644 --- a/nns/nns_contract.go +++ b/nns/nns_contract.go @@ -9,6 +9,7 @@ must be added by committee before a new domain name can be registered. package nns import ( + "github.com/TrueCloudLab/frostfs-contract/common" "github.com/nspcc-dev/neo-go/pkg/interop" "github.com/nspcc-dev/neo-go/pkg/interop/contract" "github.com/nspcc-dev/neo-go/pkg/interop/iterator" @@ -19,7 +20,6 @@ import ( "github.com/nspcc-dev/neo-go/pkg/interop/runtime" "github.com/nspcc-dev/neo-go/pkg/interop/storage" "github.com/nspcc-dev/neo-go/pkg/interop/util" - "github.com/nspcc-dev/neofs-contract/common" ) // Prefixes used for contract data storage. diff --git a/processing/processing_contract.go b/processing/processing_contract.go index ddbf20a..01cd74a 100644 --- a/processing/processing_contract.go +++ b/processing/processing_contract.go @@ -1,6 +1,7 @@ package processing import ( + "github.com/TrueCloudLab/frostfs-contract/common" "github.com/nspcc-dev/neo-go/pkg/interop" "github.com/nspcc-dev/neo-go/pkg/interop/contract" "github.com/nspcc-dev/neo-go/pkg/interop/native/gas" @@ -9,7 +10,6 @@ import ( "github.com/nspcc-dev/neo-go/pkg/interop/native/roles" "github.com/nspcc-dev/neo-go/pkg/interop/runtime" "github.com/nspcc-dev/neo-go/pkg/interop/storage" - "github.com/nspcc-dev/neofs-contract/common" ) const ( diff --git a/proxy/proxy_contract.go b/proxy/proxy_contract.go index ad6c164..933a7fb 100644 --- a/proxy/proxy_contract.go +++ b/proxy/proxy_contract.go @@ -1,13 +1,13 @@ package proxy import ( + "github.com/TrueCloudLab/frostfs-contract/common" "github.com/nspcc-dev/neo-go/pkg/interop" "github.com/nspcc-dev/neo-go/pkg/interop/contract" "github.com/nspcc-dev/neo-go/pkg/interop/native/gas" "github.com/nspcc-dev/neo-go/pkg/interop/native/management" "github.com/nspcc-dev/neo-go/pkg/interop/native/neo" "github.com/nspcc-dev/neo-go/pkg/interop/runtime" - "github.com/nspcc-dev/neofs-contract/common" ) // OnNEP17Payment is a callback for NEP-17 compatible native GAS contract. diff --git a/reputation/reputation_contract.go b/reputation/reputation_contract.go index fd835a2..68f4fcd 100644 --- a/reputation/reputation_contract.go +++ b/reputation/reputation_contract.go @@ -1,6 +1,7 @@ package reputation import ( + "github.com/TrueCloudLab/frostfs-contract/common" "github.com/nspcc-dev/neo-go/pkg/interop" "github.com/nspcc-dev/neo-go/pkg/interop/contract" "github.com/nspcc-dev/neo-go/pkg/interop/convert" @@ -8,7 +9,6 @@ import ( "github.com/nspcc-dev/neo-go/pkg/interop/native/management" "github.com/nspcc-dev/neo-go/pkg/interop/runtime" "github.com/nspcc-dev/neo-go/pkg/interop/storage" - "github.com/nspcc-dev/neofs-contract/common" ) const ( diff --git a/subnet/subnet_contract.go b/subnet/subnet_contract.go index 78a277c..03401b9 100644 --- a/subnet/subnet_contract.go +++ b/subnet/subnet_contract.go @@ -1,13 +1,13 @@ package subnet import ( + "github.com/TrueCloudLab/frostfs-contract/common" "github.com/nspcc-dev/neo-go/pkg/interop" "github.com/nspcc-dev/neo-go/pkg/interop/contract" "github.com/nspcc-dev/neo-go/pkg/interop/iterator" "github.com/nspcc-dev/neo-go/pkg/interop/native/management" "github.com/nspcc-dev/neo-go/pkg/interop/runtime" "github.com/nspcc-dev/neo-go/pkg/interop/storage" - "github.com/nspcc-dev/neofs-contract/common" ) const ( diff --git a/tests/alphabet_test.go b/tests/alphabet_test.go index a67cef2..9def646 100644 --- a/tests/alphabet_test.go +++ b/tests/alphabet_test.go @@ -4,6 +4,8 @@ import ( "path" "testing" + "github.com/TrueCloudLab/frostfs-contract/common" + "github.com/TrueCloudLab/frostfs-contract/container" "github.com/nspcc-dev/neo-go/pkg/core/native/nativenames" "github.com/nspcc-dev/neo-go/pkg/core/native/noderoles" "github.com/nspcc-dev/neo-go/pkg/neotest" @@ -11,8 +13,6 @@ import ( "github.com/nspcc-dev/neo-go/pkg/vm" "github.com/nspcc-dev/neo-go/pkg/vm/stackitem" "github.com/nspcc-dev/neo-go/pkg/wallet" - "github.com/nspcc-dev/neofs-contract/common" - "github.com/nspcc-dev/neofs-contract/container" "github.com/stretchr/testify/require" ) diff --git a/tests/container_test.go b/tests/container_test.go index 9a265e1..6892d99 100644 --- a/tests/container_test.go +++ b/tests/container_test.go @@ -6,14 +6,14 @@ import ( "path" "testing" + "github.com/TrueCloudLab/frostfs-contract/common" + "github.com/TrueCloudLab/frostfs-contract/container" + "github.com/TrueCloudLab/frostfs-contract/nns" "github.com/mr-tron/base58" "github.com/nspcc-dev/neo-go/pkg/encoding/address" "github.com/nspcc-dev/neo-go/pkg/neotest" "github.com/nspcc-dev/neo-go/pkg/util" "github.com/nspcc-dev/neo-go/pkg/vm/stackitem" - "github.com/nspcc-dev/neofs-contract/common" - "github.com/nspcc-dev/neofs-contract/container" - "github.com/nspcc-dev/neofs-contract/nns" "github.com/stretchr/testify/require" ) diff --git a/tests/neofs_test.go b/tests/neofs_test.go index 0d09bde..334d93f 100644 --- a/tests/neofs_test.go +++ b/tests/neofs_test.go @@ -6,6 +6,7 @@ import ( "sort" "testing" + "github.com/TrueCloudLab/frostfs-contract/neofs" "github.com/nspcc-dev/neo-go/pkg/core/native/nativenames" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" "github.com/nspcc-dev/neo-go/pkg/neotest" @@ -14,7 +15,6 @@ import ( "github.com/nspcc-dev/neo-go/pkg/vm" "github.com/nspcc-dev/neo-go/pkg/vm/stackitem" "github.com/nspcc-dev/neo-go/pkg/wallet" - "github.com/nspcc-dev/neofs-contract/neofs" "github.com/stretchr/testify/require" ) diff --git a/tests/neofsid_test.go b/tests/neofsid_test.go index 6118b49..72661dc 100644 --- a/tests/neofsid_test.go +++ b/tests/neofsid_test.go @@ -6,13 +6,13 @@ import ( "sort" "testing" + "github.com/TrueCloudLab/frostfs-contract/container" "github.com/mr-tron/base58" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" "github.com/nspcc-dev/neo-go/pkg/encoding/address" "github.com/nspcc-dev/neo-go/pkg/neotest" "github.com/nspcc-dev/neo-go/pkg/util" "github.com/nspcc-dev/neo-go/pkg/vm/stackitem" - "github.com/nspcc-dev/neofs-contract/container" "github.com/stretchr/testify/require" ) diff --git a/tests/netmap_test.go b/tests/netmap_test.go index d28624c..a6343c4 100644 --- a/tests/netmap_test.go +++ b/tests/netmap_test.go @@ -7,14 +7,14 @@ import ( "strings" "testing" + "github.com/TrueCloudLab/frostfs-contract/common" + "github.com/TrueCloudLab/frostfs-contract/container" + "github.com/TrueCloudLab/frostfs-contract/netmap" "github.com/nspcc-dev/neo-go/pkg/encoding/bigint" "github.com/nspcc-dev/neo-go/pkg/neotest" "github.com/nspcc-dev/neo-go/pkg/util" "github.com/nspcc-dev/neo-go/pkg/vm" "github.com/nspcc-dev/neo-go/pkg/vm/stackitem" - "github.com/nspcc-dev/neofs-contract/common" - "github.com/nspcc-dev/neofs-contract/container" - "github.com/nspcc-dev/neofs-contract/netmap" "github.com/stretchr/testify/require" ) diff --git a/tests/nns_test.go b/tests/nns_test.go index 2f8049c..537646d 100644 --- a/tests/nns_test.go +++ b/tests/nns_test.go @@ -8,10 +8,10 @@ import ( "testing" "time" + "github.com/TrueCloudLab/frostfs-contract/nns" "github.com/nspcc-dev/neo-go/pkg/core/interop/storage" "github.com/nspcc-dev/neo-go/pkg/neotest" "github.com/nspcc-dev/neo-go/pkg/vm/stackitem" - "github.com/nspcc-dev/neofs-contract/nns" "github.com/stretchr/testify/require" ) diff --git a/tests/subnet_test.go b/tests/subnet_test.go index fa4d6a3..c01b50a 100644 --- a/tests/subnet_test.go +++ b/tests/subnet_test.go @@ -5,12 +5,12 @@ import ( "path" "testing" + "github.com/TrueCloudLab/frostfs-contract/common" + "github.com/TrueCloudLab/frostfs-contract/subnet" "github.com/nspcc-dev/neo-go/pkg/neotest" "github.com/nspcc-dev/neo-go/pkg/util" "github.com/nspcc-dev/neo-go/pkg/vm" "github.com/nspcc-dev/neo-go/pkg/vm/stackitem" - "github.com/nspcc-dev/neofs-contract/common" - "github.com/nspcc-dev/neofs-contract/subnet" "github.com/stretchr/testify/require" ) diff --git a/tests/version_test.go b/tests/version_test.go index e46c015..dc2291c 100644 --- a/tests/version_test.go +++ b/tests/version_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/nspcc-dev/neofs-contract/common" + "github.com/TrueCloudLab/frostfs-contract/common" "github.com/stretchr/testify/require" )