From 2db33ab3c658c911db152f39da994fc9e72ba7f1 Mon Sep 17 00:00:00 2001 From: Arash Deshmeh Date: Tue, 23 May 2023 05:49:15 -0400 Subject: [PATCH] [Infra] Add app/servicer keys to LocalNet genesis Signed-off-by: Arash Deshmeh --- build/docs/CHANGELOG.md | 4 +++ build/localnet/README.md | 15 ++++++++++ build/localnet/manifests/configs.yaml | 42 +++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/build/docs/CHANGELOG.md b/build/docs/CHANGELOG.md index 13301ec42d..0e227ab9c5 100644 --- a/build/docs/CHANGELOG.md +++ b/build/docs/CHANGELOG.md @@ -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 diff --git a/build/localnet/README.md b/build/localnet/README.md index ed5c0c86e5..079f05391e 100644 --- a/build/localnet/README.md +++ b/build/localnet/README.md @@ -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). diff --git a/build/localnet/manifests/configs.yaml b/build/localnet/manifests/configs.yaml index 4c50ecf250..03adbf223e 100644 --- a/build/localnet/manifests/configs.yaml +++ b/build/localnet/manifests/configs.yaml @@ -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": [ @@ -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": [