Skip to content

Commit

Permalink
Tokens have been renamed testFlowShouldErrorIfERC1155FlowFromIsOtherT…
Browse files Browse the repository at this point in the history
…hanSourceContractOrMsgSender
  • Loading branch information
Erikd-dev committed Aug 12, 2024
1 parent 1e0f566 commit 0c98bef
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 @@ -373,20 +373,17 @@ contract FlowTest is FlowBasicTest {
(IFlowV5 flow, EvaluableV2 memory evaluable) = deployFlow();

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

ERC1155Transfer[] memory erc1155Transfers = new ERC1155Transfer[](2);
erc1155Transfers[0] = ERC1155Transfer({
token: address(iERC1155),
token: address(iTokenA),
from: bob,
to: address(flow),
id: erc1155OutTokenId,
amount: erc1155OutAmmount
});

erc1155Transfers[1] = ERC1155Transfer({
token: address(iERC1155B),
token: address(iTokenB),
from: address(flow),
to: alise,
id: erc1155BInTokenId,
Expand Down

0 comments on commit 0c98bef

Please sign in to comment.