Skip to content

core: Multi-fragment activation: charge gas per fragment#619

Closed
KolbyML wants to merge 1 commit intomasterfrom
Multi-fragment-activation-charge-gas-per-fragment
Closed

core: Multi-fragment activation: charge gas per fragment#619
KolbyML wants to merge 1 commit intomasterfrom
Multi-fragment-activation-charge-gas-per-fragment

Conversation

@KolbyML
Copy link
Member

@KolbyML KolbyML commented Feb 3, 2026

fixes NIT-4405

pulled in by OffchainLabs/nitro#4312

@KolbyML KolbyML changed the title Multi-fragment activation: charge gas per fragment core: Multi-fragment activation: charge gas per fragment Feb 3, 2026
@KolbyML KolbyML marked this pull request as ready for review February 3, 2026 18:28
Comment on lines +82 to 88
// ToWordSize returns the ceiled word size required for memory expansion.
func ToWordSize(size uint64) uint64 {
return toWordSize(size)
}

// toWordSize returns the ceiled word size required for memory expansion.
func toWordSize(size uint64) uint64 {
Copy link
Member

Choose a reason for hiding this comment

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

why not making the old function public? fork-diff-wise I'd say it wouldn't be that harmful

Copy link
Member Author

Choose a reason for hiding this comment

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

Idk I just felt like avoiding modifying go-ethereum code might make merging the upstream work easier

@KolbyML KolbyML assigned tsahee and unassigned KolbyML Feb 4, 2026
@KolbyML
Copy link
Member Author

KolbyML commented Feb 6, 2026

no longer needed

@KolbyML KolbyML closed this Feb 6, 2026
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.

4 participants