-
Notifications
You must be signed in to change notification settings - Fork 28
Account for DA and gas limit in flashblocks #104
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
Conversation
let da_per_batch = ctx | ||
.da_config | ||
.max_da_block_size() | ||
let da_per_batch = adjusted_max_da_block_limit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are adjusting every flashblock for a builder txn, but only the last one has a builder txn
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, i wrote TODO for this
but could implement it straight away
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great in the scope of this PR.
f800970
to
fc9a175
Compare
} | ||
let mut total_da_per_batch = da_per_batch; | ||
|
||
let last_flashblock = self.config.flashblocks_per_block() - 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saturating_sub
0d23f66
to
07b9c34
Compare
π Summary
Closes #90
π‘ Motivation and Context
β I have completed the following steps:
make lint
make test