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

fix(taiko-client): out of range for emptyTxLists #18200

Closed
wants to merge 1 commit into from

Conversation

fbrv
Copy link

@fbrv fbrv commented Oct 2, 2024

When calling /blocks/build, an index out of range error occurs because emptyTxList is initialized with size 0. The logic attempts to populate specific positions in the 2D array, causing the error. This is fixed by initializing emptyTxList with the length of encodedParams.

@fbrv fbrv changed the title fix out of range for emptyTxLists fix: out of range for emptyTxLists Oct 2, 2024
@RogerLamTd RogerLamTd changed the title fix: out of range for emptyTxLists fix(taiko-client): out of range for emptyTxLists Oct 2, 2024
@cyberhorsey
Copy link
Contributor

we use the preconfs branch, I let him know in TG and will push that same fix there!

@cyberhorsey cyberhorsey closed this Oct 2, 2024
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