diff --git a/src/utils/LibClone.sol b/src/utils/LibClone.sol index 868981f..92c43a8 100644 --- a/src/utils/LibClone.sol +++ b/src/utils/LibClone.sol @@ -8,7 +8,7 @@ import { import {SystemContractsCaller} from "era-contracts/system-contracts/libraries/SystemContractsCaller.sol"; /// @dev Library for deploying clones of contracts on ZKsync -/// ZKsync only requires a specfic bytecode to be deployed once and stores the hash of the bytecode. +/// ZKsync only requires a specific bytecode to be deployed once and stores the hash of the bytecode. /// This allows us to deploy the same bytecode extremely cheaply without needing to use minimal proxies. /// @author Abstract (https://github.com/Abstract-Foundation/absmate/blob/main/src/utils/LibClone.sol) library LibClone { diff --git a/src/utils/LibEVM.sol b/src/utils/LibEVM.sol index b86c563..c406569 100644 --- a/src/utils/LibEVM.sol +++ b/src/utils/LibEVM.sol @@ -4,7 +4,7 @@ pragma solidity ^0.8.0; import {ACCOUNT_CODE_STORAGE_SYSTEM_CONTRACT} from "era-contracts/system-contracts/Constants.sol"; import {Utils} from "era-contracts/system-contracts/libraries/Utils.sol"; -/// @notice Library for detecting EVM comaptibility of addresses +/// @notice Library for detecting EVM compatibility of addresses /// @author Abstract (https://github.com/Abstract-Foundation/absmate/blob/main/src/utils/LibEVM.sol) library LibEVM { /// @dev returns true if the address is EVM compatible. Empty addresses are assumed to be EOAs diff --git a/src/utils/vrng/Errors.sol b/src/utils/vrng/Errors.sol index 67e25f8..56e0c9a 100644 --- a/src/utils/vrng/Errors.sol +++ b/src/utils/vrng/Errors.sol @@ -4,7 +4,7 @@ pragma solidity ^0.8.0; /// @dev VRNG Consumer is not initialized - must be initialized before requesting randomness error VRNGConsumer__NotInitialized(); -/// @dev VRNG request has not been made - request ID must be recieved before a fulfullment callback +/// @dev VRNG request has not been made - request ID must be received before a fulfillment callback /// can be processed error VRNGConsumer__InvalidFulfillment(); diff --git a/src/utils/vrng/VRNGConsumer.sol b/src/utils/vrng/VRNGConsumer.sol index 46824c8..ff929ac 100644 --- a/src/utils/vrng/VRNGConsumer.sol +++ b/src/utils/vrng/VRNGConsumer.sol @@ -6,7 +6,7 @@ import {VRNGConsumerAdvanced} from "./VRNGConsumerAdvanced.sol"; import {VRNGNormalizationMethod} from "./DataTypes.sol"; /// @title VRNGConsumer -/// @author Abstract (https://github.com/Abstract-Foundation/absmate/blob/main/src/utils/VRNGConsumer.sol) +/// @author Abstract (https://github.com/Abstract-Foundation/absmate/blob/main/src/utils/vrng/VRNGConsumer.sol) /// @notice A simple consumer contract for requesting randomness from Proof of Play vRNG. (https://docs.proofofplay.com/services/vrng/about) /// @dev Must initialize via `_setVRNG` function before requesting randomness. abstract contract VRNGConsumer is VRNGConsumerAdvanced { diff --git a/src/utils/vrng/VRNGConsumerAdvanced.sol b/src/utils/vrng/VRNGConsumerAdvanced.sol index 05650a0..dc42c90 100644 --- a/src/utils/vrng/VRNGConsumerAdvanced.sol +++ b/src/utils/vrng/VRNGConsumerAdvanced.sol @@ -7,7 +7,7 @@ import "./DataTypes.sol"; import "./Errors.sol"; /// @title VRNGConsumerAdvanced -/// @author Abstract (https://github.com/Abstract-Foundation/absmate/blob/main/src/utils/VRNGConsumerAdvanced.sol) +/// @author Abstract (https://github.com/Abstract-Foundation/absmate/blob/main/src/utils/vrng/VRNGConsumerAdvanced.sol) /// @notice A consumer contract for requesting randomness from Proof of Play vRNG. (https://docs.proofofplay.com/services/vrng/about) /// @dev Allows configuration of the randomness normalization method to one of three presets. /// Must initialize via `_setVRNG` function before requesting randomness. diff --git a/test/vrng/VRNGConsumerTest.sol b/test/vrng/VRNGConsumerTest.sol index cf30d25..40e03b3 100644 --- a/test/vrng/VRNGConsumerTest.sol +++ b/test/vrng/VRNGConsumerTest.sol @@ -50,7 +50,7 @@ contract VRNGConsumerTest is TestBase { assertEq(vrngSystem.nextRequestId(), 2); } - function testFuzz_fullfillRandomRequestNotFromVrngSystemReverts(address sender, uint256 randomNumber) public { + function testFuzz_fulfillRandomRequestNotFromVrngSystemReverts(address sender, uint256 randomNumber) public { vm.assume(sender != address(vrngSystem)); vrngConsumer.triggerRandomNumberRequest(); @@ -59,7 +59,7 @@ contract VRNGConsumerTest is TestBase { vrngConsumer.randomNumberCallback(0, randomNumber); } - function testFuzz_fullfillRandomRequestNotRequestedReverts(uint256 requestId, uint256 randomNumber) public { + function testFuzz_fulfillRandomRequestNotRequestedReverts(uint256 requestId, uint256 randomNumber) public { vm.prank(address(vrngSystem)); vm.expectRevert(VRNGConsumer__InvalidFulfillment.selector); vrngConsumer.randomNumberCallback(requestId, randomNumber);