Commit graph

187 commits

Author SHA1 Message Date
8b0291d008 [#221] Enable sessions
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-28 15:54:34 +03:00
Denis Kirillov
4217506ab7 [#217] Add rest-gw service
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-09-23 16:47:06 +03:00
446bbb6a56 [#219] Update storage config
Configure side chain cache differently.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-21 09:52:51 +03:00
Artem Ivanov
462db79537 [#219] Configure hardcoded images in .env
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-21 09:52:51 +03:00
Evgenii Stratonikov
c4ceb1c585 [#218] Remove trailing spaces
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-09-16 11:22:09 +03:00
Evgenii Stratonikov
edc6513991 [#216] Update neofs components
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-09-16 11:22:09 +03:00
baea15f554 [#208] Move neofs-adm config to the repo root
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-13 17:48:51 +03:00
aacbb8f82f [#208] Use neofs-adm to deploy sidechain environment
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-13 17:48:51 +03:00
d93f2fc79e [#208] Update neofs-adm config
Network section is required for environment deploy.
Values are taken from neo-preodolenie.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-13 17:48:51 +03:00
f07be5a032 [#208] Increase MaxGasInvoke in morph chain
Environment deploy requires bigger GAS limit for
complex contract deploy transactions.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-13 17:48:51 +03:00
8c6f321e5f [#208] Download contracts and neofs-adm
These artifacts are required for environment deploy.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-13 17:48:51 +03:00
Pavel Karpy
c4a55445d1 [#197] ir: Add minimal neofs-adm configuration file
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2022-08-24 13:00:24 +03:00
Pavel Karpy
587a6b3eec [#197] ir: Support neofs-adm
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2022-08-24 13:00:24 +03:00
Evgenii Stratonikov
e62b223f25 [#205] services/storage: Determine certificate presence at runtime
`ifeq` executes during parsing, because of this `make down clean up`
doesn't work as expected.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-08-24 13:00:09 +03:00
ac34ec1f33 [#206] Fix contract addresses in Inner Ring config
Along with this commit, chain dumps from
nspcc-dev/neofs-contract were updated.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-08-24 12:59:54 +03:00
Denis Kirillov
870d435ee1 [#202] Update gates versions
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-23 16:27:15 +03:00
anastasia prasolova
374724f04f [#196] s3_gate wallet is completed with fields required by JSON schema
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-07-28 19:37:09 +03:00
Denis Kirillov
e904506e3d [#195] Update s3 and http gates version
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-26 11:16:36 +03:00
Pavel Karpy
652934bc09 [#194] Update neofs-* to v0.30.0
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2022-07-26 10:37:22 +03:00
anastasia prasolova
ce228c10e0 [#193] Add error pretty printing for services/nats/generate_cert.sh
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-07-08 15:59:37 +03:00
anastasia prasolova
59c238fa0e [#191] Decrease Blobovnicza height and width
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-07-07 13:58:31 +03:00
anastasia prasolova
6cc08e84fb [#190]: Fixed network name for coredns service
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-06-29 16:31:03 +03:00
Pavel Karpy
54ce9c3d83 [#188] node: Remove default wallet addresses from the config
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2022-06-28 09:45:13 +03:00
anastasia prasolova
88d5342b57 [#187]: Added fields to wallets to match JSON schema
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-06-13 23:55:55 +03:00
Evgenii Stratonikov
bf3b97e60a [#184] .env: Update contracts and node
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-06-09 11:26:28 +03:00
Alex Vanin
6e9236c8c5
[#179] Fix helathchecks in storage nodes (#183)
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-06-08 16:32:49 +03:00
Pavel Karpy
c8d48c9053 [#163] node: Add object notification support
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2022-06-06 10:03:17 +03:00
Elizaveta Chichindaeva
b156466654 [#179] Wallets for SN instead of keys
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-06-02 11:41:30 +03:00
anastasia prasolova
b3152e6887 [#177] Fixed hyphens in generate_cert.sh script
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-23 13:53:39 +03:00
Alex Vanin
9dd99c0d78 [#173] Update gateways to the latest version and tidy configs
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-05-04 11:18:05 +03:00
Alex Vanin
19a52fd057 [#171] Update neofs-contract to v0.15.1
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-04-13 16:58:09 +03:00
Alex Vanin
cc0086a656 [#171] Update neofs-node v0.28.0-rc.3
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-04-13 16:58:09 +03:00
Alex Vanin
a35dcfc062 [#171] Update neo-go to v0.98.2
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-04-13 16:58:09 +03:00
Elizaveta Chichindaeva
b7d0bc96bf
Add .int_test.env files for config amendments (#167)
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-04-07 15:33:53 +03:00
Evgenii Stratonikov
945161e429 .env: update contracts to v0.15.0
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-03-31 14:54:52 +03:00
Evgenii Stratonikov
1d58f1774d [#164] services: Do not use underscore in hostnames
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-03-04 16:18:05 +03:00
Alex Vanin
aabb1eaf86 [#159] Add NATS service
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-02-11 11:21:59 +03:00
Alex Vanin
99b65b9fa1 [#160] Fix neofs-contract v0.14.2 contract hashes
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-02-08 17:11:10 +03:00
Alex Vanin
601067c320 [#160] Update neofs-contract to v0.14.2
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-02-08 09:47:45 +03:00
Elizaveta Chichindaeva
3348ebbfe0
Make up/down for services (#155)
* [#155] s3_gate: Service name in docker-compose.yml

Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>

* [#155] Makefile: Make Up/Down certain services

Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>

* [#155] Makefile: minor fixes

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>

Co-authored-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2022-02-04 18:27:49 +03:00
Alex Vanin
07bd61f78e [#158] Update neofs-node to v0.27.5
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-01-31 17:46:34 +03:00
Alex Vanin
36450420be [#156] Update neofs-contract to v0.14.0
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-01-14 15:28:50 +03:00
Alex Vanin
a531ff9296 Update neofs-node to v0.27.0
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-12-09 15:45:27 +03:00
Alex Vanin
9b3b877ff3 Update to latest neo-go and neofs-contract release
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-12-07 17:38:31 +03:00
Denis Kirillov
bed94e3ff9 [#148] Add coredns service
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-11-24 16:01:48 +03:00
Alex Vanin
e963907bd4 Update neofs-node to the latest build from master branch
This update introduces changes in storage node config records.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-11-15 13:48:54 +03:00
Alex Vanin
887ecd200d Update neofs-node to v0.26.1
Use latest LOCODE base.
Use default section of storage config.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-11-08 10:35:52 +03:00
Alex Vanin
25b61614b5 [#140] storage: Remove unused config records for v0.26.0 release
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-10-22 09:09:01 +03:00
Evgenii Stratonikov
a7feea730a [#135] .env: update neofs-node version
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-20 17:45:59 +03:00
Evgenii Stratonikov
ddbbe20517 [#135] .env: update neofs-contract version
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-20 17:45:59 +03:00
Evgenii Stratonikov
4d545a7c43 [#135] services: fix docker compose warnings
```
WARN[0000] network internet: network.external.name is deprecated in favor of network.name
```

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-20 17:45:59 +03:00
Pavel Karpy
347be12c50 [#138] main_chain: Decrease seconds per block to 1
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-10-18 11:19:31 +03:00
Alex Vanin
80fb9b3bc2 [#133] Increase GAS emission and notary deposits
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-09-30 18:42:14 +03:00
Alex Vanin
0bc7f842a3 [#132] Update neofs-node to v0.25.0
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-09-28 18:10:36 +03:00
Pavel Karpy
a6f9e280b9 [#128] Update neofs-node to v0.24.0
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-08-31 11:59:05 +03:00
Alex Vanin
a517937074 Update neofs-contract to v0.10.1 with neo-go v0.97.2
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-08-30 18:23:57 +03:00
Alex Vanin
8cc58cc639 [#124] Update neofs-node to v0.23.1
Do not update neo-go to v0.97.1, because it breakes
pre-defined chain dump.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-08-09 15:10:37 +03:00
Alex Vanin
695414959f [#122] Update neofs-contract to v0.10.0
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-07-23 21:34:31 +03:00
Stanislav Bogatyrev
80b7b3caeb
Bump http gateway version (#117)
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2021-07-19 15:23:45 +03:00
Alex Vanin
8ed24e8248
[#116] Update S3 gate to v0.16.0 (#116)
With latest release we don't need special key files, instead
we can work with NEP-6 wallets that can be unrelated to
user.key wallet.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-07-16 16:53:35 +03:00
anastasia prasolova
37dcb9b041 change locode "RU MSK" -> "RU MOW"
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-07-09 18:08:10 +03:00
anastasia prasolova
74ccc1b222 move s04 tls keys configuration from .storage.env to compose file
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-07-09 14:23:21 +03:00
Denis Kirillov
91c8688cfa [#111] Use the same 8080 port to insecure
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-08 15:28:24 +03:00
anastasia prasolova
2fd6d2c549 Use debug flags for chain and morph_chain services
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-07-07 17:57:40 +03:00
Denis Kirillov
58bc422f2b [#90] Added tls cert to nodes
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-06 17:02:04 +03:00
Denis Kirillov
1aa8d407ff [#90] Enabled tls for s04
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-06 17:02:04 +03:00
Alex Vanin
a4300b2a97 [#108] Update neofs-contract to v0.9.2
No more predefined network map.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-07-01 21:38:55 +03:00
Alex Vanin
1611844989 [#106] service/storage: Add healthcheck
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-30 22:31:29 +03:00
Alex Vanin
140734d457 [#106] service/ir: Add healthcheck
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-30 22:31:29 +03:00
Alex Vanin
3713201f62 [#106] serivce/ir: Add NeoFS CLI binary in required artifacts
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-30 22:31:29 +03:00
Alex Vanin
74717177c0 [#104] Update neofs-node to v0.22.0
Release includes group address support in SN.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-29 18:12:58 +03:00
Alex Vanin
84b3e77090 [#102] Update neofs-contract to v0.9.1
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-25 11:43:32 +03:00
Alex Vanin
60d742aa39 [#102] Use side chain consensus node wallet as Inner Ring credentials
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-25 11:43:32 +03:00
Alex Vanin
11b237753f [#97] Disable P2PSigExtension in main chain by default
Default neofs-dev-env configuration has notary subsytem
disabled in main chain, so it should be reflected in
main chain consensus node config

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-17 09:20:49 +03:00
Alex Vanin
c5044c761c [#98] Include user wallet in side chain
Can be useful to check side chain balance.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-16 18:28:19 +03:00
Alex Vanin
be20d48c35 Update neofs-node to v0.21.0
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-04 15:02:06 +03:00
Leonard Lyubich
4a6d304b8f [#86] Update storage node ENVs after config refactoring
All contract addresses are replaced to `contracts` section.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-02 16:52:07 +03:00
Alex Vanin
c5ba3cfc49 [#82] Use chain dump with new container contract
Container contract now lacks signature checks
but supports session tokens.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-28 10:21:18 +03:00
Alex Vanin
ebc0f96b2f [#76] Update neo-go and contracts to N3 testnet RC2 version
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-21 14:26:43 +03:00
Alex Vanin
b2f182f5b0 [#76] Fix port numbers for neofs metrics endpoint
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-21 14:26:43 +03:00
Leonard Lyubich
22bdc6ccf6 [#76] Describe updated configurations of IR and Node in env files
Update config values of IR and Node applications. All possible
configurations of Node app are reflected in env.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-21 14:26:43 +03:00
Alex Vanin
4d38cd9b8f Update NeoFS node versions with non notary workflow support
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-05 15:43:17 +03:00
Alex Vanin
8f7c2b69d8 Update contracts with notary disable flag support
Main chain contracts have notary disable flag set to true
Side chain contracts have notary disable flat set to false

Main chain now have processing contract for notary enabled
invocation payments.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-05 15:43:17 +03:00
Alex Vanin
833960d33c Enable notary in main chain
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-05 15:43:17 +03:00
Pavel Karpy
73ced8c4f7 [#67] neofs-node: Add reputation's scripthash
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-04-29 14:57:00 +03:00
Pavel Karpy
a64ed463f6 [#66] storage: Add log "debug" level to config
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-04-23 18:08:29 +03:00
Alex Vanin
81de766df3 Update NeoFS image versions and remove epoch duration config
Set epoch duration with new Makefile targets.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-04-19 09:58:30 +03:00
Alex Vanin
5bef7fc923 Support oracle calls in main chain
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-04-14 18:10:23 +03:00
Alex Vanin
8363a5c875 Use neo-go v0.94.1 and update side chain contracts
Now side chain stores state roots in block headers and
have configurable fee for data audit result register.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-04-09 13:12:21 +03:00
Alex Vanin
676b4864d6 Update reputaiton contract to the side chain
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-04-09 13:12:21 +03:00
Alex Vanin
3a8b6bcadd Update side chain magic number
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-03-29 09:26:51 +03:00
Alex Vanin
d2484d973c Update environment for single inner ring node
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-03-29 09:26:51 +03:00
Alex Vanin
a3890fb500 Enable metrics for storage nodes
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-03-23 09:01:00 +03:00
Alex Vanin
63a8505c11 Update neofs-node to v0.17.0
This updates includes neo-go update to v0.94.0
that triggered wallet and address changes. Also
neofs-node configuration expanded with notary
related values.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-03-23 09:01:00 +03:00
Leonard Lyubich
ddcb711975 [#54] services/storage: Fix configuring shard's GC
GC configuration parameters should be set for each shard instead of global.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-03-01 20:07:40 +03:00
Leonard Lyubich
a9651911a0 [#50] services/storage: Add GC configuration
In NeoFS Node v0.16.0 was implemented new mechanism of garbage collecting.
Data remover is a routine that physically removes "garbage" objects by time
clock.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-03-01 12:59:18 +03:00
Leonard Lyubich
1a3e986f60 [#50] services/ir: Add config value to toggle sidechain-only mode
In IR v0.16.0 it became possible to work with one blockchain without direct
interaction with the mainnet.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-03-01 12:59:18 +03:00
Leonard Lyubich
595e9856f4 [#50] services/ir: Add disabled config of amount of the alphabetic contracts
In IR v0.16.0 number of alphabetic contracts became variable. Add commented
environment variable for changing this parameter of the system.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-03-01 12:59:18 +03:00
Leonard Lyubich
3e411f270a [#50] services/ir: Rename glagolitic letter Jest to Yest
In IR v0.16.0 all letters of alphabetic contracts were changed to their CS
names. In particular, `Jest` became `Yest`.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-03-01 12:59:18 +03:00
Alex Vanin
5ed45bc4f9 Add basic settlement IR configuration
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-02-15 18:45:18 +03:00