pokt-network / pocket-core

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

Update Mesh's Pocket-Core to RC-0.11.1 #1596

Closed nodiesBlade closed 5 months ago

nodiesBlade commented 5 months ago

Description

Summary generated by Reviewpad on 28 Jan 24 01:51 UTC

This pull request includes multiple file changes. Here are the summaries for each file:

  1. fullnode_test.go: This file contains a test function that checks if a full node should assume an optimistic session based on block heights. It covers different scenarios and uses t.Run and t.Errorf for testing.

  2. proof.go: The changes in this file handle cases where the number of proofs in the evidence doesn't match the claim. It also addresses a potential race condition and performs pre-validation on the claim.

  3. session.go: The changes in this file remove a code block and replace it with a function call. They simplify the code by eliminating redundant checks.

  4. config.go: This file includes several changes related to imports, variable additions, function modifications, and function additions. It introduces a new flag and modifies existing functions.

  5. server.go: This file adds code for handling HTTP requests, proxying requests, managing caches, and handling system signals. It sets up a transport for handling requests, defines functions for proxying and retrying requests, and initializes caches and cron jobs.

  6. types.go: This file adds new types and structs used in the mesh package. It includes definitions for error responses, health responses, relay results, session results, relay responses, and check payloads and responses.

  7. x/pocketcore/types/service_test.go: This file includes changes related to HTTP client setup for testing purposes and modifying the URL for a function call.

  8. root.go: The changes in this file add a new flag, command, and function to start the Pocket mesh daemon. They update branch names, Docker image references, and login credentials.

  9. querier.go: The changes in this file modify a function to include an extra argument when calling another function in the same file.

  10. config.go: This file includes changes related to conditions, function calls, and import statements.

  11. .github/workflows/build-images.yaml: The changes in this file update branch names, Docker image references, and login credentials for pushing Docker images.

  12. keys.go: This file adds structs and functions related to handling keys for the Pocket Network mesh network. It includes functions for loading servicers from files and storing them in maps.

  13. x/pocketcore/keeper/service_test.go: This file includes changes related to imports, defer statements, function calls, and modifying a function's return statement.

  14. service.go: The changes in this file add a new parameter to a function and modify existing code to handle relays from both non-mesh and mesh nodes.

  15. servicer.go: This file is a new addition. It includes the implementation of the Servicer type and functions related to handling servicers.

  16. service.go: This file includes the addition of a new function that handles HTTP requests and returns the health status.

  17. types.go: This file adds a new function, updates a struct, and adds or updates fields in a Config struct.

  18. keys.go: This file adds a new struct, functions for loading and parsing JSON files, and functions for loading servicers into maps.

  19. servicer.go: This file is a new addition and contains the implementation of the Servicer type and various functions related to servicer management.

Please let me know if you need further assistance with any specific file!