Skip to content

Commit

Permalink
Merge pull request #709 from xiaoxianBoy/fixBugSnoppy
Browse files Browse the repository at this point in the history
Fix misspell
  • Loading branch information
GianfrancoBazzani authored Mar 14, 2024
2 parents 4d4c0a7 + 3792961 commit 1a8a731
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion client/src/middlewares/loadEthernautContract.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const loadEthernautContract = store => next => action => {
// Get game data
store.dispatch(actions.syncPlayerProgress())

// Auto-restore previoius instance
// Auto-restore previous instance
if (state.gamedata.activeLevel)
store.dispatch(actions.loadLevelInstance(state.gamedata.activeLevel, true, false))

Expand Down
2 changes: 1 addition & 1 deletion client/src/middlewares/setNetwork.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let elements = document.querySelectorAll('.progress-bar-wrapper');
// -- IF This is a network supported by default OR there is a localstorage key indicating contracts have been locally deployed THEN continue as normal
// -- ELSE notify the user that they need to deploy on this network to play the game or switch to a network that has the game, then run deployment script and set returned addresses to localstorage
const setNetwork = store => next => action => {
window.localdeploy = deployAdminContracts; //TODO later remove refrence to contract from windows
window.localdeploy = deployAdminContracts; //TODO later remove reference to contract from windows
window.deployAllContracts = deployRemainingContracts;
if (action.type !== actions.SET_NETWORK_ID) return next(action) //we need to reload the window here
elements = document.querySelectorAll('.progress-bar-wrapper');
Expand Down
2 changes: 1 addition & 1 deletion client/src/utils/ethutil.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export const validateAddress = (address) => {
const allLowerCase = raw.toLowerCase() === raw;
const allUppercase = raw.toUpperCase() === raw;
if (allLowerCase || allUppercase) {
return true; // accepts addreses with no checksum data
return true; // accepts address with no checksum data
}
else {
const checksum = ethjs.toChecksumAddress(address);
Expand Down
2 changes: 1 addition & 1 deletion contracts/contracts/attacks/GatekeeperThreeAttack.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ contract GatekeeperThreeAttack {
function attack() public {
// Take ownership
gatekeeperThree.construct0r();
// Set pasword block.timmestamp
// Set password block.timestamp
gatekeeperThree.createTrick();
// Set allow_entrance = true
gatekeeperThree.getAllowance(block.timestamp);
Expand Down
2 changes: 1 addition & 1 deletion contracts/contracts/factory/LocalFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {ProxyStats} from "../proxy/ProxyStats.sol";
import {ProxyAdmin} from "../proxy/ProxyAdmin.sol";
import {Level} from "../levels/base/Level.sol";

// deploy all the nexessary contract in steps
// deploy all the necessary contract in steps
contract Factory is Ownable {
Ethernaut public ethernaut;
ProxyAdmin public proxyAdmin;
Expand Down
2 changes: 1 addition & 1 deletion contracts/contracts/helpers/Ownable-05.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pragma solidity ^0.5.0;
* specific functions.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be aplied to your functions to restrict their use to
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
contract Ownable {
Expand Down

0 comments on commit 1a8a731

Please sign in to comment.