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

Ensure seed randomness is not truncated until it it hashed in the sortition module. #111

Open
ryardley opened this issue Sep 23, 2024 · 0 comments

Comments

@ryardley
Copy link
Contributor

Currently the seed is truncated to u64 from the evm event.

Seed is uint256 in solidity. We can and should represent this seed with appropriate bit depth (eg as [u8;32]) in Rust up until when the seed reaches it's destination (eg. the sortition actor)

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

No branches or pull requests

1 participant