Skip to content

Conversation

radik878
Copy link

Replaced the cloning of FriLayer with a safe move by first copying the Merkle root ([u8; 32] Copy) into a local variable, then pushing the layer into the list and appending the root bytes to the transcript; this eliminates redundant allocation and retains identical logic and transcript ordering, since only the root bytes are needed after moving the layer.

@radik878 radik878 requested a review from a team as a code owner October 18, 2025 18:49
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