-
Notifications
You must be signed in to change notification settings - Fork 33
KISS Peer discovery, KISS Bootstrapping, Nodes auto-stake/unstake via K8S cluster-manager, Node Finite state machine - Issues #416, #490, #429, #498, #499 #491
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
Changes from all commits
Commits
Show all changes
233 commits
Select commit
Hold shift + click to select a range
f7a82ba
tilt + PO + localnet
okdas 62683a5
--wip-- [skip ci]
okdas 67132eb
--wip-- [skip ci]
okdas 764c722
observability stack
okdas c2c0fd5
--wip-- [skip ci]
okdas 2960669
grafana is auto provisioned with observability stack
okdas 1455a40
--wip-- [skip ci]
okdas ca9ebeb
stabilizing tilt
okdas 1fd8bb1
--wip-- [skip ci]
okdas 048947c
more changes to grafana, tilt and docs
okdas 2fb9f04
more docs
okdas e66bd74
let tilt ignore the same stuff as git, so it wont get triggered by ve…
okdas cc95782
note about changing pocket-operator code
okdas 5198b1d
Merge branch 'main' into dk-localnet-pocket-operator
okdas f0aa697
Update Makefile
okdas 8b50310
Update Makefile
okdas 52a44d7
Update Makefile
okdas 846ba6c
requested changes so far
okdas 558768e
more requested changes
okdas 03f3ba3
Merge branch 'main' into dk-localnet-pocket-operator
okdas 5b824af
some requested changes
okdas d53eded
Merge branch 'main' into dk-localnet-pocket-operator
okdas 5225c3e
add mermaid diagram
okdas b2cb5af
clarify location of the config files
okdas 80d790d
--wip-- [skip ci]
okdas c94cb4f
localnet without operator
okdas 78f09da
Merge branch 'main' into dk-localnet-pocket-operator
okdas 372bb6c
latest config
okdas b92bc03
Merge branch 'main' into dk-localnet-pocket-operator
okdas 1b103d7
fully working operatorless localnet
okdas 0f354d9
auto update now works too
okdas 7631fd3
--wip-- [skip ci]
okdas 1d57ceb
bump documentation
okdas ac40457
change config a bit
okdas 06c8ef3
this is not needed anymore
okdas cba72f7
Merge branch 'main' into dk-localnet-pocket-operator
okdas a778f2c
can scale validators automatically
okdas 2e47e2c
change keys
okdas fa24420
Merge branch 'main' into dk-localnet-pocket-operator
okdas ebd5dd8
also replace pubkeys
okdas defca3b
complete changing the keys // tests passed
okdas 03e5a04
bring bck state hashes
okdas 36b1e5f
Merge branch 'main' into dk-localnet-pocket-operator
okdas 19d6ba4
wip
okdas fae2775
wip
okdas 28c2ee0
add/change changelogs
okdas 27d0daf
create localnet_config.yaml when it doesn exist
okdas 294ae17
Updated gitinore for Tilt
Olshansk bc846f3
Made the Makefile help command work
Olshansk 792f973
Renamed the readme file and fixed default formatting
Olshansk 25a4a36
Update error messages
Olshansk cc96bf3
Update error messages
Olshansk 8364117
WIP commit - review + removing $ everywhere
Olshansk 1261079
Update all the documentation
Olshansk 4c1fd86
feat(localnet): initcontainer to wait for postgres
deblasis f75fde2
feat(localnet): initcontainer to wait for postgres
deblasis cfca9c6
feat(localnet): cluster-manager POC
deblasis b46d2d3
also install helm
okdas f7e41fb
feat(crypto): ed25519
deblasis e0873d6
refactor(genesis): added accounts for all the validators in Localnet
deblasis e9689ab
refactor(localnet): renamed cluster-manager serviceAccount
deblasis 23b2d9b
feat(localnet): cluster-manager validator keys from secret - WIP
deblasis 2dc1bae
fix(utility): nil pointer fix
deblasis 7188a2e
requested changes so far
okdas 1bf5fd4
more requested changes
okdas 54a7629
update links
okdas 7ec2217
include demo
okdas 1ac46b8
chore(docker-compose): renamed deployment to pocket-v1
deblasis e280594
feat(CLI): allowing non interactive stake and unstake
deblasis f0eaf43
feat(localnet): cluster-manager dogfoods the CLI to stake/unstake
deblasis fc7f167
feat(localnet): dogfooding CLI in cluster-manager
deblasis a920a5d
feat(makefile): localnet_db_cli
deblasis 6237753
feat(utility): clearing mempool on resetToGenesis
deblasis 841d90c
chore(go.mod): tidy
deblasis 33a45cf
Update build/localnet/README.md
okdas 469e67a
Update build/localnet/README.md
okdas a8df9d9
Update build/localnet/README.md
okdas 5a5c042
Update build/localnet/README.md
okdas 62561c6
Update build/localnet/Tiltfile
okdas 46d3f74
Update build/localnet/README.md
okdas 2135d26
Update build/localnet/README.md
okdas fe98bce
Update build/localnet/README.md
okdas 1e59e9c
Update build/localnet/Tiltfile
okdas 1c17e68
clarify postgres ports
okdas f3d083b
Merge branch 'main' into dk-localnet-pocket-operator
okdas 8e864f3
fix changelogs
okdas 93851be
oops, this got lost!
okdas 4b8da0f
Merge remote-tracking branch 'upstream/dk-localnet-pocket-operator' i…
deblasis 778c33d
refactor(localnet): updates from dima's branch
deblasis aea3359
feat(localnet): cli-client waits for v1-validator001 (target node)
deblasis 61606f7
feat(localnet): accounts updated in genesis for localnet as well
deblasis 104339a
fix(utility): logging error if ApplyTransaction fails...
deblasis 18a6706
feat(consensus): NewHeightEvent
deblasis ce6b59a
Revert "feat(consensus): NewHeightEvent"
deblasis cc3c8c7
feat(consensus): NewHeightEvent
deblasis 9a441a4
feat(consensus): resetToGenesis publishes NewHeightEvent
deblasis 00d4d8c
feat(consensus): SetHeight publishes NewHeightEvent
deblasis d418dc5
refactor(shared): ModulesRegistry
deblasis 347102e
fix(shared): module registration
deblasis cbd9213
fix(runtime): fixed tests
deblasis 3f0aaeb
Merge remote-tracking branch 'upstream/main' into issue/416-kiss-peer…
deblasis c51fcfb
fix(utility): missing import
deblasis 6e5e014
fix(bus): GetModulesRegistry implementation
deblasis ac8c3f9
refactor(rpc): github.com/deepmap/oapi-codegen/pkg/runtime import
deblasis 0a9a7c7
feat(rpc): GET /v1/p2p/address_book implementation
deblasis 0aaa652
feat(shared): baseModules -> DRY
deblasis e83dc10
fix(p2p): modulesRegistry mock config
deblasis 8260e63
refactor(infra): passing RPC_HOST to debug client
deblasis fbf013e
feat(p2p): rpc addrbook_provider
deblasis 3b74980
feat(p2p): rpc current_height_provider
deblasis 7e2b809
feat(shared): generalized module options
deblasis e7b76fd
fix(p2p): raintree using currentHeightProvider
deblasis 0aef8e2
fix(rpc): fixed openapi P2PStakedActorsResponse
deblasis 596d754
refactor(runtime): exposed DefailtRPCPort
deblasis f840eed
fix(runtime): fixed bus in RuntimeManager
deblasis 378e87b
refactor(cli): debug cli now sources addressbook remotely via RPC
deblasis 00df050
Merge remote-tracking branch 'upstream/main' into issue/416-kiss-peer…
deblasis 727b729
fix(cli): merge fix
deblasis de7c8c0
fix(rpc): merge fix
deblasis 352c068
refactor(p2p): deprecated debugCurrentHeightProvider
deblasis 18852ee
fix(p2p): fixed tests (mock config)
deblasis 4331a9d
refactor(shared): simplified module registration
deblasis 029fd17
chore(shared): linting
deblasis d1684cb
chore(shared): linting
deblasis 00af4ac
refactor(cli): centralized not_interactive flag
deblasis 9f5e35e
chore(cli): updated flag description
deblasis e84977b
refactor(cli): refactored broadcast
deblasis 17137d2
feat(p2p): reacting to height changes => addrbook delta
deblasis 59a0ea1
refactor(rpc): simplified module
deblasis 7a89eec
feat(cluster-manager): wait for validator1
deblasis 1a92565
feat(state_machine): node finite state machine WIP
deblasis 0401e39
fix(state-machine): updated to consider serverMode as independent proc
deblasis 36535ad
fix(cluster-manager): fix port
deblasis 00adc0d
refactor(p2p): bootstrapping
deblasis a29c2bc
feat(pocket): override bootstrapnodes
deblasis e6cb404
refactor(rpc): rpcServer implements BaseIntegratableModule
deblasis 3e2c538
fix(consensus): fixed tests (mock cfg)
deblasis 622f4d3
fix(p2p): bus shadowing embed fix
deblasis 8171a05
chore(state_machine): shadowing fix
deblasis 7b4e7c4
fix(p2p): error checking on add/remove peer
deblasis d08082d
chore(shared): return err on HandleEvent
deblasis 8eba0db
chore(shared): linting
deblasis 4c92b09
docs(consensus): CHANGELOG + nit
deblasis 3f37ba9
docs(p2p): CHANGELOG
deblasis 41dd4a4
chore(p2p): typo
deblasis 78eac4a
chore(cluster-manager): linting
deblasis a021202
chore(cluster-manager): linting exclusion for CLI
deblasis 0ae1426
docs(shared): CHANGELOGs + nits
deblasis 6d5ff55
docs(shared): CHANGELOGS + nits
deblasis d6a4a63
Merge remote-tracking branch 'upstream/main' into issue/416-kiss-peer…
deblasis aab3ecc
docs(state_machine): docs + nits
deblasis 261b634
docs(shared): CHANGELOGs
deblasis 4a7afd6
fix(state_machine): CHANGELOG version
deblasis e8ae3ad
docs(persistence): typo
deblasis 2854dcb
chore(shared): linter nits
deblasis 41b2bcf
chore(cluster-manager): nit
deblasis d4a63a8
Merge remote-tracking branch 'upstream/main' into issue/416-kiss-peer…
deblasis f488c35
fix(shared): processing module options
deblasis b8f67b6
refactor(shared): base modules in their own package
deblasis dcee5a8
docs(shared): dates in CHANGELOG
deblasis ad2e783
Update Makefile
deblasis ef818eb
Update app/client/cli/actor.go
deblasis a8caada
refactor(CLI): nonInteractive
deblasis fbb00db
style(cli): nit
deblasis 085c985
refactor(runtime): renamed WitCustomBootstrapNodes
deblasis 1221760
feat(p2p): bootstrapnodes
deblasis 89cad3c
Update build/docs/CHANGELOG.md
deblasis 7f6d25a
Update build/docs/CHANGELOG.md
deblasis 2acb0dc
Merge branch 'issue/416-kiss-peer-discovery-k8s-base354' of github.co…
deblasis 913ca83
docs(build): added comment regarding RPC_HOST
deblasis 08255ff
refactor(cluster-manager): using PrivateKey abstraction
deblasis 626e695
refactor(runtime): GetEnv
deblasis 87e08d5
docs(shared): modulesOptions explanation
deblasis 5e78dc9
fix(utility): use logger instead of log.xxx
deblasis f39c97b
refactor(runtime): consolidated RPC defaults
deblasis 4ffce8a
Update state_machine/docs/README.md
deblasis 08622b7
Update shared/modules/modules_registry_module.go
deblasis 8a8db88
Merge branch 'issue/416-kiss-peer-discovery-k8s-base354' of github.co…
deblasis 66b8ee5
Update state_machine/visualizer/main.go
deblasis b21f0cc
Update p2p/CHANGELOG.md
deblasis 28198fb
chore(runtime): grouping defaults by accessibility
deblasis 8626a2b
refactor(cli): nonInteractive
deblasis 804438c
chore(consensus): nits
deblasis f37b396
feat(cluster-manager): using logger
deblasis b9f09f3
Merge branch 'issue/416-kiss-peer-discovery-k8s-base354' of github.co…
deblasis 72eaabb
fix(state_machine): use logger
deblasis 50e8346
Merge branch 'issue/416-kiss-peer-discovery-k8s-base354' of github.co…
deblasis 2806933
docs(shared): base IntegratableModule godoc
deblasis f8ee78f
docs(shared): InterruptableModule typo
deblasis 8ab9077
Update state_machine/docs/README.md
deblasis 022e6eb
Merge branch 'issue/416-kiss-peer-discovery-k8s-base354' of github.co…
deblasis 309d72d
refactor(state_machine): refactored events and states
deblasis 72b76c4
docs(state_machine): docs
deblasis 84b9ac2
chore(state_machine): formatting
deblasis 029a7c4
docs(state_machine): reading flow
deblasis 37708e3
Update state_machine/docs/README.md
deblasis 87e5dd9
refactor(state_machine): transitionEvent
deblasis a46e307
Merge branch 'issue/416-kiss-peer-discovery-k8s-base354' of github.co…
deblasis f2fa5f5
chore(rpc): protocolActorToRPCActorTypeEnum
deblasis 13fbfcd
fix(runtime): using GlobalLogger
deblasis d37865d
docs(runtime): p2p config example for bootstrap nodes csv
deblasis 393dc43
refactor(rpc): updated endpoint to staked_actors_address_book
deblasis 32373b0
refactor(rpc): updated coreActor -> protocolActor getter logic
deblasis 12df5ff
fix(p2p): interface segregation in providers
deblasis 900f508
refactor(p2p): updated to use runtime.GetEnv
deblasis 7298f5a
Update p2p/module.go
deblasis 2cf4599
refactor(p2p): event_handler.go
deblasis d800479
refactor(p2p): RemovePeerToAddrBook -> RemovePeerFromAddrBook
deblasis c237602
refactor(shared): handleEvent same handler
deblasis db028d1
refactor(consensus): using logger
deblasis 9583834
Merge remote-tracking branch 'upstream/main' into issue/416-kiss-peer…
deblasis 357b4ed
Merge remote-tracking branch 'upstream/main' into issue/416-kiss-peer…
deblasis fc863b0
chore(p2p): linter regex
deblasis 257f033
fix(shared): rpcUrl sourcing in providers and cluster_manager
deblasis d3c18f9
feat(cluster-manager): improved logging
deblasis 99ec1e3
fix(keystore): fixed private keys sourcing in k8s
deblasis 89d6a77
fix(cluster-manager): updated to reflect keybase fixes + better logging
deblasis aa9ddfe
docs(cli): typos in changelog
deblasis a7dab20
Merge remote-tracking branch 'upstream/main' into issue/416-kiss-peer…
deblasis 47c4514
fix(keystore): fixed private keys sourcing in k8s
deblasis 18b6875
feat(localnet): debug client permissions to read private keys
deblasis c53a1e2
docs(shared): changelogs
deblasis 59e7559
docs(cli): changelog
deblasis f24d8b8
Merge branch 'issue/keybase_debug_k8s_localnet_fix' into issue/416-ki…
deblasis 469912f
fix(keybase): doing the heavylifting only when needed
deblasis 0066322
refactor(cluster-manager): updated for keybase changes
deblasis 795588c
refactor(localnet): updated manifests for cluster-manager (splitted)
deblasis 0dd6d1b
fix(makefile): fixed pwd for make go_lint
deblasis 70f3852
refactor(cluster-manager): extracted getPrivateKey func
deblasis 55f893c
refactor(localnet): labels for k8s_resources (better dashboard)
deblasis 2838bc0
chore(makefile): specify container for localnet cli client commands
deblasis 92841a4
Merge remote-tracking branch 'upstream/main' into issue/416-kiss-peer…
deblasis 950e07d
Merge remote-tracking branch 'upstream/main' into issue/416-kiss-peer…
deblasis 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
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
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.
Uh oh!
There was an error while loading. Please reload this page.