Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Streamer with the latest Lisk Service release #67

Open
wants to merge 811 commits into
base: feature-add-new-modules
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
811 commits
Select commit Hold shift + click to select a range
14b3f0b
Publish framework to github
nagdahimanshu Nov 13, 2023
d511963
Update framework in all microservices
nagdahimanshu Nov 13, 2023
cdd40b4
Applied suggestions
nagdahimanshu Nov 14, 2023
9c569e6
Merge pull request #1918 from LiskHQ/1917-fix-vulnerability-alerts
sameersubudhi Nov 14, 2023
e8541ac
:bug: Fix instantiateClient error handling
sameersubudhi Nov 14, 2023
7879da7
Merge pull request #1921 from LiskHQ/1920-automatic-api-client-re-ins…
nagdahimanshu Nov 14, 2023
c0d258c
:bug: Fix getLiveIndexingJobCount
sameersubudhi Nov 15, 2023
0a8a0f1
:bug: Await for the deletedBlocks scheduling
sameersubudhi Nov 15, 2023
0bbc888
:bug: Fix topics mapping for relayerFeeProcessed event
sameersubudhi Nov 15, 2023
3429c1f
Update MySQL default authentication plugin
nagdahimanshu Nov 14, 2023
7274dc0
Schedule previous block deletion incase of fork
vardan10 Nov 15, 2023
554b1e4
:hammer: Update resetApiClient listener
sameersubudhi Nov 15, 2023
1608b23
:bug: Fix edgecase scenario for setIndexVerifiedHeight
sameersubudhi Nov 15, 2023
c46a0b9
:WIP: Add balance checks in estimate fees endpoint
priojeetpriyom Nov 15, 2023
a86ece0
:bug: Decrease generatedBlocks count for generated when handling dele…
sameersubudhi Nov 16, 2023
3206aed
Updated auth of docker mysql replica to use rsa
vardan10 Nov 16, 2023
9f34dc1
Updated check for previous block ID when indexing new block
vardan10 Nov 16, 2023
bc47bcc
Merge pull request #1927 from LiskHQ/1919-redis-oom-errors
priojeetpriyom Nov 16, 2023
0b1f5ef
Merge branch 'release/0.7.0' into '1923-add-failsafe-for-blockchain-f…
vardan10 Nov 17, 2023
eac8b20
Merge branch 'release/0.7.0' into 1922-mysql-complaints-usage-of-depr…
vardan10 Nov 17, 2023
976654c
Improved code clarity
vardan10 Nov 17, 2023
80c14c5
Removed redundant code when indexing new blocks
vardan10 Nov 17, 2023
d38a69e
:hammer: Update error message
sameersubudhi Nov 17, 2023
5284ad8
Merge pull request #1926 from LiskHQ/1923-add-failsafe-for-blockchain…
sameersubudhi Nov 17, 2023
d29569d
Moved configurations to cnf file
vardan10 Nov 17, 2023
8070581
Merge branch 'release/0.7.0' into 1925-fee-error-while-sending-a-tran…
sameersubudhi Nov 17, 2023
edc7fcb
:hammer: Handle CCM generation failure scenario
sameersubudhi Nov 17, 2023
4910e26
:hammer: Handle CCM generation failure scenario
sameersubudhi Nov 17, 2023
81c0734
:hammer: Update semgrep command
sameersubudhi Nov 17, 2023
ec328be
Added setup for mariadb with replication
vardan10 Nov 17, 2023
362a609
Updated mariadb version
vardan10 Nov 17, 2023
e5ac04f
Merge pull request #1924 from LiskHQ/1922-mysql-complaints-usage-of-d…
sameersubudhi Nov 17, 2023
08c7cb6
:rotating_light: Add more unit tests
sameersubudhi Nov 17, 2023
4df7bb4
Merge pull request #1928 from LiskHQ/1925-fee-error-while-sending-a-t…
sameersubudhi Nov 17, 2023
1f468af
:arrow_up: Version bump to 0.7.0-rc.5
sameersubudhi Nov 17, 2023
23fc3a4
Fix wrong transaction count in new.block event and new.transactions e…
priojeetpriyom Nov 20, 2023
04d2422
Added receivingChainID request param support to transactions endpoint
vardan10 Nov 20, 2023
b287e7a
Added unit tests to validate pending transactions
vardan10 Nov 21, 2023
95fd879
Refactored transaction fee estimates unit tests
vardan10 Nov 21, 2023
a420a30
Applied suggestions
vardan10 Nov 21, 2023
96d5d54
Apply suggestions
priojeetpriyom Nov 21, 2023
717626e
Apply suggestions
priojeetpriyom Nov 21, 2023
06ce21f
Merge pull request #1933 from LiskHQ/1931-add-receivingChainID-reques…
priojeetpriyom Nov 21, 2023
e6f68f5
Merge branch 'release/0.7.0' into 1930-incorrect-information-in-new-b…
priojeetpriyom Nov 21, 2023
34b5753
Added support for receivingChainID to be currentChainID in transactio…
vardan10 Nov 22, 2023
59863cb
:bug: Fix calcDynamicFeeEstimates
sameersubudhi Nov 22, 2023
e573b18
:hammer: Update instantiateClient and resetApiClient signal triggering
sameersubudhi Nov 22, 2023
d9441f2
:bug: Fix clearInterval placement in waitForIt
sameersubudhi Nov 22, 2023
5347cf4
:hammer: Update Lisk Service framework to v1.6.7
sameersubudhi Nov 22, 2023
f55c04f
Fixed TODOs from tests
vardan10 Nov 22, 2023
6082e7b
Add check so that only one pair is accepted among the validParamPairings
vardan10 Nov 22, 2023
0970422
Fetch block in connector before newBlock event emission
priojeetpriyom Nov 22, 2023
539fd02
:shirt: Fix lint error
sameersubudhi Nov 22, 2023
28a7e00
Fix total is null for first newBlock event
priojeetpriyom Nov 22, 2023
9d26b67
:art: Nitpick
priojeetpriyom Nov 22, 2023
9bfa4fc
:ok_hand: Apply review recommendation
sameersubudhi Nov 22, 2023
e179feb
Merge pull request #1936 from LiskHQ/1935-transaction-fees-estimate-f…
sameersubudhi Nov 22, 2023
a38255e
Removed unnecessary TODOs
vardan10 Nov 22, 2023
6b8d2c3
Merge branch 'release/0.7.0' into 1930-incorrect-information-in-new-b…
sameersubudhi Nov 22, 2023
91ebf92
Fixed pending transactions unit tests
vardan10 Nov 22, 2023
4735a6d
Merge pull request #1932 from LiskHQ/1930-incorrect-information-in-ne…
vardan10 Nov 22, 2023
2886575
Merge branch 'release/0.7.0' into 1931-add-receivingChainID-request-p…
vardan10 Nov 22, 2023
2383714
Applied suggestions
vardan10 Nov 22, 2023
b536884
Update logs in blockchain index
priojeetpriyom Nov 23, 2023
b89d60e
:bug: fixed scheduling block with undefined height in coordinator
vardan10 Nov 23, 2023
a86a0ad
:bug: Fixed indexing of new block
vardan10 Nov 23, 2023
b03cd84
Fixed fetch missing blocks
vardan10 Nov 23, 2023
2a96a5d
Modified transactions API to return any execution status if not speci…
vardan10 Nov 23, 2023
c9b15ec
Merge pull request #1934 from LiskHQ/1931-add-receivingChainID-reques…
sameersubudhi Nov 23, 2023
f8896d4
Moved Index missing blocks max schedule to config
vardan10 Nov 23, 2023
9636796
Fix warnings during indexer restart
priojeetpriyom Nov 23, 2023
559dbdb
Update missing blocks job frequency
priojeetpriyom Nov 23, 2023
165726c
:arrow_up: Bump Lisk Service framework to v1.6.8
sameersubudhi Nov 23, 2023
382af7a
:package: Bump lisk-service-framework in package.json to v1.6.8
sameersubudhi Nov 23, 2023
797b7c9
Apply suggestions from code review
sameersubudhi Nov 23, 2023
811baf3
Fixes adding redundant height to index job queue
vardan10 Nov 24, 2023
264b4b6
Updated max query range of blocks to batch
vardan10 Nov 24, 2023
93b94c5
Merge pull request #1939 from LiskHQ/1938-missing-blocks-job-not-work…
sameersubudhi Nov 24, 2023
d8ce941
Revert logic
priojeetpriyom Nov 24, 2023
d55faa9
Merge branch 'release/0.7.0' into 1937-errors-when-indexing-the-testnet
priojeetpriyom Nov 24, 2023
8f33f79
Fetch last indexed height from blocks table in coordinator && fix bugs
priojeetpriyom Nov 24, 2023
a14a9ed
Emiting event after index status change
vardan10 Nov 24, 2023
c3ad8ed
:package: Update Lisk SDK to v6.0.1
sameersubudhi Nov 25, 2023
1bf2276
:package: Update Lisk SDK to v6.0.1
sameersubudhi Nov 24, 2023
0cd46e2
Merge branch 'release/0.7.0' into 1940-update-lisk-sdk-to-v6-0-1
sameersubudhi Nov 25, 2023
f814375
Added unit tests for index status change event
vardan10 Nov 25, 2023
f3279f8
Merge branch 'release/0.7.0' into 1942-emit-an-event-after-index-stat…
sameersubudhi Nov 25, 2023
6f05694
Merge branch 'release/0.7.0' into 1937-errors-when-indexing-the-testnet
sameersubudhi Nov 25, 2023
fe6209f
Merge pull request #1947 from LiskHQ/1940-update-lisk-sdk-to-v6-0-1
sameersubudhi Nov 25, 2023
157d92a
Updated socket io subscribe test script
vardan10 Nov 25, 2023
42e9f32
Always schedule indexing of max indexed height + 1 if present
priojeetpriyom Nov 25, 2023
42707d1
Apply suggestions and add fallback for getIndexVerifiedHeight
priojeetpriyom Nov 25, 2023
6d5728e
Modified API client to use heartbeat
vardan10 Nov 25, 2023
35c005c
Merge pull request #1946 from LiskHQ/1942-emit-an-event-after-index-s…
sameersubudhi Nov 25, 2023
fb5c498
Merge branch 'release/0.7.0' into 1944-Unreliable-API-client-liveline…
sameersubudhi Nov 25, 2023
5269714
:hammer: Refactor code
sameersubudhi Nov 25, 2023
1ec2de5
:racehorse: Optimize API client liveliness check
sameersubudhi Nov 25, 2023
06f852e
Update services/blockchain-connector/shared/sdk/client.js
sameersubudhi Nov 25, 2023
a64af4e
:ok_hand: Apply review recommendations
sameersubudhi Nov 25, 2023
555f18a
Update docker/example.env
sameersubudhi Nov 25, 2023
4a31a85
Fix connector crashes on newBlock signal and sqlite cache errors
priojeetpriyom Nov 25, 2023
e58878c
Merge pull request #1948 from LiskHQ/1944-Unreliable-API-client-livel…
sameersubudhi Nov 25, 2023
e2ca07f
Merge branch 'release/0.7.0' into 1937-errors-when-indexing-the-testnet
priojeetpriyom Nov 25, 2023
535caba
:ok_hand: Apply review recommendations
sameersubudhi Nov 25, 2023
cac9f54
Merge pull request #1941 from LiskHQ/1937-errors-when-indexing-the-te…
sameersubudhi Nov 25, 2023
68b71e0
:arrow_up: Bump Lisk Service Framework to v1.6.9
sameersubudhi Nov 26, 2023
9efaa35
:package: Update Lisk Service framework to v1.6.9
sameersubudhi Nov 26, 2023
8c9cf14
:bug: Add missing null check within checkIsClientAlive
sameersubudhi Nov 26, 2023
42c0273
:bug: Add error handling for when indexer doesn't respond
sameersubudhi Nov 26, 2023
090feba
:bug: Fix deleteIndexedBlocksWrapper
nagdahimanshu Nov 27, 2023
4eec97c
Merge pull request #1951 from LiskHQ/1950-error-when-handling-deleted…
sameersubudhi Nov 27, 2023
683759b
Merge branch 'release/0.7.0' into 1945-high-cpu-utilisation-by-blockc…
sameersubudhi Nov 27, 2023
a905b0a
:bug: Add error handling for incorrect user inputs for env variables
sameersubudhi Nov 27, 2023
48192e4
:hankey: Temporary fix for non-responsive connector
sameersubudhi Nov 27, 2023
9ff3fb8
:ok_hand: Apply review recommendations
sameersubudhi Nov 27, 2023
0b87ec3
:racehorse: Improve getRandInt implementation
sameersubudhi Nov 27, 2023
cb9a592
:bug: Fix checkIsClientAlive
sameersubudhi Nov 27, 2023
9030f52
:racehorse: Do not re-instantiate API client unnecessarily
sameersubudhi Nov 27, 2023
fe42a96
:hammer: Delay cache updates when writes are failing due to DB locks
sameersubudhi Nov 27, 2023
99f4798
:bug: Fixed genesis block job not rescheduled incase genesis block in…
vardan10 Nov 28, 2023
9fd85ed
:wrench: Disable CONNECTOR_EXIT_DELAY_IN_HOURS in connector by default
sameersubudhi Nov 28, 2023
62fcf61
:ok_hand: Apply review recommendations
sameersubudhi Nov 28, 2023
3c76f62
Optimised events API db query
vardan10 Nov 28, 2023
c52003a
Update framework in all services
vardan10 Nov 28, 2023
3a3c601
Merge pull request #1949 from LiskHQ/1945-high-cpu-utilisation-by-blo…
sameersubudhi Nov 28, 2023
21c265f
Merge branch 'release/0.7.0' into 1952-Event-API-takes-a-long-time-to…
vardan10 Nov 28, 2023
57b211c
Update framework in all services
vardan10 Nov 28, 2023
64d4d58
Fixed topic query in events
vardan10 Nov 28, 2023
dfb08a6
Optimised fetching blocks in events API
vardan10 Nov 28, 2023
bea05ce
Optimization for events API
vardan10 Nov 29, 2023
f69e531
Update framework in all services
vardan10 Nov 29, 2023
9f034d1
:hammer: Update TOPIC_CSV regex
sameersubudhi Nov 29, 2023
28cc0d6
:wrench: Set default removeOnFail config for all the bull queues
sameersubudhi Nov 29, 2023
63a58ad
:wrench: Update missing blocks job to run every minute
sameersubudhi Nov 29, 2023
7418602
:hammer: Add handling for edge-case scenarios for missing blocks sche…
sameersubudhi Nov 29, 2023
7d6f68d
Added unit tests for events
vardan10 Nov 29, 2023
41aa413
Updated code to fetch table names from schema
vardan10 Nov 29, 2023
9f1929c
👌 Apply review recommendations
vardan10 Nov 29, 2023
62f3626
Merge pull request #1953 from LiskHQ/1952-Event-API-takes-a-long-time…
sameersubudhi Nov 29, 2023
e0cd440
Added a docker deployment for jenkins nightly build pipeline
vardan10 Nov 29, 2023
1da8eea
Merge pull request #1955 from LiskHQ/1954-docker-deployment-of-servic…
sameersubudhi Nov 29, 2023
feb052e
:wrench: Re-configure missing blocks job to run every 5 minutes
sameersubudhi Nov 29, 2023
02db4f1
:arrow_up: Version bump to 0.7.0
sameersubudhi Nov 29, 2023
bea20d1
:bug: Format transactions for new.transactions event payload
nagdahimanshu Nov 30, 2023
e802147
Update docs
nagdahimanshu Nov 30, 2023
19ab740
Update example.env file
nagdahimanshu Nov 30, 2023
c51dc25
Update queue default job options
nagdahimanshu Nov 30, 2023
5cb6fc8
Publish framework to GitHub
nagdahimanshu Nov 30, 2023
51687f7
:arrow_up: Update framework in all microservices
nagdahimanshu Nov 30, 2023
8c208b1
Add null check before dispatching deleteTransactions signal
nagdahimanshu Dec 1, 2023
a155e74
Merge pull request #1959 from LiskHQ/1956-fix-new-transactions-event-…
sameersubudhi Dec 1, 2023
bc68c02
:bug: Fix update.round event response
nagdahimanshu Dec 1, 2023
7281598
Update delay to 10 seconds for blocks caching
nagdahimanshu Dec 1, 2023
67759ef
Add unit tests
nagdahimanshu Dec 1, 2023
3132da6
Merge pull request #1960 from LiskHQ/1958-empty-data-in-delete-transa…
sameersubudhi Dec 1, 2023
0cc01c6
Resolve TODO
nagdahimanshu Dec 1, 2023
46e603c
Merge pull request #1961 from LiskHQ/1958-empty-data-in-delete-transa…
sameersubudhi Dec 1, 2023
8d1456b
:bug: Clear interval based logging on indexing fail
sameersubudhi Dec 2, 2023
3897fac
:racehorse: Avoid unnecessary api client re-instantiation
sameersubudhi Dec 2, 2023
5e574d7
:hammer: Remove redundant events-based client liveness check
sameersubudhi Dec 2, 2023
7aa8359
:wrench: Update NATS server max payload
sameersubudhi Dec 2, 2023
6551b43
:shirt: Lint fixes
sameersubudhi Dec 2, 2023
4bfd2e4
Revert ":hammer: Remove redundant events-based client liveness check"
sameersubudhi Dec 2, 2023
12eacc1
:hammer: Use events-based liveness check for IPC clients
sameersubudhi Dec 2, 2023
0179689
:bug: Fixed swagger inconsistencies
vardan10 Dec 2, 2023
b3acebb
:books: Updated swagger and API docs
vardan10 Dec 2, 2023
a8e25a6
Updated regex
vardan10 Dec 2, 2023
b6dec82
Merge pull request #1965 from LiskHQ/1964-fix-swagger-inconsistencies
sameersubudhi Dec 2, 2023
76b6486
:hammer: Update pm2 config files
sameersubudhi Dec 2, 2023
d7707e6
Merge pull request #1963 from LiskHQ/1962-fix-mainnet-genesis-block-i…
sameersubudhi Dec 2, 2023
27c7b40
:arrow_up: Version bump to 0.7.1
sameersubudhi Dec 2, 2023
a0bd0e8
Update transactions API
vardan10 Dec 4, 2023
7801679
Updated events API to use transactions ID for sender address query
vardan10 Dec 4, 2023
f4b5f0d
Updated configs
vardan10 Dec 4, 2023
df0d962
Updated unit tests for events
vardan10 Dec 4, 2023
4fb93b9
Merge branch 'development' into 1967-senderAddress-also-returns-recip…
vardan10 Dec 4, 2023
0631b3d
Merge branch 'development' into 1966-transactions-API-ignore-other-pa…
vardan10 Dec 4, 2023
46b94d8
Updated unit tests for events
vardan10 Dec 4, 2023
fb5a15c
Merge pull request #1968 from LiskHQ/1966-transactions-API-ignore-oth…
sameersubudhi Dec 5, 2023
fc52af7
Optimized Event API
vardan10 Dec 5, 2023
2a0043a
Merge pull request #1969 from LiskHQ/1967-senderAddress-also-returns-…
sameersubudhi Dec 5, 2023
4750c09
Disable chain_ endpoint through invoke using DISABLE_CHAIN_ENDPOINTS_…
priojeetpriyom Dec 5, 2023
2ec0e3e
Restrict methods on invoke endpoint based on config
priojeetpriyom Dec 5, 2023
ecec5d7
Update docs and fix redundant fallback for config
priojeetpriyom Dec 5, 2023
ce7bbfb
Apply suggestions from code review
priojeetpriyom Dec 5, 2023
862592a
:art: Apply suggestions
priojeetpriyom Dec 5, 2023
f61e428
Apply suggestions
priojeetpriyom Dec 5, 2023
b1f6c84
Merge branch 'development' into 1971-update-schema-for-txpool-get-tra…
priojeetpriyom Dec 5, 2023
baca7e4
Update docs/antora/modules/ROOT/pages/configuration/index.adoc
priojeetpriyom Dec 5, 2023
fbdc869
Apply suggestions
priojeetpriyom Dec 5, 2023
b134950
:art: Apply suggestions
priojeetpriyom Dec 5, 2023
8c93a5e
:art: Lint
priojeetpriyom Dec 5, 2023
6f6aed9
Trigger
priojeetpriyom Dec 5, 2023
efee7fc
Fix failing tests
priojeetpriyom Dec 5, 2023
e1463dd
Update indexer README
priojeetpriyom Dec 5, 2023
113d53d
Update links and antora.yml
Tschakki Dec 6, 2023
8df754d
Update schemas for invoke endpoint
priojeetpriyom Dec 6, 2023
5b3a435
Upgraded redis version
vardan10 Dec 6, 2023
9a2b00c
Update links
Tschakki Dec 6, 2023
9a893a7
:hammer: Index valid generatorKeys/publicKeys from genesis assets
sameersubudhi Dec 6, 2023
b61ad16
:wrench: Index more publickeys and addresses every run
sameersubudhi Dec 6, 2023
c38299b
:wrench: Tune max_memory_restart for all microservices in pm2 configs
sameersubudhi Dec 6, 2023
fc1e256
Merge pull request #1975 from LiskHQ/1973-upgrade-Redis-version
sameersubudhi Dec 6, 2023
33f360f
Add default value for INVOKE_ALLOWED_METHODS
priojeetpriyom Dec 6, 2023
9130ca2
:zap: Skip block caching if SQLite errors 3 times in a row
sameersubudhi Dec 6, 2023
23b2767
Merge pull request #1972 from LiskHQ/1971-update-schema-for-txpool-ge…
vardan10 Dec 6, 2023
4d2a6ec
Merge branch 'development' into 1974-index-valid-generator-keys-from-…
sameersubudhi Dec 6, 2023
345f01b
Update ecosystem.jenkins.config.js
sameersubudhi Dec 7, 2023
cd9149f
Update services/blockchain-connector/shared/sdk/cache.js
sameersubudhi Dec 7, 2023
92f92e8
Merge pull request #1977 from LiskHQ/1974-index-valid-generator-keys-…
sameersubudhi Dec 7, 2023
1f16e1f
Updated node liveliness check mechanism
vardan10 Dec 7, 2023
a1ef426
Merge pull request #1976 from LiskHQ/1926-update-servicev07-links
sameersubudhi Dec 7, 2023
76b7141
Added failsafe in connector in case indexer events fail to ensure nod…
vardan10 Dec 7, 2023
0fe92cb
Cache getAllPosValidators on block events and init
priojeetpriyom Dec 7, 2023
df9251e
Updated logs
vardan10 Dec 7, 2023
829b3e9
:hammer: Skip indexBlock job run if the height to be indexed does not…
sameersubudhi Dec 7, 2023
1a95c33
Updated logs
vardan10 Dec 7, 2023
97cb409
:zap: Improve instantiateClient implementation
sameersubudhi Dec 7, 2023
7be34a8
:hammer: Refactor scheduleMissingBlocksIndexing
sameersubudhi Dec 7, 2023
0505abb
:art: Apply suggestions
priojeetpriyom Dec 7, 2023
c8e25a3
:art: Refactor
priojeetpriyom Dec 7, 2023
6d97ad0
Updated logs
vardan10 Dec 7, 2023
b617395
Update services/blockchain-connector/shared/sdk/client.js
sameersubudhi Dec 7, 2023
883a4fc
:racehorse: Optimize triggerAccountsBalanceUpdate
sameersubudhi Dec 7, 2023
587106c
Merge pull request #1983 from LiskHQ/1979-missing-error-handling-in-c…
sameersubudhi Dec 7, 2023
4586c33
Merge branch 'development' into 1980-indexer-queries-for-block-height…
sameersubudhi Dec 7, 2023
92f8190
:hammer: Update log level
sameersubudhi Dec 11, 2023
8a5ac48
Merge pull request #1981 from LiskHQ/1978-Connector-creates-too-many-…
priojeetpriyom Dec 11, 2023
cd773b3
:bug: Include signatures in transactions response
sameersubudhi Dec 11, 2023
325494a
Merge branch 'development' into 1980-indexer-queries-for-block-height…
sameersubudhi Dec 11, 2023
7be3014
:hammer: Update logs
sameersubudhi Dec 11, 2023
b4313e1
:bug: Fix getAllPosValidators implementation in connector
sameersubudhi Dec 11, 2023
f209f34
Merge pull request #1982 from LiskHQ/1980-indexer-queries-for-block-h…
sameersubudhi Dec 11, 2023
f09c131
Added limit to max web socket connection initialisation
vardan10 Dec 11, 2023
581e258
Merge branch 'development' into 1985-limit-max-web-socket-connection-…
vardan10 Dec 11, 2023
97e660f
Updated formating of transaction
vardan10 Dec 11, 2023
56b5fa9
Applied suggestions
vardan10 Dec 11, 2023
4e17140
Updated transaction integration tests
vardan10 Dec 12, 2023
26e8fe8
Merge pull request #1986 from LiskHQ/1985-limit-max-web-socket-connec…
sameersubudhi Dec 12, 2023
6e74194
Added authnetication to docker redis deployments
vardan10 Dec 12, 2023
cb99a1e
Merge branch 'development' into 1987-add-authentication-support-for-r…
vardan10 Dec 12, 2023
d4eabdc
Upgraded ioredis version
vardan10 Dec 12, 2023
7472a91
Merge pull request #1988 from LiskHQ/1987-add-authentication-support-…
sameersubudhi Dec 12, 2023
dd6293e
:pencil: Add documentation around Redis auth
sameersubudhi Dec 13, 2023
0ee0a47
:ok_hand: Apply review recommendations
sameersubudhi Dec 13, 2023
ef36637
Update docs/redis_authentication.md
sameersubudhi Dec 13, 2023
44c01b6
Merge pull request #1989 from LiskHQ/1987-add-authentication-support-…
sameersubudhi Dec 13, 2023
c583a20
:arrow_up: Version bump to 0.7.2
sameersubudhi Dec 13, 2023
3c32d2f
update streamer to the latest of list-service development branch
curvesy Dec 16, 2023
4b533a6
Remove dependency-review-action@v2 from dependency.yaml
curvesy Dec 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 6 additions & 7 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"extends": [
"lisk-base"
"lisk-base",
"prettier"
],
"plugins": [
"import",
"mocha"
],
"globals": {
"ipc": true,
"BigInt": true,
"PRODUCTION": true,
"TEST": true,
"BigInt": true
"TEST": true
},
"env": {
"node": true,
Expand Down Expand Up @@ -42,6 +43,7 @@
]
}
],
"no-await-in-loop": "off",
"no-loop-func": "off",
"no-plusplus": "off",
"no-restricted-properties": "off",
Expand Down Expand Up @@ -70,9 +72,6 @@
}
],
"mocha/no-skipped-tests": "off",
"indent": [
"error",
"tab"
]
"indent": "off"
}
}
10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,17 @@
---

name: Bug report
about: Create a report to help us improve
title: ''
labels: 'type: bug'
assignees: ''
projects: 'Lisk Service Version 0.7.0'
status: 'Backlog'

---

### Actual behavior



### Expected behavior



### Steps to reproduce



### Which version(s) does this affect? (Environment, OS, etc...)


1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Propose an idea for new improvements/features
title: ''
labels: 'type: enhancement, type: feature proposal'
assignees: ''

---

### Description
Expand Down
3 changes: 3 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
### What was the problem?

This PR resolves #INSERT_ISSUE_NUMBER

### How was it solved?

<!--- Please describe your technical implementation -->

### How was it tested?

<!--- Please describe how you tested your changes -->
2 changes: 1 addition & 1 deletion .github/semgrep/rule.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
rules:
- id: schema_hardcoded_pattern
message: A fastest-validator schema uses a hardcoded pattern instead of a constant
languages:
languages:
- javascript
severity: WARNING
patterns:
Expand Down
42 changes: 21 additions & 21 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
name: 'CodeQL'

on:
push:
branches: [ "development", feature/*, hotfix/*, main, release/* ]
branches: ['development', feature/*, hotfix/*, main, release/*]
pull_request:
# The branches below must be a subset of the branches above
branches: [ feature/*, hotfix/*, release/* ]
branches: ['development', feature/*, hotfix/*, release/*]
schedule:
- cron: '30 3 * * 2'

Expand All @@ -32,28 +32,28 @@ jobs:
strategy:
fail-fast: true
matrix:
language: [ 'javascript' ]
language: ['javascript']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: '/language:${{matrix.language}}'
2 changes: 0 additions & 2 deletions .github/workflows/dependency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,3 @@ jobs:
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
- name: 'Dependency Review'
uses: actions/dependency-review-action@v2
2 changes: 1 addition & 1 deletion .github/workflows/pr-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
node-version-file: '.nvmrc'
- name: Install dependencies
run: make build-local
- name: Check test coverage
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Semgrep

on:
push:
branches: [ "development", feature/*, hotfix/*, main, release/* ]
branches: ['development', feature/*, hotfix/*, main, release/*]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "development", feature/*, hotfix/*, release/* ]
branches: ['development', feature/*, hotfix/*, release/*]
# Schedule the CI job (this method uses cron syntax):
schedule:
- cron: '30 3 * * 2'
Expand All @@ -15,8 +15,8 @@ on:
jobs:
semgrep:
# User definable name of this GitHub Actions job.
name: semgrep/ci
# If you are self-hosting, change the following `runs-on` value:
name: semgrep/ci
# If you are self-hosting, change the following `runs-on` value:
runs-on: ubuntu-latest

container:
Expand All @@ -36,7 +36,7 @@ jobs:
# Generate a token from Semgrep Cloud Platform > Settings
# and add it to your GitHub secrets.
# SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
SEMGREP_RULES: "p/javascript p/r2c p/r2c-security-audit p/r2c-best-practices p/nodejs p/nodejsscan ./.github/semgrep/rule.yaml"
SEMGREP_RULES: 'p/javascript p/r2c p/r2c-security-audit p/r2c-best-practices p/nodejs p/nodejsscan ./.github/semgrep/rule.yaml'

- name: Upload SARIF file for GitHub Advanced Security Dashboard
uses: github/codeql-action/upload-sarif@v2
Expand Down
61 changes: 61 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Files
Jenkinsfile*
Makefile
Dockerfile
LICENSE
.DS_Store
data/
.idea
logs/
jenkins/*.deployment

docs/

.gitkeep
mocha.opts

# rc files
.*rc
## ignore files
.*ignore

# Ignore extensions
*.png
*.sql
*.blob
*.ejs
*.sh
*.conf
*.env
*.info
*.log
*.tgz
*.lock
*.sqlite3

## jest snapshot
*.snap
*.tsbuildinfo

# project specific paths
test/.coverage-unit/
helm
coverage/
build/
dist/
docker/.env*
qa/
bin
tmp/

*.pid
*.gz

*.SHA256
*.mock
*.txt
.editorconfig

*.mainnet

docker/*
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all",
"useTabs": true,
"arrowParens": "avoid"
}
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ test-functional:
$(compose) exec -T tests yarn run test:functional

test-integration:
$(compose) exec -T tests yarn run test:integration:APIv3:SDKv6
$(compose) exec -T tests yarn run test:integration:APIv3

cli: cli-gateway

Expand Down Expand Up @@ -70,7 +70,9 @@ logs-live-%:
print-config:
$(compose) config

build: build-app-registry build-connector build-indexer build-coordinator build-statistics build-fees build-market build-export build-gateway
build: build-local build-images

build-images: build-app-registry build-connector build-indexer build-coordinator build-statistics build-fees build-market build-export build-gateway

build-all: build build-template build-tests

Expand Down Expand Up @@ -121,6 +123,7 @@ build-local:
cd ./services/export && yarn install --frozen-lockfile
cd ./services/template && yarn install --frozen-lockfile
cd ./tests && yarn install --frozen-lockfile

clean: clean-local clean-images

clean-local:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Every microservice is independently managed and placed in a separate directory u
- The default installation method is based on Docker.
- Some token conversion rates in the Market service require their API keys.
- For the events information to be always available in the API, please set `system.keepEventsForHeights: -1` in the Lisk application node config.
- It is highly recommended to *NOT* enable any plugins on the Lisk application node when running Lisk Service against it. Enabling them can cause performance issues in Lisk Service.
- It is highly recommended to _NOT_ enable any plugins on the Lisk application node when running Lisk Service against it. Enabling them can cause performance issues in Lisk Service.

## Architecture Diagram

Expand Down Expand Up @@ -95,7 +95,7 @@ cd lisk-service
If you wish to build the local version of Lisk Service execute the following command below:

```bash
make build
make build-images
```

> This step is only necessary if you wish to build a custom or pre-release version of Lisk Service that does not have a pre-built Docker image published on the Docker Hub. The installation script chooses the last available stable version on Docker Hub, **unless** there is no local image. If you are unsure about any local builds, use the `make clean` command to remove all locally built docker images.
Expand All @@ -106,8 +106,8 @@ The following system requirements are recommended to start Lisk Service:

#### Memory

- Machines with a minimum of 8 GB RAM for the Mainnet.
- Machines with a minimum of 8 GB RAM for the Testnet.
- Machines with a minimum of 16 GB RAM for the Mainnet.
- Machines with a minimum of 16 GB RAM for the Testnet.

#### Storage

Expand Down
Loading