Skip to content

Commit

Permalink
trying to replicate transfer issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDeadCe11 committed Nov 21, 2023
1 parent d7ce723 commit f0b7cb4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/CharacterSheet.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,9 @@ contract CharacterSheetsTest is SetUp {
assertEq(deployments.hatsAdaptor.isPlayer(accounts.player1), false, "player 1 is a player");
assertEq(deployments.hatsAdaptor.isCharacter(accounts.character1), true, "char 1 is not a character");

vm.prank(accounts.player1);
deployments.characterSheets.rollCharacterSheet("new_test");
vm.prank(accounts.rando);
deployments.characterSheets.approve(accounts.gameMaster, 0);
vm.prank(accounts.gameMaster);
deployments.characterSheets.safeTransferFrom(accounts.rando, accounts.player1, 0, "");
}
}

0 comments on commit f0b7cb4

Please sign in to comment.