pokt-network / pocket-core

Official implementation of the Pocket Network Protocol
http://www.pokt.network
MIT License
209 stars 103 forks source link

Added unit tests for staked nodes and stakes apps pool addresses #1540

Closed Olshansk closed 1 year ago

Olshansk commented 1 year ago

A test to verify an answer prompted by an investigation from PoktNews: https://twitter.com/PoktNews/status/1643368259339550721

cr-gpt[bot] commented 1 year ago

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables for this repo. you could follow readme for more information

reviewpad[bot] commented 1 year ago

AI-Generated Pull Request Summary: This pull request includes two patches:

  1. Added unit tests for staked nodes and stakes apps addresses: This patch adds new unit tests to verify the correct functionality of retrieving staked nodes pool address and app nodes pool address in the account keeper system.

  2. Updated comments: This patch adds a description for the TestGetPoolAddresses function, explaining the purpose of the pool addresses in the protocol and their role in managing staked pool funds.

reviewpad[bot] commented 1 year ago

Reviewpad Report

:warning: Warnings