File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
packages/evm/test/streaming Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2021,7 +2021,9 @@ contract StreamingManagerTest is Test {
20212021
20222022 vm.warp (campaign.endTime () + 1 );
20232023
2024- bytes memory data = abi.encode (1 ether);
2024+ AIncentive.ClawbackPayload memory payload =
2025+ AIncentive.ClawbackPayload ({target: address (budget), data: abi.encode (1 ether)});
2026+ bytes memory data = abi.encode (payload);
20252027
20262028 vm.prank (address (0xBAD ));
20272029 vm.expectRevert (StreamingCampaign.OnlyBudget.selector );
@@ -2032,7 +2034,9 @@ contract StreamingManagerTest is Test {
20322034 (, StreamingCampaign campaign ) = _createCampaignWithRoot ();
20332035
20342036 // Don't warp past end time
2035- bytes memory data = abi.encode (1 ether);
2037+ AIncentive.ClawbackPayload memory payload =
2038+ AIncentive.ClawbackPayload ({target: address (budget), data: abi.encode (1 ether)});
2039+ bytes memory data = abi.encode (payload);
20362040
20372041 vm.prank (address (budget));
20382042 vm.expectRevert (StreamingCampaign.CampaignNotEnded.selector );
You can’t perform that action at this time.
0 commit comments