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

Change MIN_TX_SIZE to be in bytes #375

Closed
wants to merge 1 commit into from

Conversation

karlfloersch
Copy link
Contributor

@karlfloersch karlfloersch commented Dec 10, 2020

Description

Quick bug fix where the state batch submitter was not using bytes for the MIN_TX_SIZE .

Contributing Agreement

@@ -98,7 +98,7 @@ export class StateBatchSubmitter extends BatchSubmitter {
'appendStateBatch',
[batch, startBlock]
)
if (tx.length < this.minTxSize) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that multiplying when setting this.minTxSize is safer, in case the variable ends up getting used elsewhere in the codebase

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I like that! I'll change it -- one moment

@tynes
Copy link
Contributor

tynes commented Jan 7, 2021

Ideally this is fixed before mainnet

@tynes
Copy link
Contributor

tynes commented Feb 2, 2021

@karlfloersch Was this applied to the batch submitter in the other repo?

@tynes tynes closed this Feb 25, 2021
@tynes tynes deleted the fix/state_batch_config branch February 25, 2021 00:47
protolambda pushed a commit to protolambda/optimism that referenced this pull request May 1, 2022
…napshot

solidity: fail if updated gas snapshot isn't included
bap2pecs pushed a commit to babylonlabs-io/optimism that referenced this pull request Jul 31, 2024
This PR addresses several typographical errors across various files in
the project. The changes improve readability and maintain the
professional standard of the documentation and code comments.

Hope it helps
Best regards, Elias.
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