@@ -222,7 +222,7 @@ contract SuperPaymasterV3Test is Test {
222222 function testConfigureOperator () public {
223223 vm.startPrank (operator);
224224 paymaster.configureOperator (address (apnts), treasury, 1e18 );
225- (address token , bool isConf ,, address treas , , uint256 bal ,,,, ) = paymaster.operators (operator);
225+ (address token , bool isConf ,, address treas , , uint256 bal ,,,) = paymaster.operators (operator);
226226 assertEq (token, address (apnts));
227227 vm.stopPrank ();
228228 }
@@ -293,7 +293,7 @@ contract SuperPaymasterV3Test is Test {
293293 // Struct: 6=Balance, 7=TotalSpent.
294294 // Tuple: (v1..v9).
295295 // If v6 is Balance, then v7 is TotalSpent.
296- (,,,,,, uint256 spent ,,, ) = paymaster.operators (operator);
296+ (,,,,,, uint256 spent ,,) = paymaster.operators (operator);
297297
298298 uint256 revenue = paymaster.protocolRevenue ();
299299 console.log ("Revenue detected: " , revenue);
@@ -326,7 +326,7 @@ contract SuperPaymasterV3Test is Test {
326326
327327 function test_V31_CreditPayment_Success () public {
328328 _setupV3Env ();
329- registry.setCreditForUser (user, 10 ether);
329+ registry.setCreditForUser (user, 1000 ether);
330330
331331 PackedUserOperation memory op = _createOp (user);
332332 bytes32 opHash = keccak256 ("test_hash " );
@@ -336,9 +336,9 @@ contract SuperPaymasterV3Test is Test {
336336 vm.stopPrank ();
337337
338338 assertEq (validationData, 0 , "Validation should pass via Credit " );
339- (address token , uint256 xAmount , address u , uint256 aAmount , bytes32 h , address op ) = abi.decode (context, (address , uint256 , address , uint256 , bytes32 , address ));
339+ (address token , uint256 xAmount , address u , uint256 aAmount , bytes32 h , address opAddr ) = abi.decode (context, (address , uint256 , address , uint256 , bytes32 , address ));
340340 assertEq (token, address (apnts));
341- assertEq (op , operator);
341+ assertEq (opAddr , operator);
342342 assertEq (u, user);
343343 assertGt (xAmount, 0 );
344344 }
@@ -364,7 +364,7 @@ contract SuperPaymasterV3Test is Test {
364364
365365 function test_V31_DebtRecording_OnBurnFail () public {
366366 _setupV3Env ();
367- registry.setCreditForUser (user, 10 ether);
367+ registry.setCreditForUser (user, 1000 ether);
368368
369369 PackedUserOperation memory op = _createOp (user);
370370 bytes32 opHash = keccak256 ("test_hash " );
@@ -394,7 +394,7 @@ contract SuperPaymasterV3Test is Test {
394394
395395 function test_V31_ReputationEvent () public {
396396 _setupV3Env ();
397- registry.setCreditForUser (user, 10 ether);
397+ registry.setCreditForUser (user, 1000 ether);
398398 PackedUserOperation memory op = _createOp (user);
399399
400400 vm.prank (address (entryPoint));
0 commit comments