KREAd is an application that uses and implements composable NFTs on Agoric, the application allows users to customize their own characters by equipping and unequipping items.
The feature to equip an Item fails silently when executed.
When visiting the path /inventory/items, every time we refresh the page and try to select Equip from an available Item, this will fails silently.
The error message printed in the console is Could not find item or character that point it to useEquipItem method
Note: this also happens when the Item that we are trying to equip has the same category has one Item already equipped, but that we assume that it was a decision made buy the developers and it is not the scope of this issue.
Repro
Ensure that you have unequipped Items which category is not already equipped in your Character.
Visit /inventory/items, refresh the page if necessary
Select Equip
Verify error message on console of browser dev tool
Expected behavior
Clicking the equip button should trigger the Keplr wallet to approve the transaction and the Item should be set as equipped on the Character
Bug description
The feature to equip an Item fails silently when executed. When visiting the path
/inventory/items
, every time we refresh the page and try to selectEquip
from an available Item, this will fails silently. The error message printed in the console isCould not find item or character
that point it to useEquipItem methodNote: this also happens when the Item that we are trying to equip has the same category has one Item already equipped, but that we assume that it was a decision made buy the developers and it is not the scope of this issue.
Repro
/inventory/items
, refresh the page if necessaryEquip
Expected behavior
Clicking the equip button should trigger the Keplr wallet to approve the transaction and the Item should be set as equipped on the Character
Branch
jorge/e2e-ci-workflow
Connected Network
local