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

Closed
wants to merge 32 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
bb631a2
[CLI] Filter Suppliers by ServiceID (#1028)
Olshansk Jan 20, 2025
d87e1b3
Empty commit
okdas Jan 22, 2025
ac41632
wip: queriers caching
red-0ne Jan 23, 2025
c6fc68f
Empty commit
red-0ne Jan 23, 2025
c7698f8
fix: init cache maps
red-0ne Jan 23, 2025
6ca0349
Merge remote-tracking branch 'origin/main' into feat/proof-endblocker
red-0ne Jan 23, 2025
ddf1371
Update pull_request_template.md
Olshansk Jan 23, 2025
b4e5074
Merge remote-tracking branch 'origin/main' into feat/proof-endblocker
red-0ne Jan 23, 2025
f17ea06
[Workflows] Update GitHub actions from v3 to v4 (#1041)
Olshansk Jan 24, 2025
ea89904
[Docs] upgrade/chain halt recovery (#837)
okdas Jan 24, 2025
4ed42b3
chore: address review change requests
red-0ne Jan 24, 2025
4a6e1e8
Merge remote-tracking branch 'origin/main' into feat/proof-endblocker
red-0ne Jan 24, 2025
7784a5b
[Off-chain] fix: duplicate log fields (#1040)
bryanchriswhite Jan 24, 2025
832e985
Merge remote-tracking branch 'origin/main' into feat/proof-endblocker
red-0ne Jan 24, 2025
7c4c452
Merge remote-tracking branch 'origin/feat/proof-endblocker' into cach…
red-0ne Jan 24, 2025
980a63d
[Upgrade] Alpha TestNet v0.0.11 (#967)
okdas Jan 24, 2025
1e34b01
fix caching concurrency
red-0ne Jan 25, 2025
49e013e
increase http request bytes
red-0ne Jan 25, 2025
80145cc
increase and log tx size
red-0ne Jan 25, 2025
345c378
change send rate
red-0ne Jan 25, 2025
ef9c8b7
pipline c&p creation
red-0ne Jan 26, 2025
21cd1d5
disable accounts deletion
red-0ne Jan 26, 2025
abef59c
increase send relay rate
red-0ne Jan 27, 2025
43a9a3d
chore: Address reivew change requests
red-0ne Jan 29, 2025
b552bf9
Merge remote-tracking branch 'origin/main' into feat/proof-endblocker
red-0ne Jan 29, 2025
307ff89
fix: Use fix smt verification concurrency
red-0ne Jan 29, 2025
ba4df79
Empty commit
red-0ne Jan 29, 2025
3345bd2
chore: fix some function names in comment (#1019)
forcedebug Jan 29, 2025
65596cf
Merge branch 'main' into feat/proof-endblocker
Olshansk Jan 29, 2025
77c1cb6
revert to a working state with concurrency
red-0ne Jan 29, 2025
6049331
Merge remote-tracking branch 'origin/feat/proof-endblocker' into cach…
red-0ne Jan 30, 2025
1486459
better concurrency
red-0ne Jan 30, 2025
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
2 changes: 1 addition & 1 deletion .env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ POKTROLLD_HOME=./localnet/poktrolld
POCKET_NODE=tcp://127.0.0.1:26657
# TestNet RPC endpoint for validator maintained by Grove. Needs to be updated if there's another "primary" testnet.
TESTNET_RPC=https://testnet-validated-validator-rpc.poktroll.com/
PATH_URL=http://localhost:3000
PATH_URL=http://localhost:3069
POCKET_ADDR_PREFIX=pokt
CHAIN_ID=poktroll

Expand Down
54 changes: 13 additions & 41 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,15 @@
<!-- READ & DELETE:
1. Add a descriptive title `[<Tag>] <DESCRIPTION>`
2. Update _Assignee(s)_
3. Add _Label(s)_
4. Set _Project(s)_
5. Specify _Epic_ and _Iteration_ under _Project_
6. Set _Milestone_
-->

## Summary

<!-- READ & DELETE:
- Providing a quick summary of the changes yourself
-->
< One line summary>

## Issue
Changes:
- < Change 1 >
- < Change 2 >

<!-- READ & DELETE:
- Explain the reasoning for the PR in 1-2 sentences. Adding a screenshot is fair game.
- If applicable: specify the ticket number below if there is a relevant issue; _keep the `-` so the full issue is referenced._
-->
## Issue

- #{ISSUE_NUMBER}
- Description: < Description >
- Issue: #{ISSUE_NUMBER}

## Type of change

Expand All @@ -33,28 +22,11 @@ Select one or more from the following:
- [ ] Documentation
- [ ] Other (specify)

## Testing

<!-- READ & DELETE:
- Documentation changes: only keep this if you're making documentation changes
- Unit Testing: Remove this if you didn't make code changes
- E2E Testing: Remove this if you didn't make code changes
- See the quickstart guide for instructions: https://dev.poktroll.com/developer_guide/quickstart
- DevNet E2E Testing: Remove this if you didn't make code changes
- THIS IS VERY EXPENSIVE: only do it after all the reviews are complete.
- Optionally run `make trigger_ci` if you want to re-trigger tests without any code changes
- If tests fail, try re-running failed tests only using the GitHub UI as shown [here](https://github.com/pokt-network/poktroll/assets/1892194/607984e9-0615-4569-9452-4c730190c1d2)
-->

- [ ] **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
- [ ] I have updated the GitHub Issue `assignees`, `reviewers`, `labels`, `project`, `iteration` and `milestone`
- [ ] For docs, I have run `make docusaurus_start`
- [ ] For code, I have run `make go_develop_and_test` and `make test_e2e`
- [ ] For code, I have added the `devnet-test-e2e` label to run E2E tests in CI
- [ ] For configurations, I have update the documentation
- [ ] I added TODOs where applicable
2 changes: 1 addition & 1 deletion .github/workflows-helpers/run-e2e-test-job-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
ls -l /root/.poktroll/keyring-test/ && \
poktrolld q gateway list-gateway --node=$POCKET_NODE && \
poktrolld q application list-application --node=$POCKET_NODE && \
poktrolld q supplier list-supplier --node=$POCKET_NODE && \
poktrolld q supplier list-suppliers --node=$POCKET_NODE && \
make acc_initialize_pubkeys && \
go test -v ./e2e/tests/... -tags=e2e
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build-push-container:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: "0" # Per https://github.com/ignite/cli/issues/1674#issuecomment-1144619147

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
release-artifacts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: "0" # Per https://github.com/ignite/cli/issues/1674#issuecomment-1144619147

Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
type=sha,format=long,suffix=-prod

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -82,7 +82,7 @@ jobs:

# TODO_TECHDEBT(@okdas): use for releases (also change the "on" part at the top so it only tgirrered for tags/releases)
- name: Add release and publish binaries
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
release/*
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
go-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: "0" # Per https://github.com/ignite/cli/issues/1674#issuecomment-1144619147

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/upload-pages-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
update-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: "0" # Per https://github.com/ignite/cli/issues/1674#issuecomment-1144619147

Expand All @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
pages: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
Expand All @@ -83,15 +83,15 @@ jobs:
yarn build

- name: Setup Pages
uses: actions/configure-pages@v4
uses: actions/configure-pages@v5
with:
enablement: true

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: docusaurus/build

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
1 change: 0 additions & 1 deletion Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates && \
rm -rf /var/lib/apt/lists/*


# Use `1025` G/UID so users can switch between this and `heighliner` image without a need to chown the files.
RUN groupadd -g 1025 pocket && useradd -u 1025 -g pocket -m -s /sbin/nologin pocket

Expand Down
2 changes: 1 addition & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ for x in range(localnet_config["path_gateways"]["count"]):
port_forwards=[
# See PATH for the default port used by the gateway. As of PR #1026, it is :3069.
# https://github.com/buildwithgrove/path/blob/main/config/router.go
str(2999 + actor_number) + ":3069"
str(3068 + actor_number) + ":3069"
],
)

Expand Down
34 changes: 18 additions & 16 deletions api/poktroll/application/types.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading