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

[AIP-57][Discussion] Block Output Size Limit and Conflict-Aware Block Gas Limit #285

Closed
igor-aptos opened this issue Dec 14, 2023 · 1 comment

Comments

@igor-aptos
Copy link
Contributor

AIP Discussion

This builds on top of AIP-33, to improve latency predictability during arbitrary workload. It includes:

  • adding block output limit, ending a block when predefined output size is reached.
  • adding conflict-awareness to block gas limit.

As a consequence, information about whether block limit is reached would not be able to be infered onchain, so we are going to introduce a new type for StateCheckpoint transaction (i.e. replacing it with BlockEpilogue transaction), which will contain additional information

Read more about it here: Link to AIP

@thepomeranian thepomeranian added this to the aptos-node-v1.9 milestone Jan 12, 2024
@alnoki
Copy link

alnoki commented Jan 19, 2024

@igor-aptos will the "conflict" coefficient be dynamic based on the other txns in the block? E.g. if I hit a global counter in a block where I'm the only txn that hits that counter, vs hitting the same counter in a block where everyone is hitting it (e.g. altcoin trade vs hot NFT mint)

Also, will this lower relative gas costs for parallelism-aware txns that succesfully isolate state into indedpendent channels (@davidiw )

How does this relate to the concept of "local fees", currently in exploration on Solana, where gas costs are railed for areas of state contention but lower elsewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants