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

Convert from 32 bytes #18

Merged
merged 6 commits into from
Jan 18, 2024
Merged

Convert from 32 bytes #18

merged 6 commits into from
Jan 18, 2024

Conversation

benbierens
Copy link
Contributor

No description provided.

poseidon2/io.nim Outdated
let finalChunk = bytes[chunkStart..<bytes.len] & endMarker
let finalElement = F.fromOpenArray(finalChunk)
yield finalElement
if (bytes.len - chunkStart > 0) or empty:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this was pulled from my padding PR which ended up being the wrong fix. Did something change, or was this pulled in by mistake?

@@ -1,5 +1,6 @@
import std/unittest
import std/sequtils
import std/options
Copy link
Contributor

Choose a reason for hiding this comment

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

needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, is used :o

@dryajov
Copy link
Contributor

dryajov commented Jan 11, 2024

Can we get this merged?

@benbierens benbierens merged commit 74dbf15 into main Jan 18, 2024
2 checks passed
@benbierens benbierens deleted the convert-from-32-bytes branch January 18, 2024 08:09
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.

None yet

3 participants