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

[DO NOT MERGE] RelayMiner querier caching #1038

Draft
wants to merge 25 commits into
base: feat/onchain-cache
Choose a base branch
from

Conversation

red-0ne
Copy link
Contributor

@red-0ne red-0ne commented Jan 23, 2025

Summary

Add simple caches to the RelayMiner queriers, with invalidation at each block.

Issue

image

Type of change

Select one or more from the following:

Testing

  • Unit Tests: make go_develop_and_test
  • LocalNet E2E Tests: make test_e2e
  • DevNet E2E Tests: Add the devnet-test-e2e label to the PR.

Sanity Checklist

  • I have tested my changes using the available tooling
  • I have commented my code
  • I have performed a self-review of my own code; both comments & source code
  • I create and reference any new tickets, if applicable
  • I have left TODOs throughout the codebase, if applicable

Olshansk and others added 4 commits January 20, 2025 13:37
## Summary

Update the supplier query endpoint to use **AutoCLI** and add a flag to
filter by `ServiceID`

### Primary Changes:
- Add `service_id` filter to `list-suppliers` query to support filtering
suppliers by service ID
- Update CLI command from `list-supplier` to `list-suppliers` for
improved clarity
- Change revenue share percentage field type from `float32` to `uint32`
to fix autoCLI issues

### Secondary changes:
- Update documentation and config examples to reflect the new revenue
share percentage type
- Remove legacy CLI commands in favor of autocli implementation

<img width="1286" alt="Screenshot 2025-01-16 at 12 58 06 PM"
src="https://github.com/user-attachments/assets/63583424-9a96-4195-82b0-6e58cc676e8b"
/>
<img width="1295" alt="Screenshot 2025-01-16 at 12 57 52 PM"
src="https://github.com/user-attachments/assets/f2c10d81-5e5d-4b76-b375-bd2190eba7a5"
/>



## Type of change

Select one or more from the following:

- [x] New feature, functionality or library
- [x] Consensus breaking; add the `consensus-breaking` label if so. See
#791 for details
- [ ] Bug fix
- [ ] Code health or cleanup
- [ ] Documentation
- [ ] Other (specify)

## Testing

- [x] **Documentation**: `make docusaurus_start`; only needed if you
make doc changes
- [x] **Unit Tests**: `make go_develop_and_test`
- [ ] **LocalNet E2E Tests**: `make test_e2e`
- [ ] **DevNet E2E Tests**: Add the `devnet-test-e2e` label to the PR.

## Sanity Checklist

- [ ] I have tested my changes using the available tooling
- [x] I have commented my code
- [x] I have performed a self-review of my own code; both comments &
source code
- [x] I create and reference any new tickets, if applicable
- [x] I have left TODOs throughout the codebase, if applicable
@red-0ne red-0ne added off-chain Off-chain business logic scalability labels Jan 23, 2025
@red-0ne red-0ne added this to the Beta TestNet Iteration milestone Jan 23, 2025
@red-0ne red-0ne self-assigned this Jan 23, 2025
@red-0ne red-0ne added the push-image CI related - pushes images to ghcr.io label Jan 23, 2025
Copy link

The image is going to be pushed after the next commit.

You can use make trigger_ci to push an empty commit.

If you also want to run E2E tests, please add devnet-test-e2e label.

red-0ne and others added 18 commits January 23, 2025 15:21
## Summary

Upgrade github ations from `v3` to `v4`.

## Issue

### Origin Document


https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
<img width="1006" alt="Screenshot 2025-01-23 at 2 32 22 PM"
src="https://github.com/user-attachments/assets/bcf75024-c2bb-4c2c-b38f-90d2d864af2a"
/>

### Example in action

<img width="1678" alt="Screenshot 2025-01-23 at 2 32 40 PM"
src="https://github.com/user-attachments/assets/a0fddefd-71df-49f0-aa53-1ecb827e85af"
/>


https://github.com/buildwithgrove/path/actions/runs/12935368023/job/36078630477

---------

Co-authored-by: Dmitry K <[email protected]>
Co-authored-by: Dima K. <[email protected]>
## Summary

Performed the first upgrade on the Alpha TestNet. Add some documentation
changes to prevent some issues in the future.


## Issue

N/A

## Type of change

Select one or more from the following:

- [ ] New feature, functionality or library
- [ ] Consensus breaking; add the `consensus-breaking` label if so. See
#791 for details
- [ ] Bug fix
- [x] Code health or cleanup
- [x] Documentation
- [ ] Other (specify)

## Testing


- [x] **Documentation**: `make docusaurus_start`; only needed if you
make doc changes
- [ ] **Unit Tests**: `make go_develop_and_test`
- [ ] **LocalNet E2E Tests**: `make test_e2e`
- [ ] **DevNet E2E Tests**: Add the `devnet-test-e2e` label to the PR.

## Sanity Checklist

- [ ] I have tested my changes using the available tooling
- [ ] I have commented my code
- [ ] I have performed a self-review of my own code; both comments &
source code
- [ ] I create and reference any new tickets, if applicable
- [ ] I have left TODOs throughout the codebase, if applicable

---------

Co-authored-by: DK <[email protected]>
Co-authored-by: Daniel Olshansky <[email protected]>
Co-authored-by: Bryan White <[email protected]>
## Summary

Construct a new logger instance for each session during settlement to
avoid field duplication.

## Issue

-
https://discord.com/channels/824324475256438814/1316109400917934201/1330007345882988665

## Type of change

Select one or more from the following:

- [ ] New feature, functionality or library
- [ ] Consensus breaking; add the `consensus-breaking` label if so. See
#791 for details
- [x] Bug fix
- [ ] Code health or cleanup
- [ ] Documentation
- [ ] Other (specify)

## Testing

- [ ] **Documentation**: `make docusaurus_start`; only needed if you
make doc changes
- [ ] **Unit Tests**: `make go_develop_and_test`
- [ ] **LocalNet E2E Tests**: `make test_e2e`
- [ ] **DevNet E2E Tests**: Add the `devnet-test-e2e` label to the PR.

## Sanity Checklist

- [ ] I have tested my changes using the available tooling
- [ ] I have commented my code
- [ ] I have performed a self-review of my own code; both comments &
source code
- [ ] I create and reference any new tickets, if applicable
- [ ] I have left TODOs throughout the codebase, if applicable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
off-chain Off-chain business logic push-image CI related - pushes images to ghcr.io scalability
Projects
Status: 🏗 In progress
Development

Successfully merging this pull request may close these issues.

4 participants