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

fix: revert to using fixed val for transactions #1835

Merged
merged 2 commits into from
Sep 29, 2023
Merged

Conversation

rob-maron
Copy link
Collaborator

@rob-maron rob-maron commented Sep 29, 2023

The CI for async_std is operating with odd behavior with the randomness

@rob-maron rob-maron requested a review from shenkeyao September 29, 2023 13:50
@rob-maron rob-maron marked this pull request as ready for review September 29, 2023 13:50
@rob-maron rob-maron changed the title Revert to using fixed val for transactions fix: revert to using fixed val for transactions Sep 29, 2023
let mut bytes = vec![0; RANDOM_TX_BASE_SIZE + (padding as usize)];
rng.fill_bytes(&mut bytes);
VIDTransaction(bytes)
VIDTransaction(vec![0; RANDOM_TX_BASE_SIZE + (padding as usize)])
Copy link
Member

Choose a reason for hiding this comment

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

I thought without the randomness, there was a test failure. Was it fixed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, I think the implementing the nonstatic commit() for VID fixed this :)

@rob-maron rob-maron merged commit 27b0731 into main Sep 29, 2023
@rob-maron rob-maron deleted the rm/test-revert branch September 29, 2023 19:51
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.

2 participants