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

update code size in UpdateAccount + remove update from UpdateAccountCode #459

Draft
wants to merge 10 commits into
base: kaustinen-with-shapella
Choose a base branch
from

Conversation

gballet
Copy link
Owner

@gballet gballet commented Jul 12, 2024

No description provided.

trie/verkle.go Outdated
Comment on lines 466 to 472
// Reuse the calculated key to also update the code size.
if i == 0 {
cs := make([]byte, 32)
binary.LittleEndian.PutUint64(cs, uint64(len(code)))
values[utils.CodeSizeLeafKey] = cs
}

Copy link
Owner Author

Choose a reason for hiding this comment

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

not sure why yet, but this is what kills the shadowfork + verkle-at-genesis testnets. TBC

@gballet gballet closed this Jul 15, 2024
@gballet gballet force-pushed the nyota-costs-redo branch from 360a860 to 4133497 Compare July 15, 2024 18:02
@gballet gballet reopened this Jul 16, 2024
@gballet gballet force-pushed the nyota-costs-redo branch 2 times, most recently from a0dad15 to eae2aaa Compare July 16, 2024 13:57
@gballet gballet closed this Jul 16, 2024
@gballet gballet force-pushed the nyota-costs-redo branch from eae2aaa to 4133497 Compare July 16, 2024 14:16
@gballet gballet reopened this Jul 16, 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.

1 participant