Skip to content

Commit

Permalink
Style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
eloi010 committed Oct 9, 2023
1 parent 7ebb9b4 commit d5a66e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/paymaster/BaseOpenfortPaymaster.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {OpenfortErrorsAndEvents} from "../interfaces/OpenfortErrorsAndEvents.sol
/**
* Helper class for creating an Openfort paymaster.
* Provides helper methods for staking.
* Validates that the postOp is called only by the EntryPoint
* Validates that the postOp is called only by the EntryPoint.
*/
abstract contract BaseOpenfortPaymaster is IBaseOpenfortPaymaster, Ownable2Step {
uint256 private constant INIT_POST_OP_GAS = 40_000; // Initial value for postOpGas
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {OpenfortPaymaster} from "../contracts/paymaster/OpenfortPaymaster.sol";

contract OpenfortPaymasterDeploy is Script {
uint256 internal deployPrivKey = vm.deriveKey(vm.envString("MNEMONIC_PAYMASTER_OWNER_TESTNET"), 0);
// uint256 internal deployPrivKey = vm.envUint("PK");
// uint256 internal deployPrivKey = vm.envUint("PK_PAYMASTER_OWNER_TESTNET");
address internal deployAddress = vm.addr(deployPrivKey);
IEntryPoint internal entryPoint = IEntryPoint((payable(vm.envAddress("ENTRY_POINT_ADDRESS"))));
uint32 internal constant UNSTAKEDELAYSEC = 8600;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {OpenfortPaymasterV2} from "../contracts/paymaster/OpenfortPaymasterV2.so

contract OpenfortPaymasterV2Deploy is Script {
uint256 internal deployPrivKey = vm.deriveKey(vm.envString("MNEMONIC_PAYMASTER_OWNER_TESTNET"), 0);
// uint256 internal deployPrivKey = vm.envUint("PK");
// uint256 internal deployPrivKey = vm.envUint("PK_PAYMASTER_OWNER_TESTNET");
address internal deployAddress = vm.addr(deployPrivKey);
IEntryPoint internal entryPoint = IEntryPoint((payable(vm.envAddress("ENTRY_POINT_ADDRESS"))));
uint32 internal constant UNSTAKEDELAYSEC = 8600;
Expand Down

0 comments on commit d5a66e6

Please sign in to comment.