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/Rat fight revert #40

Merged
merged 2 commits into from
Sep 13, 2021
Merged

Fix/Rat fight revert #40

merged 2 commits into from
Sep 13, 2021

Conversation

TBouder
Copy link
Contributor

@TBouder TBouder commented Sep 13, 2021

What it does ✨

Fix an issue where you could not fight the rat (execution reverted). This was because of an extra param in the multicall following the inventory implementation. The log (aka when the user will be available to fight again) was not correctly fetched and so the adventurer was always ready to fight, even if this was not the true

How to test ✅

Try to fight with your adventurer, they should no be able to fight again and the tx should not revert

@TBouder TBouder added the bug Something isn't working label Sep 13, 2021
@vercel
Copy link

vercel bot commented Sep 13, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tbouder/rarity/4oXm25pTfAsHpo6L1ro58SSimY2z
✅ Preview: https://rarity-git-develop-tbouder.vercel.app

@TBouder TBouder linked an issue Sep 13, 2021 that may be closed by this pull request
Copy link
Collaborator

@saltyfacu saltyfacu left a comment

Choose a reason for hiding this comment

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

lgtm

@saltyfacu saltyfacu merged commit ed362d6 into main Sep 13, 2021
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.

Cellar won't let me loot rat skins
2 participants