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

Wire up soroban PRNG seed from txset hash, tx and op numbers. #3771

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

graydon
Copy link
Contributor

@graydon graydon commented Jun 12, 2023

This does a very basic (and not at all tested) wiring-up of the soroban PRNG service based on the txset hash, tx and op numbers as we run a tx. I figured it's small enough to sneak in to the preview 10 release and, if there's a problem with it, it won't at this point be any worse than the current situation (which, being unseeded, will just fault if someone tries to use it).

@dmkozh
Copy link
Contributor

dmkozh commented Jun 12, 2023

r+ 20cc4e3

@latobarita latobarita merged commit 97ba212 into stellar:master Jun 12, 2023
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