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

[RelayMiner] Allow big transactions simulation #1027

Merged
merged 7 commits into from
Jan 16, 2025
Merged

Conversation

red-0ne
Copy link
Contributor

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

Summary

This pull request includes changes to support larger proof transactions by increasing the maximum allowed sizes for RPC and mempool, and by adjusting the gRPC client configuration.

Issue

RelayMiners simulate and broadcast transaction with multiple proofs that tend to be too large than the default gRPC client's MaxCall{Send,Recv}MsgSize.

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

@red-0ne red-0ne added relayminer Changes related to the Relayminer scalability labels Jan 13, 2025
@red-0ne red-0ne added this to the Beta TestNet Iteration milestone Jan 13, 2025
@red-0ne red-0ne self-assigned this Jan 13, 2025
config.yml Show resolved Hide resolved
config.yml Show resolved Hide resolved
config.yml Outdated Show resolved Hide resolved
pkg/client/tx/context.go Outdated Show resolved Hide resolved
pkg/client/tx/context.go Show resolved Hide resolved
@okdas okdas added the push-image CI related - pushes images to ghcr.io label Jan 14, 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.

@okdas
Copy link
Member

okdas commented Jan 14, 2025

Pushed an empty commit to build an image

Copy link

The CI will now also run the e2e tests on devnet, which increases the time it takes to complete all CI checks.

You may need to run make trigger_ci to submit an empty commit that'll trigger the tests.

GCP workloads (requires changing the namespace to 1027)
Grafana network dashboard for devnet-issue-1027

@red-0ne red-0ne merged commit a3fb231 into main Jan 16, 2025
10 checks passed
Olshansk pushed a commit that referenced this pull request Jan 16, 2025
## Summary

This pull request includes changes to support larger proof transactions
by increasing the maximum allowed sizes for RPC and mempool, and by
adjusting the gRPC client configuration.

## Issue

`RelayMiner`s simulate and broadcast transaction with multiple proofs
that tend to be too large than the default gRPC client's
`MaxCall{Send,Recv}MsgSize`.


![image](https://github.com/user-attachments/assets/e9d57be0-07c8-498e-9494-50b18a1fbf49)

## 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


- [x] **Unit Tests**: `make go_develop_and_test`
- [x] **LocalNet E2E Tests**: `make test_e2e`
- [ ] **DevNet E2E Tests**: Add the `devnet-test-e2e` label to the PR.

## Sanity Checklist

- [x] 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
- [ ] I create and reference any new tickets, if applicable
- [x] I have left TODOs throughout the codebase, if applicable

---------

Co-authored-by: Dmitry K <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devnet devnet-test-e2e push-image CI related - pushes images to ghcr.io relayminer Changes related to the Relayminer scalability
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants