Skip to content

Commit

Permalink
[bootstrap] fix: catapult server 1.0.3.6 release
Browse files Browse the repository at this point in the history
Updated to the following

1. Catapult client 1.0.3.6
2. Rest 2.4.3
3. MongoDB 5.0.15
4. https-portal 1.23.0
  • Loading branch information
Wayonb committed Apr 14, 2023
1 parent 032da01 commit 128f9be
Show file tree
Hide file tree
Showing 34 changed files with 139 additions and 111 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,27 @@
All notable changes to this project will be documented in this file.

The changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [1.1.10] - Apr-14-2023

**Milestone**: Mainnet(1.0.3.6)

| Package | Version | Link |
| ---------------- |---------| ------------------------------------------------------------------ |
| Symbol Bootstrap | v1.1.10 | [symbol-bootstrap](https://www.npmjs.com/package/symbol-bootstrap) |

Update the following packages:

- [Catapult Client v1.0.3.6](https://github.com/symbol/symbol/releases/tag/client%2Fcatapult%2Fv1.0.3.6)
- [Rest 2.4.3](https://github.com/symbol/symbol/releases/tag/rest%2Fv2.4.3)
- MongoDB 5.0.15
- https-portal 1.23.0
- update uncirculating account public keys
- add new indexes to MongoDB
- transaction.mosaics.id
- statement.receipts.targetAddress
- statement.receipts.senderAddress


## [1.1.9] - Nov-09-2022

**Milestone**: Mainnet(1.0.3.5)
Expand Down
2 changes: 1 addition & 1 deletion config/docker/mongo/mongoDbPrepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
db.transactions.createIndex({ 'transaction.deadline': -1 });
db.transactions.createIndex({ 'transaction.cosignatures.signerPublicKey': 1 }, makeSparse('transaction.cosignatures.signerPublicKey'));
db.transactions.createIndex({ 'transaction.id': 1, 'transaction.type': 1 }, makeSparse('transaction.id'));
db.transactions.createIndex({ 'transaction.mosaics.id': 1});
db.transactions.createIndex({ 'transaction.mosaics.id': 1 });

db.createCollection('transactionStatements');
db.transactionStatements.createIndex(
Expand Down
3 changes: 2 additions & 1 deletion config/rest-gateway/rest.json.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"tlsCaCertificatePath": "{{{apiNodeConfigPath}}}/cert/ca.cert.pem",
"timeout": {{{apiNodeTimeout}}},
"networkPropertyFilePath": "{{{apiNodeConfigPath}}}/config-network.properties",
"nodePropertyFilePath": "{{{apiNodeConfigPath}}}/config-node.properties"
"nodePropertyFilePath": "{{{apiNodeConfigPath}}}/config-node.properties",
"inflationPropertyFilePath": "{{{apiNodeConfigPath}}}/config-inflation.properties"
},

"websocket": {
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "symbol-bootstrap",
"description": "Symbol tool that allows you creating, configuring and running Symbol's networks",
"version": "1.1.9",
"version": "1.1.10",
"author": "Fernando Boucquez <fboucquez@gmail.com>",
"bin": {
"symbol-bootstrap": "bin/run"
Expand All @@ -25,7 +25,7 @@
"rxjs": "^7.5.2",
"semver": "^7.3.5",
"shx": "^0.3.4",
"symbol-sdk": "^2.0.3",
"symbol-sdk": "^2.0.4",
"symbol-statistics-service-typescript-fetch-client": "^1.1.5",
"tslib": "^2.3.1",
"utf8": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion presets/mainnet/network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ minVotingKeyLifetime: 112
maxVotingKeyLifetime: 360
votingKeyDesiredLifetime: 360
votingKeyDesiredFutureLifetime: 60
lastKnownNetworkEpoch: 1206
lastKnownNetworkEpoch: 1513
stepDuration: 5m
maxBlockFutureTime: 300ms
maxAccountRestrictionValues: 100
Expand Down
8 changes: 4 additions & 4 deletions presets/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ maxNameSize: 64
maxChildNamespaces: 256
maxNamespaceDepth: 3
batchVerificationRandomSource:
symbolServerImage: symbolplatform/symbol-server:gcc-1.0.3.5
symbolRestImage: symbolplatform/symbol-rest:2.4.2
symbolServerImage: symbolplatform/symbol-server:gcc-1.0.3.6
symbolRestImage: symbolplatform/symbol-rest:2.4.3
symbolExplorerImage: symbolplatform/symbol-explorer:1.1.1-alpha-202110290945
symbolFaucetImage: symbolplatform/symbol-faucet:1.0.1-alpha-202110131930
mongoImage: mongo:4.4.3-bionic
httpsPortalImage: steveltn/https-portal:1.19
mongoImage: mongo:5.0.15
httpsPortalImage: steveltn/https-portal:1.23
mongoComposeRunParam: --wiredTigerCacheSizeGB 2
logLevel: 'Info'
# brokerLogLevel: 'Info'
Expand Down
2 changes: 1 addition & 1 deletion presets/testnet/network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ importanceGrouping: 180
votingSetGrouping: 720
votingKeyDesiredLifetime: 720
votingKeyDesiredFutureLifetime: 120
lastKnownNetworkEpoch: 22
lastKnownNetworkEpoch: 520
minVotingKeyLifetime: 28
maxVotingKeyLifetime: 720
stepDuration: 4m
Expand Down
2 changes: 1 addition & 1 deletion src/service/ConfigService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ export class ConfigService {
apiNodeConfigFolder,
join(moveTo, 'api-node-config'),
[],
['config-network.properties', 'config-node.properties'],
['config-network.properties', 'config-node.properties', 'config-inflation.properties'],
);
await HandlebarsUtils.generateConfiguration(
{},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
environment:
MONGO_INITDB_DATABASE: catapult
container_name: db-0
image: 'mongo:4.4.3-bionic'
image: 'mongo:5.0.15'
command: mongod --dbpath=/dbdata --bind_ip=db-0 --wiredTigerCacheSizeGB 2
stop_signal: SIGINT
working_dir: /docker-entrypoint-initdb.d
Expand All @@ -23,7 +23,7 @@ services:
peer-node-0:
user: '1000:1000'
container_name: peer-node-0
image: 'symbolplatform/symbol-server:gcc-1.0.3.5'
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data server broker peer-node-0 NORMAL false
stop_signal: SIGINT
working_dir: /symbol-workdir
Expand All @@ -47,7 +47,7 @@ services:
peer-node-1:
user: '1000:1000'
container_name: peer-node-1
image: 'symbolplatform/symbol-server:gcc-1.0.3.5'
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data server broker peer-node-1 NORMAL false
stop_signal: SIGINT
working_dir: /symbol-workdir
Expand All @@ -71,7 +71,7 @@ services:
api-node-0:
user: '1000:1000'
container_name: api-node-0
image: 'symbolplatform/symbol-server:gcc-1.0.3.5'
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data server broker api-node-0 NORMAL true
stop_signal: SIGINT
working_dir: /symbol-workdir
Expand All @@ -90,7 +90,7 @@ services:
api-node-broker-0:
user: '1000:1000'
container_name: api-node-broker-0
image: 'symbolplatform/symbol-server:gcc-1.0.3.5'
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
working_dir: /symbol-workdir
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data broker server api-node-broker-0 NORMAL
ports:
Expand All @@ -107,7 +107,7 @@ services:
user: '1000:1000'
environment:
npm_config_cache: /symbol-workdir
image: 'symbolplatform/symbol-rest:2.4.2'
image: 'symbolplatform/symbol-rest:2.4.3'
command: npm start --prefix /app /symbol-workdir/rest.json
stop_signal: SIGINT
working_dir: /symbol-workdir
Expand Down
12 changes: 6 additions & 6 deletions test/composes/expected-docker-compose-bootstrap-custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
environment:
MONGO_INITDB_DATABASE: catapult
container_name: db-0
image: 'mongo:4.4.3-bionic'
image: 'mongo:5.0.15'
command: mongod --dbpath=/dbdata --bind_ip=db-0 --wiredTigerCacheSizeGB 2
stop_signal: SIGINT
working_dir: /docker-entrypoint-initdb.d
Expand All @@ -16,7 +16,7 @@ services:
- '../databases/db-0:/dbdata:rw'
peer-node-0:
container_name: peer-node-0
image: 'symbolplatform/symbol-server:gcc-1.0.3.5'
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data server broker peer-node-0 DEBUG false
stop_signal: SIGINT
working_dir: /symbol-workdir
Expand All @@ -38,7 +38,7 @@ services:
hostname: peer-node-0
peer-node-1:
container_name: peer-node-1
image: 'symbolplatform/symbol-server:gcc-1.0.3.5'
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data server broker peer-node-1 DEBUG false
stop_signal: SIGINT
working_dir: /symbol-workdir
Expand All @@ -60,7 +60,7 @@ services:
hostname: peer-node-1
api-node-0:
container_name: api-node-0
image: 'symbolplatform/symbol-server:gcc-1.0.3.5'
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data server broker api-node-0 DEBUG true
stop_signal: SIGINT
working_dir: /symbol-workdir
Expand All @@ -83,7 +83,7 @@ services:
hostname: api-node-0
api-node-broker-0:
container_name: api-node-broker-0
image: 'symbolplatform/symbol-server:gcc-1.0.3.5'
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
working_dir: /symbol-workdir
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data broker server api-node-broker-0 DEBUG
ports:
Expand All @@ -105,7 +105,7 @@ services:
user: '1000:1000'
environment:
npm_config_cache: /symbol-workdir
image: 'symbolplatform/symbol-rest:2.4.2'
image: 'symbolplatform/symbol-rest:2.4.3'
command: npm start --prefix /app /symbol-workdir/rest.json
stop_signal: SIGINT
working_dir: /symbol-workdir
Expand Down
8 changes: 4 additions & 4 deletions test/composes/expected-docker-compose-bootstrap-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
environment:
MONGO_INITDB_DATABASE: catapult
container_name: db
image: 'mongo:4.4.3-bionic'
image: 'mongo:5.0.15'
command: mongod --dbpath=/dbdata --bind_ip=db --wiredTigerCacheSizeGB 2
stop_signal: SIGINT
working_dir: /docker-entrypoint-initdb.d
Expand All @@ -19,7 +19,7 @@ services:
privileged: true
node:
container_name: node
image: 'symbolplatform/symbol-server:gcc-1.0.3.5'
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data server broker node DEBUG true
stop_signal: SIGINT
working_dir: /symbol-workdir
Expand All @@ -39,7 +39,7 @@ services:
privileged: true
broker:
container_name: broker
image: 'symbolplatform/symbol-server:gcc-1.0.3.5'
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
working_dir: /symbol-workdir
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data broker server broker DEBUG
stop_signal: SIGINT
Expand All @@ -59,7 +59,7 @@ services:
user: '1000:1000'
environment:
npm_config_cache: /symbol-workdir
image: 'symbolplatform/symbol-rest:2.4.2'
image: 'symbolplatform/symbol-rest:2.4.3'
command: npm start --prefix /app /symbol-workdir/rest.json
stop_signal: SIGINT
working_dir: /symbol-workdir
Expand Down
8 changes: 4 additions & 4 deletions test/composes/expected-docker-compose-bootstrap-dual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
environment:
MONGO_INITDB_DATABASE: catapult
container_name: db
image: 'mongo:4.4.3-bionic'
image: 'mongo:5.0.15'
command: mongod --dbpath=/dbdata --bind_ip=db --wiredTigerCacheSizeGB 2
stop_signal: SIGINT
working_dir: /docker-entrypoint-initdb.d
Expand All @@ -15,7 +15,7 @@ services:
node:
user: '1000:1000'
container_name: node
image: 'symbolplatform/symbol-server:gcc-1.0.3.5'
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data server broker node NORMAL true
stop_signal: SIGINT
working_dir: /symbol-workdir
Expand All @@ -31,7 +31,7 @@ services:
broker:
user: '1000:1000'
container_name: broker
image: 'symbolplatform/symbol-server:gcc-1.0.3.5'
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
working_dir: /symbol-workdir
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data broker server broker NORMAL
stop_signal: SIGINT
Expand All @@ -46,7 +46,7 @@ services:
user: '1000:1000'
environment:
npm_config_cache: /symbol-workdir
image: 'symbolplatform/symbol-rest:2.4.2'
image: 'symbolplatform/symbol-rest:2.4.3'
command: npm start --prefix /app /symbol-workdir/rest.json
stop_signal: SIGINT
working_dir: /symbol-workdir
Expand Down
Loading

0 comments on commit 128f9be

Please sign in to comment.