Skip to content

Commit

Permalink
*: Drop subnets support
Browse files Browse the repository at this point in the history
See nspcc-dev/neofs-api#261.

Signed-off-by: Pavel Karpy <[email protected]>
  • Loading branch information
notimetoname committed Jun 28, 2023
1 parent 5ca26a8 commit e7db8a0
Show file tree
Hide file tree
Showing 57 changed files with 95 additions and 3,218 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Changelog for NeoFS Node
### Removed
- Deprecated `morph.rpc_endpoint` SN and `morph.endpoint.client` IR config sections (#2400)
- `neofs_node_object_epoch` metric for IR and SN (#2347)
- Subnets support (#2411)

### Changed
- CLI `--timeout` flag configures whole execution timeout from now (#2124)
Expand All @@ -27,12 +28,19 @@ on timeout, try increasing the value, for example, twice. Also note that the
execution of commands with the `--await` flag and without an explicitly
specified time period is now limited to 1 minute. This value can be changed with
`--timeout` flag.

Deprecated `morph.rpc_endpoint` SN and `morph.endpoint.client` IR configurations
have been removed. Use `morph.endpoints` for both instead.
Deprecated `neofs_node_object_epoch` metric for IR and SN (the same for both)
has been removed. Use `neofs_node_state_epoch` for SN and `neofs_ir_state_epoch`
for IR instead.

Subnets support has been removed:
- IR's `workers.subnet` and `contracts.subnet` are not used anymore.
- SN's `node.subnet` section is not used anymore.
- `neoofs-amd morph` does not have `subnet` command anymore.
- `neofs-cli container create` does not have `--subnet` flag anymore.

## [0.37.0] - 2023-06-15 - Sogado

### Added
Expand Down
3 changes: 0 additions & 3 deletions cmd/neofs-adm/internal/modules/morph/initialize_deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ const (
netmapContract = "netmap"
proxyContract = "proxy"
reputationContract = "reputation"
subnetContract = "subnet"
)

const (
Expand Down Expand Up @@ -77,7 +76,6 @@ var (
netmapContract,
proxyContract,
reputationContract,
subnetContract,
}

fullContractList = append([]string{
Expand Down Expand Up @@ -597,7 +595,6 @@ func (c *initializeContext) getContractDeployData(ctrHash util.Uint160, ctrName
case proxyContract:
items = nil
case reputationContract:
case subnetContract:
default:
panic(fmt.Sprintf("invalid contract name: %s", ctrName))
}
Expand Down
65 changes: 0 additions & 65 deletions cmd/neofs-adm/internal/modules/morph/internal/types.go

This file was deleted.

156 changes: 0 additions & 156 deletions cmd/neofs-adm/internal/modules/morph/internal/types.pb.go

This file was deleted.

15 changes: 0 additions & 15 deletions cmd/neofs-adm/internal/modules/morph/internal/types.proto

This file was deleted.

2 changes: 0 additions & 2 deletions cmd/neofs-adm/internal/modules/morph/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,6 @@ func init() {
refillGasCmd.Flags().String(refillGasAmountFlag, "", "Additional amount of GAS to transfer")
refillGasCmd.MarkFlagsMutuallyExclusive(walletAddressFlag, storageWalletFlag)

RootCmd.AddCommand(cmdSubnet)

RootCmd.AddCommand(depositNotaryCmd)
depositNotaryCmd.Flags().StringP(endpointFlag, "r", "", "N3 RPC node endpoint")
depositNotaryCmd.Flags().String(storageWalletFlag, "", "Path to storage node wallet")
Expand Down
Loading

0 comments on commit e7db8a0

Please sign in to comment.