diff --git a/README.md b/README.md index db26760..e42c94a 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ As of June 2023, the current average gas cost for deploying or using the differe | StaticOpenfortFactory | Deploy factory (containing StaticOpenfortAccount's implementation) | 1 | ~2,500,000 | | StaticOpenfortAccount | Create a new static account using the `createAccountWithNonce()` of the factory | indefinite | ~150,000 | | StaticOpenfortAccount | Updating the EntryPoint address using `updateEntryPoint()` | indefinite | ~1,500 | -| StaticOpenfortAccount | Transfering the ownership using `transferOwnership()` | indefinite | ~25,000 | +| StaticOpenfortAccount | Transferring the ownership using `transferOwnership()` | indefinite | ~25,000 | ### Upgradeable Accounts | Smart Contract | Description | # of deployments per game/ecosystem | Avg gas cost | diff --git a/contracts/core/BaseOpenfortAccount.sol b/contracts/core/BaseOpenfortAccount.sol index f728a8a..4035d08 100644 --- a/contracts/core/BaseOpenfortAccount.sol +++ b/contracts/core/BaseOpenfortAccount.sol @@ -292,7 +292,7 @@ abstract contract BaseOpenfortAccount is * @param _validAfter - this session key is valid only after this timestamp. * @param _validUntil - this session key is valid only up to this timestamp. * @notice using this function will automatically set the sessionkey as a - * master session key because no further restricion was set. + * master session key because no further restriction was set. * @notice default limit set to 100. */ function registerSessionKey(address _key, uint48 _validAfter, uint48 _validUntil) public { diff --git a/contracts/core/eip6551/EIP6551OpenfortAccount.sol b/contracts/core/eip6551/EIP6551OpenfortAccount.sol index 56650c1..df37cb1 100644 --- a/contracts/core/eip6551/EIP6551OpenfortAccount.sol +++ b/contracts/core/eip6551/EIP6551OpenfortAccount.sol @@ -351,7 +351,7 @@ contract EIP6551OpenfortAccount is * @param _validAfter - this session key is valid only after this timestamp. * @param _validUntil - this session key is valid only up to this timestamp. * @notice using this function will automatically set the sessionkey as a - * master session key because no further restricion was set. + * master session key because no further restriction was set. * @notice default limit set to 100. */ function registerSessionKey(address _key, uint48 _validAfter, uint48 _validUntil) public { diff --git a/test/foundry/core/eip6551/EIP6551OpenfortBenchmark.t.sol b/test/foundry/core/eip6551/EIP6551OpenfortBenchmark.t.sol index 331c874..c1c3196 100644 --- a/test/foundry/core/eip6551/EIP6551OpenfortBenchmark.t.sol +++ b/test/foundry/core/eip6551/EIP6551OpenfortBenchmark.t.sol @@ -524,7 +524,7 @@ contract EIP6551OpenfortBenchmark is Test { /* * Test transferOwnership() function using upgradeable account that have EIP6551 accounts. - * Scenario: a complex account changes the ownership; all NFTs are managable by the new owner + * Scenario: a complex account changes the ownership; all NFTs are manageable by the new owner */ function test8TransferOwner4337Complex() public { // The EOA is the owner of the Upgradeable account diff --git a/test/foundry/core/recoverable/RecoverableOpenfortAccountTest.t.sol b/test/foundry/core/recoverable/RecoverableOpenfortAccountTest.t.sol index 087d840..52e0e87 100644 --- a/test/foundry/core/recoverable/RecoverableOpenfortAccountTest.t.sol +++ b/test/foundry/core/recoverable/RecoverableOpenfortAccountTest.t.sol @@ -1975,7 +1975,7 @@ contract RecoverableOpenfortAccountTest is Test { */ /* - * Check the correct functionallity of startRecovery() + * Check the correct functionality of startRecovery() */ function testStartRecovery() public { RecoverableOpenfortAccount recoverableOpenfortAccount = RecoverableOpenfortAccount(payable(account)); diff --git a/test/foundry/paymaster/OpenfortPaymasterV2Test.t.sol b/test/foundry/paymaster/OpenfortPaymasterV2Test.t.sol index d8c3bd4..a61d083 100644 --- a/test/foundry/paymaster/OpenfortPaymasterV2Test.t.sol +++ b/test/foundry/paymaster/OpenfortPaymasterV2Test.t.sol @@ -1572,7 +1572,7 @@ contract OpenfortPaymasterV2Test is Test { function testAcceptOwnershipComplex() public { assertEq(openfortPaymaster.owner(), paymasterAdmin); - // Play arround with deposits + // Play around with deposits assertEq(openfortPaymaster.getDeposit(), 50 ether); assertEq(openfortPaymaster.getDepositFor(paymasterAdmin), 50 ether); assertEq(openfortPaymaster.getDepositFor(factoryAdmin), 0 ether); @@ -1589,7 +1589,7 @@ contract OpenfortPaymasterV2Test is Test { assertEq(openfortPaymaster.getDeposit(), 53 ether); assertEq(openfortPaymaster.getDepositFor(paymasterAdmin), 50 ether); assertEq(openfortPaymaster.getDepositFor(factoryAdmin), 3 ether); - // Play arround with deposits + // Play around with deposits vm.prank(factoryAdmin); openfortPaymaster.acceptOwnership();