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

fixes #577 number out of bounds during optimistic start #579

Closed
wants to merge 1 commit into from

Conversation

loothero
Copy link
Contributor

There was a _load_adventurer_entropy() function that is effectively legacy since adding the optimistic start code. This function was being called when resources were taken out of storage.

This now calls _get_adventurer_entropy() which will check if manual entropy has been provided and if it has, use that instead of attempting to calculate it from the hash of start_block + 1 which requires 11 blocks to resolve on Starknet

@loothero loothero added the bug Something isn't working label Apr 28, 2024
@loothero loothero self-assigned this Apr 28, 2024
Copy link

vercel bot commented Apr 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
loot-survivor ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2024 11:48pm

@ponderingdemocritus ponderingdemocritus changed the base branch from main to feat/sepolia April 28, 2024 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants