-
Notifications
You must be signed in to change notification settings - Fork 49
State changes #1532
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
Closed
Closed
State changes #1532
Changes from 78 commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
5239843
add websockets for blocks and txs
stefangutica 6be90b6
add support for subscribe to stats
stefangutica 1442509
use websockets rooms
stefangutica 7d322ee
remove logs
stefangutica 62974c7
add lock on crons
stefangutica 8006d5e
check stats room exists
stefangutica d09f688
fix indent spaces
stefangutica 62fa109
add validation pipes + filters
stefangutica a7e71ea
add try catch + class validator fixes
stefangutica 58be392
fix linter
stefangutica 6c82ee3
receive state changes events from queue
stefangutica d67b48f
add devnet configs
stefangutica 69581a7
decode state changes
stefangutica f8de446
update states in db
stefangutica aaaf343
store last processed block timestamp
stefangutica c00356b
npm packages
stefangutica 626d1be
add accounts v2 module
stefangutica 270638f
fix rabbit queue ordering
stefangutica 0ae1972
fix tokens update + add index on tokens identifiers
stefangutica 434c960
decoding improvements
stefangutica ccba935
improvements
stefangutica 65a8831
fix
stefangutica f77e1ea
fix typo
stefangutica 8c1b284
fix esdts nonce & identifier
stefangutica 7fd1e89
parse types/subtypes + delete esdt support
stefangutica ffb26a2
fix
stefangutica f921fec
fix remove esdt
stefangutica 855e10f
fix decoder
stefangutica f42a1d9
parse sc code metadata
stefangutica 77be688
fix esdts nonce
stefangutica 232f3cd
caching + invalidation + store in db for account state
stefangutica b521a41
improvements
stefangutica f65e29b
fixes + clean
stefangutica 4aec0f6
fixes
stefangutica 0ddcde3
fixes
stefangutica 3863f14
clean
stefangutica de5eb29
lint
stefangutica d0776bd
devnet config example
stefangutica 81d07dc
fix
stefangutica 256ad76
fix
stefangutica a692a6d
test
stefangutica 0f0147e
update configs
stefangutica 5018ac5
remove mongo module from token/nft modules
stefangutica dc9a3e4
test
stefangutica 1960552
add mongo default user pass
stefangutica 0b4fdc6
fix mock
bogdan-rosianu a043e7c
Merge remote-tracking branch 'origin/state-changes' into state-changes
bogdan-rosianu 0113ef3
passthrough db in tests
bogdan-rosianu 0556276
add tls in config
stefangutica cf4f4d6
fix lint
bogdan-rosianu b5a543b
add config
stefangutica c234b3a
fix e2e config
bogdan-rosianu fc96f32
Merge remote-tracking branch 'origin/state-changes' into state-changes
bogdan-rosianu 24d6c8a
remove websockets subscription
stefangutica b0984db
remove tx websocket
stefangutica 0345f88
remove ws filters & parsers
stefangutica 0b627f7
remove not used entities
stefangutica ddb419a
rename queue
stefangutica 7611306
fix db tls config fetch
bogdan-rosianu 6b1ff81
Merge branch 'development' into state-changes
bogdan-rosianu c4043a7
fix package lock after merge
bogdan-rosianu 22cfb98
fix dependency
bogdan-rosianu 56e083f
Merge branch 'development' into state-changes
bogdan-rosianu a053f2d
ignore metadata for user wallet addresses
stefangutica 7317294
add support for timestamp/timestampMs
stefangutica 1388717
fix unit tests
stefangutica 8dbb737
fix
stefangutica 4066bed
fix username
stefangutica d0f4429
parse guardian data
stefangutica 57320f2
Merge branch 'development' into state-changes
stefangutica c4987ef
debug print workflow
bogdan-rosianu c8ee8c0
force workflow branch
bogdan-rosianu 25d75c9
Merge branch 'development' into state-changes
bogdan-rosianu 87fc1de
remove duplicated field
bogdan-rosianu f276883
add logs
stefangutica 84f7049
fixes
stefangutica 748c5ac
add performance profiler
stefangutica 4ddc2d8
skip metashard
stefangutica 901954c
fixes after review
stefangutica 91ea6a0
fixes after review
stefangutica 8c86095
configs + endpoint rename
stefangutica 7510101
remove log
stefangutica File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,6 +23,11 @@ features: | |
| websocketSubscription: | ||
| enabled: false | ||
| port: 6002 | ||
| stateChanges: | ||
| enabled: false | ||
| port: 5675 | ||
| url: 'amqp://guest:guest@127.0.0.1:5672' | ||
| exchange: 'state_accesses' | ||
| eventsNotifier: | ||
| enabled: false | ||
| port: 5674 | ||
|
|
@@ -34,7 +39,7 @@ features: | |
| hitsThreshold: 100 | ||
| ttl: 12 | ||
| transactionPool: | ||
| enabled: false | ||
| enabled: true | ||
| transactionPoolWarmer: | ||
| enabled: false | ||
| cronExpression: '*/5 * * * * *' | ||
|
|
@@ -149,7 +154,8 @@ indexer: | |
| maxPagination: 10000 | ||
| database: | ||
| enabled: false | ||
| url: 'mongodb://127.0.0.1:27017/api?authSource=admin' | ||
| url: 'mongodb://root:secret@127.0.0.1:27017/api?authSource=admin' | ||
| tls: false | ||
| type: 'mysql' | ||
| host: 'localhost' | ||
| port: 3306 | ||
|
|
@@ -186,4 +192,6 @@ compression: | |
| enabled: true | ||
| level: 6 | ||
| threshold: 1024 | ||
| chunkSize: 16384 | ||
| chunkSize: 16384 | ||
| pubSubListener: | ||
| enabled: true | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. add empty line at the end of the file |
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be removed (only used for debugging)