Skip to content

Commit 1f235ca

Browse files
Merge branch 'development' into extend-about-features-configs
# Conflicts: # src/endpoints/network/entities/feature.configs.ts # src/endpoints/network/network.service.ts # src/test/unit/controllers/network.controller.spec.ts
2 parents a89359d + 7f6e3e4 commit 1f235ca

103 files changed

Lines changed: 4389 additions & 519 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

config/config.devnet-old.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ features:
6161
jwtSecret: ''
6262
nodeEpochsLeft:
6363
enabled: false
64+
chainSupernova:
65+
enabled: false
66+
activationEpoch: 2030
67+
activationTimestamp: 1864749472
6468
image:
6569
width: 600
6670
height: 600

config/config.devnet.yaml

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ api:
88
websocket: true
99
cron:
1010
cacheWarmer: true
11-
fastWarm: true
11+
fastWarm: false
1212
queueWorker: true
1313
elasticUpdater: false
1414
flags:
@@ -20,6 +20,11 @@ flags:
2020
processNfts: true
2121
collectionPropertiesFromGateway: false
2222
features:
23+
websocketSubscription:
24+
enabled: false
25+
port: 6002
26+
maxSubscriptionsPerInstance: 10000
27+
maxSubscriptionsPerClient: 5
2328
eventsNotifier:
2429
enabled: false
2530
port: 5674
@@ -61,12 +66,22 @@ features:
6166
- ''
6267
jwtSecret: ''
6368
stakingV4:
64-
enabled: false
69+
enabled: true
6570
cronExpression: '*/5 * * * * *'
6671
activationEpoch: 1043
6772
chainAndromeda:
68-
enabled: false
73+
enabled: true
6974
activationEpoch: 4
75+
stakingV5:
76+
enabled: true
77+
activationEpoch: 4817
78+
chainSupernova:
79+
enabled: false
80+
activationEpoch: 2030
81+
activationTimestamp: 1864749472
82+
deprecatedRelayedV1V2:
83+
enabled: true
84+
activationEpoch: 4569
7085
nodeEpochsLeft:
7186
enabled: false
7287
transactionProcessor:
@@ -84,6 +99,8 @@ features:
8499
durationThresholdMs: 5000
85100
failureCountThreshold: 5
86101
resetTimeoutMs: 30000
102+
elasticMigratedIndices:
103+
logs: 'events'
87104
statusChecker:
88105
enabled: false
89106
thresholds:
@@ -174,11 +191,15 @@ inflation:
174191
- 1130177
175192
- 924690
176193
- 719203
194+
stakingV5Inflation:
195+
- 1069805
196+
# november 2025 devnet supply: 24_433_152. first year rewards = 50% * (8.757% * supply) = 1_069_805
197+
# TODO: calculate the inflation for upcoming years based on the inflation decay
177198
nftProcess:
178199
parallelism: 1
179200
maxRetries: 3
180201
compression:
181202
enabled: true
182203
level: 6
183204
threshold: 1024
184-
chunkSize: 16384
205+
chunkSize: 16384

config/config.e2e-mocked.mainnet.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ api:
55
private: true
66
graphql: true
77
features:
8+
websocketSubscription:
9+
enabled: false
10+
port: 6002
11+
maxSubscriptionsPerInstance: 10000
12+
maxSubscriptionsPerClient: 5
813
dataApi:
914
enabled: false
1015
serviceUrl: 'https://data-api.multiversx.com'
@@ -13,6 +18,10 @@ features:
1318
maxExpirySeconds: 86400
1419
acceptedOrigins:
1520
- ''
21+
chainSupernova:
22+
enabled: false
23+
activationEpoch: 2030
24+
activationTimestamp: 1864749472
1625
cron:
1726
transactionProcessor: false
1827
transactionProcessorMaxLookBehind: 1000

config/config.e2e.mainnet.yaml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ flags:
2020
processNfts: true
2121
collectionPropertiesFromGateway: false
2222
features:
23+
websocketSubscription:
24+
enabled: true
25+
port: 6002
26+
maxSubscriptionsPerInstance: 10000
27+
maxSubscriptionsPerClient: 5
2328
eventsNotifier:
2429
enabled: false
2530
port: 5674
@@ -63,8 +68,15 @@ features:
6368
cronExpression: '*/5 * * * * *'
6469
activationEpoch: 1391
6570
chainAndromeda:
66-
enabled: false
71+
enabled: true
6772
activationEpoch: 4
73+
stakingV5:
74+
enabled: true
75+
activationEpoch: 1951
76+
chainSupernova:
77+
enabled: false
78+
activationEpoch: 2030
79+
activationTimestamp: 1864749472
6880
nodeEpochsLeft:
6981
enabled: false
7082
transactionProcessor:
@@ -85,6 +97,8 @@ features:
8597
durationThresholdMs: 5000
8698
failureCountThreshold: 5
8799
resetTimeoutMs: 30000
100+
elasticMigratedIndices:
101+
logs: 'events'
88102
statusChecker:
89103
enabled: false
90104
thresholds:
@@ -178,6 +192,8 @@ inflation:
178192
- 1130177
179193
- 924690
180194
- 719203
195+
stakingV5Inflation:
196+
- 1262802
181197
nftProcess:
182198
parallelism: 1
183-
maxRetries: 3
199+
maxRetries: 3

config/config.mainnet.yaml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ flags:
2020
processNfts: true
2121
collectionPropertiesFromGateway: false
2222
features:
23+
websocketSubscription:
24+
enabled: false
25+
port: 6002
26+
maxSubscriptionsPerInstance: 10000
27+
maxSubscriptionsPerClient: 5
2328
eventsNotifier:
2429
enabled: false
2530
port: 5674
@@ -63,8 +68,18 @@ features:
6368
cronExpression: '*/5 * * * * *'
6469
activationEpoch: 1391
6570
chainAndromeda:
71+
enabled: true
72+
activationEpoch: 1763
73+
stakingV5:
74+
enabled: true
75+
activationEpoch: 1951
76+
chainSupernova:
6677
enabled: false
67-
activationEpoch: 4
78+
activationEpoch: 2030
79+
activationTimestamp: 1864749472
80+
deprecatedRelayedV1V2:
81+
enabled: true
82+
activationEpoch: 1918
6883
nodeEpochsLeft:
6984
enabled: false
7085
transactionProcessor:
@@ -85,6 +100,8 @@ features:
85100
durationThresholdMs: 5000
86101
failureCountThreshold: 5
87102
resetTimeoutMs: 30000
103+
elasticMigratedIndices:
104+
logs: 'events'
88105
statusChecker:
89106
enabled: false
90107
thresholds:
@@ -178,6 +195,10 @@ inflation:
178195
- 1130177
179196
- 924690
180197
- 719203
198+
stakingV5Inflation:
199+
- 1262802
200+
# december 2025 mainnet supply: 28_840_981. first year rewards = 50% * (8.75% * supply) = 1262802
201+
# TODO: calculate the inflation for upcoming years based on the inflation decay
181202
nftProcess:
182203
parallelism: 1
183204
maxRetries: 3
@@ -186,3 +207,7 @@ compression:
186207
level: 6
187208
threshold: 1024
188209
chunkSize: 16384
210+
customUrlHeaders:
211+
- urlPattern: ''
212+
headers:
213+
x-custom-auth: ''

config/config.testnet.yaml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ flags:
2020
processNfts: true
2121
collectionPropertiesFromGateway: false
2222
features:
23+
websocketSubscription:
24+
enabled: false
25+
port: 6002
26+
maxSubscriptionsPerInstance: 10000
27+
maxSubscriptionsPerClient: 5
2328
eventsNotifier:
2429
enabled: false
2530
port: 5674
@@ -58,12 +63,22 @@ features:
5863
- ''
5964
jwtSecret: ''
6065
stakingV4:
61-
enabled: false
66+
enabled: true
6267
cronExpression: '*/5 * * * * *'
6368
activationEpoch: 1043
6469
chainAndromeda:
65-
enabled: false
70+
enabled: true
6671
activationEpoch: 4
72+
stakingV5:
73+
enabled: true
74+
activationEpoch: 2519
75+
chainSupernova:
76+
enabled: false
77+
activationEpoch: 2030
78+
activationTimestamp: 1864749472
79+
deprecatedRelayedV1V2:
80+
enabled: true
81+
activationEpoch: 2038
6782
nodeEpochsLeft:
6883
enabled: false
6984
transactionProcessor:
@@ -84,6 +99,8 @@ features:
8499
durationThresholdMs: 5000
85100
failureCountThreshold: 5
86101
resetTimeoutMs: 30000
102+
elasticMigratedIndices:
103+
logs: 'events'
87104
statusChecker:
88105
enabled: false
89106
thresholds:
@@ -177,6 +194,10 @@ inflation:
177194
- 1130177
178195
- 924690
179196
- 719203
197+
stakingV5Inflation:
198+
- 930117
199+
# november 2025 testnet supply: 21_242_828. first year rewards = 50% * (8.75% * supply) = 930117
200+
# TODO: calculate the inflation for upcoming years based on the inflation decay
180201
nftProcess:
181202
parallelism: 1
182203
maxRetries: 3

0 commit comments

Comments
 (0)