Skip to content

Commit

Permalink
Tokens have been renamed testFlowShouldErrorIfERC721FlowFromIsOtherTh…
Browse files Browse the repository at this point in the history
…anSourceContractOrMsgSender
  • Loading branch information
Erikd-dev committed Aug 12, 2024
1 parent de8a9b2 commit a50ee92
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/concrete/flowBasic/FlowTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -332,14 +332,11 @@ contract FlowTest is FlowBasicTest {
(IFlowV5 flow, EvaluableV2 memory evaluable) = deployFlow();

{
address iERC721B = address(uint160(uint256(keccak256("erc721B.test"))));
vm.etch(address(iERC721B), REVERTING_MOCK_BYTECODE);

ERC721Transfer[] memory erc721Transfers = new ERC721Transfer[](2);
erc721Transfers[0] =
ERC721Transfer({token: address(iERC721), from: bob, to: address(flow), id: erc721TokenId});
ERC721Transfer({token: address(iTokenA), from: bob, to: address(flow), id: erc721TokenId});
erc721Transfers[1] =
ERC721Transfer({token: address(iERC721B), from: address(flow), to: alise, id: erc721TokenId});
ERC721Transfer({token: address(iTokenB), from: address(flow), to: alise, id: erc721TokenId});

uint256[] memory stack =
generateTokenTransferStack(new ERC1155Transfer[](0), erc721Transfers, new ERC20Transfer[](0));
Expand Down

0 comments on commit a50ee92

Please sign in to comment.