Skip to content

Commit

Permalink
[bootstrap]: Catapult 1.0.3.7 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Wayonb committed Apr 6, 2024
1 parent 506ac79 commit 882548a
Show file tree
Hide file tree
Showing 50 changed files with 245 additions and 105 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@
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.11] - Apr-6-2024

**Milestone**: Mainnet(1.0.3.7)

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

Update the following packages:

- [Catapult Client v1.0.3.7](https://github.com/symbol/symbol/releases/tag/client%2Fcatapult%2Fv1.0.3.7)
- [Rest 2.4.3](https://github.com/symbol/symbol/releases/tag/rest%2Fv2.4.4)

This comment has been minimized.

Copy link
@karriz-dev

karriz-dev Apr 6, 2024

There seems to be a typo.

Rest 2.4.3 -> 2.4.4

This comment has been minimized.

Copy link
@karriz-dev
- MongoDB 6.0.14
- https-portal 1.23.1

## [1.1.10] - Apr-14-2023

**Milestone**: Mainnet(1.0.3.6)
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 @@ -78,7 +78,7 @@
'RestrictionMosaic',
];
pluginNames.forEach((pluginName) => {
const scriptPath = `${pwd()}/scripts/mongo${pluginName}DbPrepare.js`;
const scriptPath = `${process.cwd()}/scripts/mongo${pluginName}DbPrepare.js`;
print(`Loading ${pluginName} from ${scriptPath}`);
load(scriptPath);
});
Expand Down
3 changes: 3 additions & 0 deletions config/node/resources/config-network.properties.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ maxMessageSize = {{{maxMessageSize}}}
totalVotingBalanceCalculationFix = {{{toAmount totalVotingBalanceCalculationFix}}}
treasuryReissuance = {{{toAmount treasuryReissuance}}}
strictAggregateTransactionHash = {{{toAmount strictAggregateTransactionHash}}}
skipSecretLockUniquenessChecks = {{{skipSecretLockUniquenessChecks}}}
skipSecretLockExpirations = {{{skipSecretLockExpirations}}}
forceSecretLockExpirations = {{{forceSecretLockExpirations}}}

{{#treasuryReissuanceTransactionSignatures_has_items}}
[treasury_reissuance_transaction_signatures]
Expand Down
2 changes: 2 additions & 0 deletions config/node/resources/config-node.properties.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ maxSubcompactionThreads = {{{maxSubcompactionThreads}}}
blockCacheSize = {{{blockCacheSize}}}
memtableMemoryBudget = {{{memtableMemoryBudget}}}
maxWriteBatchSize = {{{maxWriteBatchSize}}}
maxLogFiles = {{{maxLogFiles}}}
maxLogFileSize = {{{maxLogFileSize}}}

[localnode]

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.10",
"version": "1.1.11",
"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.4",
"symbol-sdk": "^2.0.5",
"symbol-statistics-service-typescript-fetch-client": "^1.1.5",
"tslib": "^2.3.1",
"utf8": "^3.0.0",
Expand Down
5 changes: 4 additions & 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: 1573
lastKnownNetworkEpoch: 2232
stepDuration: 5m
maxBlockFutureTime: 300ms
maxAccountRestrictionValues: 100
Expand All @@ -40,6 +40,9 @@ defaultDynamicFeeMultiplier: 100
rootNamespaceRentalFeePerBlock: 2
childNamespaceRentalFee: 100000
totalVotingBalanceCalculationFix: 528000
skipSecretLockUniquenessChecks: 3'191'538
skipSecretLockExpirations: 3'197'860, 3'197'866
forceSecretLockExpirations: 3'197'458, 3'197'781
treasuryReissuance: 689761
strictAggregateTransactionHash: 1'690'500
mosaicRentalFee: 500000
Expand Down
17 changes: 12 additions & 5 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.6
symbolRestImage: symbolplatform/symbol-rest:2.4.3
symbolServerImage: symbolplatform/symbol-server:gcc-1.0.3.7
symbolRestImage: symbolplatform/symbol-rest:2.4.4
symbolExplorerImage: symbolplatform/symbol-explorer:1.1.1-alpha-202110290945
symbolFaucetImage: symbolplatform/symbol-faucet:1.0.1-alpha-202110131930
mongoImage: mongo:5.0.15
httpsPortalImage: steveltn/https-portal:1.23
mongoImage: mongo:6.0.14
httpsPortalImage: steveltn/https-portal:1.23.1
mongoComposeRunParam: --wiredTigerCacheSizeGB 2
logLevel: 'Info'
# brokerLogLevel: 'Info'
Expand All @@ -87,6 +87,10 @@ enableRevoteOnBoot: true
totalVotingBalanceCalculationFix: 0
treasuryReissuance: 0
strictAggregateTransactionHash: 0
skipSecretLockUniquenessChecks:
skipSecretLockExpirations:
forceSecretLockExpirations:

caCertificateExpirationInDays: 7300 # 20 years
nodeCertificateExpirationInDays: 375 # 1.02 years
certificateExpirationWarningInDays: 30 # certificates are allowed to be renewed 30 before expiring
Expand Down Expand Up @@ -198,11 +202,14 @@ minTransactionFailuresPercentForBan: 10
#Rocksdb
enableStatistics: false
maxOpenFiles: 0
maxWriteBatchSize: 5MB
maxLogFiles: 10
maxBackgroundThreads: 0
maxSubcompactionThreads: 0
blockCacheSize: 0MB
memtableMemoryBudget: 0MB
maxWriteBatchSize: 5MB
maxLogFileSize: 100MB


#Rest
throttlingBurst: 80
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: 636
lastKnownNetworkEpoch: 1844
minVotingKeyLifetime: 28
maxVotingKeyLifetime: 720
stepDuration: 4m
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:5.0.15'
image: 'mongo:6.0.14'
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.6'
image: 'symbolplatform/symbol-server:gcc-1.0.3.7'
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data server broker peer-node-0 NORMAL false
stop_signal: SIGINT
stop_grace_period: 300s
Expand All @@ -48,7 +48,7 @@ services:
peer-node-1:
user: '1000:1000'
container_name: peer-node-1
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
image: 'symbolplatform/symbol-server:gcc-1.0.3.7'
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data server broker peer-node-1 NORMAL false
stop_signal: SIGINT
stop_grace_period: 300s
Expand All @@ -73,7 +73,7 @@ services:
api-node-0:
user: '1000:1000'
container_name: api-node-0
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
image: 'symbolplatform/symbol-server:gcc-1.0.3.7'
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data server broker api-node-0 NORMAL true
stop_signal: SIGINT
stop_grace_period: 300s
Expand All @@ -93,7 +93,7 @@ services:
api-node-broker-0:
user: '1000:1000'
container_name: api-node-broker-0
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
image: 'symbolplatform/symbol-server:gcc-1.0.3.7'
working_dir: /symbol-workdir
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data broker server api-node-broker-0 NORMAL
ports:
Expand All @@ -111,7 +111,7 @@ services:
user: '1000:1000'
environment:
npm_config_cache: /symbol-workdir
image: 'symbolplatform/symbol-rest:2.4.3'
image: 'symbolplatform/symbol-rest:2.4.4'
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:5.0.15'
image: 'mongo:6.0.14'
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.6'
image: 'symbolplatform/symbol-server:gcc-1.0.3.7'
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data server broker peer-node-0 DEBUG false
stop_signal: SIGINT
stop_grace_period: 300s
Expand All @@ -39,7 +39,7 @@ services:
hostname: peer-node-0
peer-node-1:
container_name: peer-node-1
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
image: 'symbolplatform/symbol-server:gcc-1.0.3.7'
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data server broker peer-node-1 DEBUG false
stop_signal: SIGINT
stop_grace_period: 300s
Expand All @@ -62,7 +62,7 @@ services:
hostname: peer-node-1
api-node-0:
container_name: api-node-0
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
image: 'symbolplatform/symbol-server:gcc-1.0.3.7'
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data server broker api-node-0 DEBUG true
stop_signal: SIGINT
stop_grace_period: 300s
Expand All @@ -86,7 +86,7 @@ services:
hostname: api-node-0
api-node-broker-0:
container_name: api-node-broker-0
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
image: 'symbolplatform/symbol-server:gcc-1.0.3.7'
working_dir: /symbol-workdir
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data broker server api-node-broker-0 DEBUG
ports:
Expand All @@ -109,7 +109,7 @@ services:
user: '1000:1000'
environment:
npm_config_cache: /symbol-workdir
image: 'symbolplatform/symbol-rest:2.4.3'
image: 'symbolplatform/symbol-rest:2.4.4'
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:5.0.15'
image: 'mongo:6.0.14'
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.6'
image: 'symbolplatform/symbol-server:gcc-1.0.3.7'
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data server broker node DEBUG true
stop_signal: SIGINT
stop_grace_period: 300s
Expand All @@ -40,7 +40,7 @@ services:
privileged: true
broker:
container_name: broker
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
image: 'symbolplatform/symbol-server:gcc-1.0.3.7'
working_dir: /symbol-workdir
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data broker server broker DEBUG
stop_signal: SIGINT
Expand All @@ -61,7 +61,7 @@ services:
user: '1000:1000'
environment:
npm_config_cache: /symbol-workdir
image: 'symbolplatform/symbol-rest:2.4.3'
image: 'symbolplatform/symbol-rest:2.4.4'
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:5.0.15'
image: 'mongo:6.0.14'
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.6'
image: 'symbolplatform/symbol-server:gcc-1.0.3.7'
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data server broker node NORMAL true
stop_signal: SIGINT
stop_grace_period: 300s
Expand All @@ -32,7 +32,7 @@ services:
broker:
user: '1000:1000'
container_name: broker
image: 'symbolplatform/symbol-server:gcc-1.0.3.6'
image: 'symbolplatform/symbol-server:gcc-1.0.3.7'
working_dir: /symbol-workdir
command: /bin/bash /symbol-commands/start.sh /usr/catapult ./data broker server broker NORMAL
stop_signal: SIGINT
Expand All @@ -48,7 +48,7 @@ services:
user: '1000:1000'
environment:
npm_config_cache: /symbol-workdir
image: 'symbolplatform/symbol-rest:2.4.3'
image: 'symbolplatform/symbol-rest:2.4.4'
command: npm start --prefix /app /symbol-workdir/rest.json
stop_signal: SIGINT
working_dir: /symbol-workdir
Expand Down
Loading

0 comments on commit 882548a

Please sign in to comment.