Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rotcivegaf committed May 9, 2023
1 parent 13ee0c2 commit d804d4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ERC4973.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ contract ERC4973Test is Test, ERC721Holder {
(uint8 v, bytes32 r, bytes32 s) = vm.sign(passivePrivateKey, hash);
bytes memory signature = abi.encodePacked(r, s, v);
bytes memory expected =
hex"4473afdec84287f10aa0b5eb608d360e2e9220bee657a4a5ca468e69a4de255c38691fca0c52f295d1831beaa0b7f079c1ab7959257578d2fb8d98740d9b0e111c";
hex"0e1183b212232b4f1c3e11edd00059fb01710c0335b81c11a43d11d5b7cd01d55483b1a1432f76c4d3cab1bb2607622fd173f8f3d6bdbe8927c4706f9be447321b";
assertEq(signature, expected);

uint256 tokenId = abt.give(to, bytes(tokenURI), signature);
Expand Down Expand Up @@ -314,7 +314,7 @@ contract ERC4973Test is Test, ERC721Holder {
(uint8 v, bytes32 r, bytes32 s) = vm.sign(passivePrivateKey, hash);
bytes memory signature = abi.encodePacked(r, s, v);
bytes memory expected =
hex"4473afdec84287f10aa0b5eb608d360e2e9220bee657a4a5ca468e69a4de255c38691fca0c52f295d1831beaa0b7f079c1ab7959257578d2fb8d98740d9b0e111c";
hex"0e1183b212232b4f1c3e11edd00059fb01710c0335b81c11a43d11d5b7cd01d55483b1a1432f76c4d3cab1bb2607622fd173f8f3d6bdbe8927c4706f9be447321b";
assertEq(signature, expected);

uint256 tokenId = abt.take(passiveAddress, bytes(tokenURI), signature);
Expand Down

0 comments on commit d804d4d

Please sign in to comment.