Skip to content

Commit

Permalink
[Infra] Add app/servicer keys to LocalNet genesis
Browse files Browse the repository at this point in the history
This pull request adds two applications and two servicers to the
genesis.json in LocalNet configuration. The new addresses can be used
for testing the CLI.

Part of work on #754

Please mark the relevant option(s):

- [ ] New feature, functionality or library
- [ ] Bug fix
- [ ] Code health or cleanup
- [ ] Major breaking change
- [X] Documentation
- [x] Other Added 2 applications and 2 servicers to genesis.json for
  LocalNet

- Added 2 applications to genesis.json for LocalNet
- Added 2 servicers to genesis.json for LocalNet

- [ ] `make develop_test`; if any code changes were made
- [ ] `make test_e2e` on [k8s
  LocalNet](https://github.com/pokt-network/pocket/blob/main/build/localnet/README.md);
if any code changes were made
- [ ] `e2e-devnet-test` passes tests on
  [DevNet](https://pocketnetwork.notion.site/How-to-DevNet-ff1598f27efe44c09f34e2aa0051f0dd);
if any code was changed
- [ ] [Docker Compose
  LocalNet](https://github.com/pokt-network/pocket/blob/main/docs/development/README.md);
if any major functionality was changed or introduced
- [X] [k8s
  LocalNet](https://github.com/pokt-network/pocket/blob/main/build/localnet/README.md);
if any infrastructure or configuration changes were made

- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added, or updated, [`godoc` format
  comments](https://go.dev/blog/godoc) on touched members (see:
[tip.golang.org/doc/comment](https://tip.golang.org/doc/comment))
- [x] I have tested my changes using the available tooling
- [ ] I have updated the corresponding CHANGELOG

- [x] I have updated the corresponding README(s); local and/or global
- [ ] I have added tests that prove my fix is effective or that my
  feature works
- [ ] I have added, or updated,
  [mermaid.js](https://mermaid-js.github.io) diagrams in the
corresponding README(s)
- [ ] I have added, or updated, documentation and
  [mermaid.js](https://mermaid-js.github.io) diagrams in `shared/docs/*`
if I updated `shared/*`README(s)

Signed-off-by: Arash Deshmeh <[email protected]>
  • Loading branch information
adshmh committed May 24, 2023
1 parent cb0a0ab commit d3d224b
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.0.0.44] - 2023-05-23

- Added 2 applications to genesis.json in LocalNet configuration
- Added 2 servicers to genesis.json in LocalNet configuration

## [0.0.0.43] - 2023-05-18

Expand Down
15 changes: 15 additions & 0 deletions build/localnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,21 @@ For example:
- `0010297b55fc9278e4be4f1bcfe52bf9bd0443f8` is a servicer #001.
- `314019dbb7faf8390c1f0cf4976ef1215c90b7e4` is an application #314.


#### Applications staked on LocalNet
Applications with the following addresses are staked on LocalNet, through the [applications field of the genesis.json in the LocalNet configuration](https://github.com/pokt-network/pocket/blob/main/build/localnet/manifests/configs.yaml#L4088)

- `00001fff518b1cdddd74c197d76ba5b5dedc0301`
- `00101f2ff54811e84df2d767c661f57a06349b7e`

These addresses can be used for e.g. testing the CLI.

#### Servicers staked on LocalNet
Servicers with the following addresses are staked on LocalNet, through the [servicers field of the genesis.json in the LocalNet configuration](https://github.com/pokt-network/pocket/blob/main/build/localnet/manifests/configs.yaml#L4120)

- `00002b8cea1bcc3dadc72ebecf95564ceb9c2e2a`
- `001022b138896c4c5466ac86b24a9bbe249905c2`

## How to change configuration files

Configurations can be changed in helm charts where network protocol actor configs are maintained. You can find them in [this directory](../../charts).
Expand Down
42 changes: 42 additions & 0 deletions build/localnet/manifests/configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4095,6 +4095,26 @@ data:
"unstaking_height": -1,
"output": "88a792b7aca673620132ef01f50e62caa58eca83",
"actor_type": 1
},
{
"address": "00001fff518b1cdddd74c197d76ba5b5dedc0301",
"public_key": "05a25e527bf6f51676f61f2f1a96efaa748218ac82f54d3cdc55a4881389eb60",
"chains": ["0001"],
"staked_amount": "1000000000000",
"paused_height": -1,
"unstaking_height": -1,
"output": "00001fff518b1cdddd74c197d76ba5b5dedc0301",
"actor_type": 1
},
{
"address": "00101f2ff54811e84df2d767c661f57a06349b7e",
"public_key": "bb851ac31120a4c8848738582f358599abbc3d84638f8fa79f74aeafad1eede0",
"chains": ["0001"],
"staked_amount": "1000000000000",
"paused_height": -1,
"unstaking_height": -1,
"output": "00101f2ff54811e84df2d767c661f57a06349b7e",
"actor_type": 1
}
],
"servicers": [
Expand All @@ -4108,6 +4128,28 @@ data:
"unstaking_height": -1,
"output": "43d9ea9d9ad9c58bb96ec41340f83cb2cabb6496",
"actor_type": 2
},
{
"address": "00002b8cea1bcc3dadc72ebecf95564ceb9c2e2a",
"public_key": "d1130c5eb920af8edd5b6bfa39d33aa787f421c8ba0786de4ca4e7703553bb97",
"chains": ["0001"],
"service_url": "http://validator-001-pocket:50832",
"staked_amount": "1000000000000",
"paused_height": -1,
"unstaking_height": -1,
"output": "00002b8cea1bcc3dadc72ebecf95564ceb9c2e2a",
"actor_type": 2
},
{
"address": "001022b138896c4c5466ac86b24a9bbe249905c2",
"public_key": "56915c1270bc8d9280a633e0be51647f62388a851318381614877ef2ed84a495",
"chains": ["0001"],
"service_url": "http://validator-002-pocket:50832",
"staked_amount": "1000000000000",
"paused_height": -1,
"unstaking_height": -1,
"output": "001022b138896c4c5466ac86b24a9bbe249905c2",
"actor_type": 2
}
],
"fishermen": [
Expand Down

0 comments on commit d3d224b

Please sign in to comment.