Skip to content

Commit

Permalink
[Infra] Add app/servicer keys to LocalNet genesis
Browse files Browse the repository at this point in the history
Signed-off-by: Arash Deshmeh <[email protected]>
  • Loading branch information
adshmh committed May 23, 2023
1 parent cb0a0ab commit 2db33ab
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 2db33ab

Please sign in to comment.