Skip to content
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

[Documentation] Python Automation script and workflow for github wiki #419

Merged
merged 43 commits into from
Feb 3, 2023
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
8bdeab6
wiki format comment
profishional Dec 28, 2022
cd44598
github format comment
profishional Dec 28, 2022
7ae3734
wiki format comment
profishional Dec 28, 2022
6e6a0db
wiki format comment
profishional Dec 28, 2022
8067901
new github action to trigger python wiki sync
profishional Dec 28, 2022
e84fd07
markdown wiki comment guide
profishional Dec 28, 2022
5f73008
wiki sync python script
profishional Dec 28, 2022
e18c0ea
typo fix
profishional Dec 28, 2022
bc29b06
format fix
profishional Dec 28, 2022
c154c0c
remove comment
profishional Dec 28, 2022
d704de1
comments and tasks
profishional Jan 9, 2023
90bdfb1
Update README.md wording
profishional Jan 9, 2023
1e601d9
Merge branch 'main' of github.com:profishional/pocket
profishional Jan 9, 2023
308f4cb
removing changelog from md commets
profishional Jan 9, 2023
973101d
workflows syntax fix
profishional Jan 9, 2023
ca799f8
workflows syntax fix2
profishional Jan 9, 2023
3fd8489
Update consensus/doc/PROTOCOL_STATE_SYNC.md wiki format comment
profishional Jan 9, 2023
794d219
Update docs/development/README.md wiki format guide
profishional Jan 9, 2023
ce8ec73
Update utility/doc/PROTOCOL_SESSION.md wiki format comment
profishional Jan 9, 2023
1f7b08d
Update utility/doc/PROTOCOL_RELAY.md wiki format comment
profishional Jan 9, 2023
9dbf718
better vars, comments, new vars
profishional Jan 9, 2023
1e979f4
Merge branch 'main' of github.com:profishional/pocket
profishional Jan 9, 2023
d1814ca
isort and black formatting
profishional Jan 9, 2023
f236668
addng context for files, improving language
profishional Jan 9, 2023
459c723
merge update from upstream
profishional Jan 10, 2023
f0b1eb4
remove local working files
profishional Jan 10, 2023
2572381
reversing most vsc format on save, to min diff
profishional Jan 10, 2023
b1568a7
min diff
profishional Jan 10, 2023
3a0f410
min diff2
profishional Jan 10, 2023
c5d276c
vars, if, return fixes
profishional Jan 10, 2023
42746a2
code review suggestions; wording, naming, issue linking
profishional Jan 10, 2023
459e438
added images
profishional Jan 10, 2023
936e05c
images for readme docs
profishional Jan 10, 2023
cdce568
final diff review; wording, comments, polish
profishional Jan 10, 2023
5734a70
error fix
profishional Jan 10, 2023
bb3a987
removing old persistence changelog, added by mistake
profishional Jan 10, 2023
0cf35e9
Update .github/workflows/wiki_sync_process.yml - naming
profishional Feb 2, 2023
175285d
cleaning up
profishional Feb 2, 2023
b98c36d
testing github actor and token instead of secret
profishional Feb 2, 2023
3b5da1f
test
profishional Feb 2, 2023
0b1fc7b
removing gh secret, actor and token works
profishional Feb 2, 2023
3b2b25c
black formatting
profishional Feb 2, 2023
27a2bf0
Merge branch 'main' into main
profishional Feb 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ assignees: ""

## Deliverable


<!-- REMOVE this comment block after following the instructions
Make a list of deliverables that are expected outputs of this task. These should be concrete and tangible.
-->
Expand Down Expand Up @@ -76,3 +75,5 @@ assignees: ""

**Creator**: [github username of the creator]
**Co-Owners**: [optional - github usernames of the co-owner(s)]

<!-- GITHUB_WIKI: repository/issue_template -->
profishional marked this conversation as resolved.
Show resolved Hide resolved
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ Please mark the relevant option(s):
- [ ] I have updated the corresponding CHANGELOG

### If Applicable Checklist

- [ ] 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)

<!-- GITHUB_WIKI: repository/pull_request_template -->
profishional marked this conversation as resolved.
Show resolved Hide resolved
24 changes: 24 additions & 0 deletions .github/workflows/wiki_sync_process.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish docs to Wiki
profishional marked this conversation as resolved.
Show resolved Hide resolved

on:
push:
branches:
- main
paths:
- '**/*.md'

env:
USER_TOKEN: ${{ secrets.WIKI_SYNC_SECRET }}
USER_NAME: profishional
profishional marked this conversation as resolved.
Show resolved Hide resolved
USER_EMAIL: profishcrytpo@gmail.com
OWNER: ${{ github.event.repository.owner.name }}
REPOSITORY_NAME: ${{ github.event.repository.name }}

jobs:
publish_docs_to_wiki:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate wiki
run: |
python tools/wiki_sync.py
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ The official implementation of the [V1 Pocket Network Protocol Specification](ht

---

All the links you'll need are listed below. If you'd like to contribute to the Pocket V1 Protocol, start by:
Some relevant links are listed below, however for a the full ongoing documentation **please refer to the [wiki repository](https://github.com/pokt-network/pocket/wiki)**.
profishional marked this conversation as resolved.
Show resolved Hide resolved
If you'd like to contribute to the Pocket V1 Protocol, start by:

1. Get up and running by reading the [Development Guide](docs/development/README.md)
2. Find a task by reading the [Contribution Guide](docs/contributing/README.md)
Expand Down Expand Up @@ -72,3 +73,5 @@ All the links you'll need are listed below. If you'd like to contribute to the P
## License

This project is licensed under the MIT License; see the [LICENSE](LICENSE) file for details.

<!-- GITHUB_WIKI: home/readme -->
2 changes: 2 additions & 0 deletions build/config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ The config and genesis files located in the `./build/config/` directory are need
These builds currently expect four (validator) `config.json` file and a single `genesis.json` file.

Until #186 is implemented, take caution when overwriting / deleting the files with different configurations.

<!-- GITHUB_WIKI: build/config/readme -->
2 changes: 2 additions & 0 deletions consensus/doc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,5 @@ General
- Benchmarking via `make benchmark_sortition`
- VRF Wrapper library in `consensus/leader_election/vrf/` of github.com/ProtonMail/go-ecvrf/ecvrf
- Implementation of Algorand's Leader Election sortition algorithm in `consensus/leader_election/sortition/`

<!-- GITHUB_WIKI: changelog/consensus_changelog -->
profishional marked this conversation as resolved.
Show resolved Hide resolved
9 changes: 8 additions & 1 deletion consensus/doc/PROTOCOL_STATE_SYNC.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,25 +45,29 @@ type PeerSyncAggregate interface {
...
}
```

Using the `PeerSyncAggregate`, a Node is able to compare its local `SyncState` against that of the Global Network.

## State Sync Operation Modes

State sync can be viewed as a state machine that transverses various modes the node can be in, including:

* Synced Mode
* Sync Mode
* Server Mode

The functionality of the node depends on the mode it is operating it.
The functionality of the node depends on the mode it is operating it.

*NOTE: that the modes are not necessarily mutually exclusive (e.g. the node can be in `Server Mode` and `Synced Mode` at the same time).*

### Synced Mode

If the Node is `Synced` or `localSyncState.Height == GlobalSyncMeta.Height` then the `StateSync` protocol is in `SyncedMode`.

In `SyncedMode`, the Node is caught up to the latest block and relies on new blocks to be propagated via the P2P network after Validators reach consensus.

### Sync Mode

If the Node is `Syncing` or `localSyncState.Height < GlobalSyncMeta.Height` then the `StateSync` protocol is in `SyncMode`.

In `SyncMode`, the Node is catching up to the latest block by making `BlockRequests` to its fellow eligible peers. A peer is eligible for a `BlockRequest` if `PeerMeta.MinHeight` <= `self.MaxBlockHeight` <= `PeerMeta.MaxHeight`.
Expand Down Expand Up @@ -98,6 +102,7 @@ graph TD
* `Block Stream Design` - Update the Block by Block design to stream blocks via a WebSocket from a single connectable peer.

## Research Items

TODO(M5): Create issues to track and discuss these work items.

How the persistence layer design of `pruning` the Merkle Tree affects `StateSync`.
Expand All @@ -117,3 +122,5 @@ How the Churn Management operations of RainTree might provide opportunities and
`Network Peer`: Another node on the network that this node can directly communicate with, without going through a third-party server. Peers may start the connection through an `inbound` or `outbound` initialization to share and transmit data.

`SyncState`: The local block state of the node vs the global network block state.

<!-- GITHUB_WIKI: consensus/protocol_state_sync -->
profishional marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 2 additions & 0 deletions docs/contributing/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ Congratulations, if you're reading this, you truly are committed to building one
Well Done! You finished your milestone, make sure to follow this guide to integrate your awesome changes in the next release.

[Integration Branch (Milestone) Merge Guide](contribution/merge.md)

<!-- GITHUB_WIKI: guides/contributing/community_guide -->
profishional marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 2 additions & 0 deletions docs/contributing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ Once V1 is closer to mainnet launch, we will have an [extensive contribution gui
![](./badge.png)

3. Collaborate with the team and other core contributors on Discord in the [#v1-dev channel](https://discord.com/channels/553741558869131266/986789914379186226) or [#v1-research channel](https://discord.com/channels/553741558869131266/936666517498650644).

<!-- GITHUB_WIKI: guides/contributing/readme -->
2 changes: 2 additions & 0 deletions docs/demos/iteration_3_end_to_end_tx.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,5 @@ go run app/client/*.go --path_to_private_key_file=/Users/olshansky/workspace/poc
```bash
make swagger-ui
```

<!-- GITHUB_WIKI: guides/demos/iteration_three_end_to_end -->
2 changes: 2 additions & 0 deletions docs/deps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,5 @@ This is okay in the case of Pocket's Leader Election Algorithm because the seed
2. The network leverages consensus messages to distribute the keys throughout the network in `O(N)`
3. The VRF keys begin to be used for leader election at some `height (N+M)` where `M > 0`
4. The input to the VRF for each `height (N+M')` where `M' ≥ M` will use publicly known information (e.g. appHash, byzValidators, etc..) known at `height (N+M'-1)` and therefore satisfy the security notice above.

<!-- GITHUB_WIKI: guides/dependencies/readme -->
6 changes: 4 additions & 2 deletions docs/development/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ A list of common issues & resolutions shared by the V1 contributors

## Avoid redundant files from iCloud backup

* **Issue**: when working on MacOS with iCloud backup turned on, redundant files could be generated in GitHub projects. (e.g. `file.go` and `file 2.go`) Details can be found here in [this link](https://stackoverflow.com/a/62387243).
* **Issue**: when working on MacOS with iCloud backup turned on, redundant files could be generated in GitHub projects. (e.g. `file.go` and `file 2.go`) Details can be found here in [this link](https://stackoverflow.com/a/62387243).
* **Solution**: adding `.nosync` as suffix to the workspace folder, e.g. `pocket.nosync`. Alternative, working in a folder that iCloud doesn't touch also works.

_NOTE: Consider turning of the `gofmt` in your IDE to prevent unexpected formatting_
_NOTE: Consider turning of the `gofmt` in your IDE to prevent unexpected formatting_

<!-- GITHUB_WIKI: guides/development/FAQ -->
21 changes: 14 additions & 7 deletions docs/development/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,12 @@ Software:
Generate local files

```bash
$ git clone git@github.com:pokt-network/pocket.git && cd pocket
$ make develop_start
git clone git@github.com:pokt-network/pocket.git && cd pocket
make develop_start
```

Optionally activate changelog pre-commit hook

```bash
cp .githooks/pre-commit .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
Expand All @@ -77,13 +78,13 @@ unless the CHANGELOG is updated._
### View Available Commands

```bash
$ make
make
profishional marked this conversation as resolved.
Show resolved Hide resolved
```

### Running Unit Tests

```bash
$ make test_all
make test_all
```

Note that there are a few tests in the library that are prone to race conditions and we are working on improving them. This can be checked with `make test_race`.
Expand All @@ -95,19 +96,19 @@ Note that there are a few tests in the library that are prone to race conditions
1. Delete any previous docker state

```bash
$ make docker_wipe
make docker_wipe
```

2. In one shell, run the 4 nodes setup:

```bash
$ make compose_and_watch
make compose_and_watch
```

4. In another shell, run the development client:

```bash
$ make client_start && make client_connect
make client_start && make client_connect
```

4. Check the state of each node:
Expand Down Expand Up @@ -170,6 +171,10 @@ Pocket
├── Makefile # [to-be-deleted] The source of targets used to develop, build and test
```

## Maintaining Documentation

Markdown files based on the following command `find . -name "*.md" | grep -v -e "vendor" -e "app"` are added to the [repository wiki](https://github.com/pokt-network/pocket/wiki). To organize the wiki a comment is added to the end of the files e.g. you can find one at the end of this file `<!-- GITHUB_WIKI: guides/development/readme -->`. The structure of the comment is to indicate the category (guides), subcategories (development) and file name (readme). Looking at the current wiki choose the right placement for the new markdown or simply create a new category.
profishional marked this conversation as resolved.
Show resolved Hide resolved

profishional marked this conversation as resolved.
Show resolved Hide resolved
profishional marked this conversation as resolved.
Show resolved Hide resolved
### Linters

We utilize `golangci-lint` to run the linters. It is a wrapper around a number of linters and is configured to run many at once. The linters are configured to run on every commit and pull request via CI, and all code issues are populated as GitHub annotations to let developers and reviewers easily locate an issue.
Expand Down Expand Up @@ -210,3 +215,5 @@ The official documentation includes a list of different linters and their config
We can write custom linters using [`go-ruleguard`](https://go-ruleguard.github.io/). The rules are located in the [`build/linters`](../../build/linters) directory. The rules are written in the [Ruleguard DSL](https://github.com/quasilyte/go-ruleguard/blob/master/_docs/dsl.md), if you've never worked with ruleguard in the past, it makes sense to go through [introduction article](https://quasilyte.dev/blog/post/ruleguard/) and [Ruleguard by example tour](https://go-ruleguard.github.io/by-example/).

Ruleguard is run via `gocritic` linter which is a part of `golangci-lint`, so if you wish to change configuration or debug a particular rule, you can modify the `.golangci.yml` file.

<!-- GITHUB_WIKI: guides/development/readme -->
2 changes: 2 additions & 0 deletions docs/learning/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,5 @@ We do not consider them bad, but time is limited so it is important to focus on

- [Blockchains Meet Distributed Hash Tables: Decoupling Validation from State Storage](https://arxiv.org/abs/1904.01935)
- An "extended abstract" of how Authenticated Data Structures (i.e. Merkle Trees) could be _"sharded"_ across nodes using Distributed Hash Tables (DHTs) to reduce the state required to be maintained and synched by each node.

<!-- GITHUB_WIKI: guides/learning/readme -->
2 changes: 2 additions & 0 deletions docs/releases/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ Extended images with additional tooling are built to aid in troubleshoot and deb
## [TODO] Magefile build system

Once the V1 implementation reaches the stage of testable binaries, we are looking to use [Mage](https://magefile.org/) which is being tracked in [pocket/issues/43](https://github.com/pokt-network/pocket/issues/43) that'll inject a version with the `-version` flag.

<!-- GITHUB_WIKI: guides/releases/readme -->
14 changes: 8 additions & 6 deletions docs/roadmap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ gantt

### [M1. Pocket PoS (Proof of Stake)](https://github.com/pokt-network/pocket/milestone/7)

#### Goals:
#### Goals

- Basic LocalNet development environment
- Tendermint Core equivalent for a proof-of-stake blockchain custom-built for Pocket

#### Non-goals:
#### Non-goals

- Pocket specific utility
- Devnet infrastructure
Expand All @@ -63,15 +63,15 @@ gantt

### [M3. Pocket RoS (Relay or Slash)](https://github.com/pokt-network/pocket/milestone/15)

#### Goals:
#### Goals

- Pocket Network utility-specific business logic including:
- Devnet supporting ETH relays
- Initial implementation of reward distribution, report cards, etc...

### M4. [Pocket CoS (Cloud of Services)](https://github.com/pokt-network/pocket/milestone/20)

#### Goals:
#### Goals

*Note: more details will be added to this milestone in the future*

Expand All @@ -81,7 +81,7 @@ gantt

### [M5. Pocket IoS (Innovate or Skip)](https://github.com/pokt-network/pocket/milestone/16)

#### Goals:
#### Goals

*Note: more details will be added to this milestone in the future*

Expand All @@ -91,7 +91,7 @@ gantt

### [M6. Pocket FoS (Finish or Serve)](https://github.com/pokt-network/pocket/milestone/18)

#### Goals:
#### Goals

*Note: more details will be added to this milestone in the future*

Expand All @@ -103,3 +103,5 @@ gantt
## M7. Pocket NoS (North Star)

Shoot for the ✨ and we will land on the 🌕

<!-- GITHUB_WIKI: guides/roadmap/readme -->
4 changes: 3 additions & 1 deletion p2p/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.0.0.7] - 2022-10-24

- Updated README to reference the python simulator as a learning references and unit test generation tool
- Added a RainTree unit test for 12 nodes using the simulator in https://github.com/pokt-network/rain-tree-sim/blob/main/python
- Added a RainTree unit test for 12 nodes using the simulator in <https://github.com/pokt-network/rain-tree-sim/blob/main/python>

## [0.0.0.6] - 2022-10-20

Expand Down Expand Up @@ -86,3 +86,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.0.0.0] - 2022-06-16

- RainTree first iteration in Pre2P module (no cleanup or redundancy)

<!-- GITHUB_WIKI: changelog/p2p_changelog -->
2 changes: 2 additions & 0 deletions p2p/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,5 @@ You can read the documentation in the [python simulator](https://github.com/pokt

- **Deterministic Private Key Generation**: Since RainTree is dependant on the lexicographic order of the addresses, the generation of the private keys (and in turn the public keys and addresses) is important and cannot be randomized for the time being.
- **Variable Coupling**:There is an implicit coupling between `validatorId`, `serviceUrl` and `genericParam` that requires understanding of the codebase. Reach out to @olshansk or @andrewnguyen22 for clarity on this.

<!-- GITHUB_WIKI: p2p/readme -->
4 changes: 3 additions & 1 deletion persistence/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Deprecate PrePersistence

## [0.0.0.1] - 2022-07-05

Pocket Persistence 1st Iteration (https://github.com/pokt-network/pocket/pull/73)
Pocket Persistence 1st Iteration (<https://github.com/pokt-network/pocket/pull/73>)

# Added

Expand All @@ -154,3 +154,5 @@ Pocket Persistence 1st Iteration (https://github.com/pokt-network/pocket/pull/73
- Update to the Persistence module interface to enable historical height queries
- Library / infrastructure for persistence unit fuzz testing
- Tests triggered via `make test_persistence`

<!-- GITHUB_WIKI: changelog/persistence_changelog_1 -->
26 changes: 14 additions & 12 deletions persistence/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ TODO: consolidate `persistence/docs/CHANGELOG` and `persistence/CHANGELOG.md`
**Main persistence module changes:**

- Split `ConnectAndInitializeDatabase` into `connectToDatabase` and `initializeDatabase`
- This enables creating multiple contexts in parallel without re-initializing the DB connection
- This enables creating multiple contexts in parallel without re-initializing the DB connection
- Fix the SQL query used in `SelectActors`, `SelectAccounts` & `SelectPools`
- Add a generalized unit test for all actors
- Add a generalized unit test for all actors
- Remove `NewPersistenceModule` and an injected `Config` + `Create`
- This improves isolation a a “injection-like” paradigm for unit testing
- This improves isolation a a “injection-like” paradigm for unit testing
- Change `SetupPostgresDocker` to `SetupPostgresDockerPersistenceMod`
- This enables more “functional” like testing by returning a persistence module and avoiding global testing
- This enables more “functional” like testing by returning a persistence module and avoiding global testing
variables
- Only return once a connection to the DB has been initialized reducing the likelihood of test race conditions
- Only return once a connection to the DB has been initialized reducing the likelihood of test race conditions
- Implemented `NewReadContext` with a proper read-only context
- Add `ResetContext` to the persistence module and `Close` to the read context

Expand All @@ -113,7 +113,7 @@ TODO: consolidate `persistence/docs/CHANGELOG` and `persistence/CHANGELOG.md`
- Added `genesis_time` to `consensus_genesis_state`
- Added `chainID` to `consensus_genesis_state`
- Added `max_block_bytes` to `consensus_genesis_state`
- Added `accounts` and` pools to utility_genesis_state`
- Added `accounts` and`pools to utility_genesis_state`
- Added `validators` to `utility_genesis_state`
- Added `applications` to `utility_genesis_state`
- Added `service_nodes` to `utility_genesis_state`
Expand All @@ -130,7 +130,7 @@ TODO: consolidate `persistence/docs/CHANGELOG` and `persistence/CHANGELOG.md`
- Added config and genesis generator to build package
- Deprecated old build files
- Use new config and genesis files for make `compose_and_watch`
- Use new config and genesis files for make `client_start && `make client_connect`
- Use new config and genesis files for make `client_start &&`make client_connect`

## [0.0.0.2] - 2022-08-03

Expand All @@ -149,17 +149,19 @@ Deprecate PrePersistence

## [0.0.0.1] - 2022-07-05

Pocket Persistence 1st Iteration (https://github.com/pokt-network/pocket/pull/73)
Pocket Persistence 1st Iteration (<https://github.com/pokt-network/pocket/pull/73>)

- Base persistence module implementation for the following actors: `Account`, `Pool`, `Validator`, `Fisherman`
, `ServiceNode`, `Application`
- Generalization of common protocol actor behvaiours via the `ProtocolActor` and `BaseActor` interface and
implementation
- A PostgreSQL based implementation of the persistence middleware including:
- SQL query implementation for each actor
- SQL schema definition for each actor
- SQL execution for common actor behaviours
- Golang interface implementation of the Persistence module
- SQL query implementation for each actor
- SQL schema definition for each actor
- SQL execution for common actor behaviours
- Golang interface implementation of the Persistence module
- Update to the Persistence module interface to enable historical height queries
- Library / infrastructure for persistence unit fuzz testing
- Tests triggered via `make test_persistence`

<!-- GITHUB_WIKI: changelog/persistence_changelog_2 -->
Loading