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

Cp traffic control changes #18441

Merged

Conversation

williampsmith
Copy link
Contributor

Description

CP #18396 and #18324

Test plan

How did you test the new or updated feature?


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

…ts (#18396)

## Description 

As in title (and code comments)

## Test plan 

Existing tests

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
## Description 

This PR redefines spam in the context of traffic controller as any
request type that does not consume gas. There are two such categories
that have bee considered so far - read api requests and transaction
execution requests that do not invoke the vm (which, to my knowledge,
should only happen on submitting a certificate for an already executed
transaction, at which point all validators simply read and return the
effects). Both cases are hadled here.

## Test plan 

Fixed existing tests to exercise the new logic

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
Copy link

vercel bot commented Jun 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2024 5:55pm
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Jun 27, 2024 5:55pm
sui-kiosk ⬜️ Ignored (Inspect) Jun 27, 2024 5:55pm
sui-typescript-docs ⬜️ Ignored (Inspect) Jun 27, 2024 5:55pm

@williampsmith williampsmith changed the base branch from main to releases/sui-v1.28.0-release June 27, 2024 17:53
@williampsmith williampsmith merged commit 926a1c3 into releases/sui-v1.28.0-release Jun 27, 2024
49 checks passed
@williampsmith williampsmith deleted the cp-traffic-control-changes branch June 27, 2024 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants