Skip to content

chore: replace reflect.SliceHeader#261

Merged
garyschulte merged 13 commits intobesu-eth:mainfrom
kevaundray:kw/remove-slice-header
Mar 19, 2025
Merged

chore: replace reflect.SliceHeader#261
garyschulte merged 13 commits intobesu-eth:mainfrom
kevaundray:kw/remove-slice-header

Conversation

@kevaundray
Copy link
Copy Markdown
Contributor

As of Go 1.17 unsafe.Slice is the recommended way since the go runtime does not make any assumptions about the layout of the slice header

@kevaundray kevaundray marked this pull request as ready for review March 17, 2025 15:23
@kevaundray kevaundray force-pushed the kw/remove-slice-header branch 2 times, most recently from 40bca4b to 6f9733d Compare March 18, 2025 22:06
daniellehrner and others added 10 commits March 18, 2025 22:08
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
Signed-off-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
Signed-off-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
Signed-off-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
@kevaundray kevaundray force-pushed the kw/remove-slice-header branch from a504f60 to ca3f942 Compare March 18, 2025 22:11
Signed-off-by: kevaundray <kevtheappdev@gmail.com>
Copy link
Copy Markdown
Contributor

@garyschulte garyschulte left a comment

Choose a reason for hiding this comment

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

LGTM, possibly a duplicate import and will need merge or rebase after #260

garyschulte and others added 2 commits March 19, 2025 10:02
Signed-off-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
@garyschulte garyschulte enabled auto-merge (squash) March 19, 2025 18:53
@garyschulte garyschulte merged commit 837f9ee into besu-eth:main Mar 19, 2025
12 checks passed
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.

3 participants