diff --git a/apps/remix-ide/src/app/editor/example-contracts.js b/apps/remix-ide/src/app/editor/example-contracts.js index 6f1099c2bb..a825255904 100644 --- a/apps/remix-ide/src/app/editor/example-contracts.js +++ b/apps/remix-ide/src/app/editor/example-contracts.js @@ -4,7 +4,7 @@ const storage = `pragma solidity >=0.4.22 <0.7.0; /** * @title Storage - * @dev Store & retreive value in a variable + * @dev Store & retrieve value in a variable */ contract Storage { @@ -22,7 +22,7 @@ contract Storage { * @dev Return value * @return value of 'number' */ - function retreive() public view returns (uint256){ + function retrieve() public view returns (uint256){ return number; } }` diff --git a/apps/remix-ide/test-browser/tests/compiler_api.test.js b/apps/remix-ide/test-browser/tests/compiler_api.test.js index a2900a715d..7e7e59c9cc 100644 --- a/apps/remix-ide/test-browser/tests/compiler_api.test.js +++ b/apps/remix-ide/test-browser/tests/compiler_api.test.js @@ -40,7 +40,7 @@ const simpleContract = `pragma solidity >=0.4.22 <0.7.0; /** * @title Storage -* @dev Store & retreive value in a variable +* @dev Store & retrieve value in a variable */ contract StorageTestUpdateConfiguration { @@ -58,7 +58,7 @@ contract StorageTestUpdateConfiguration { * @dev Return value * @return value of 'number' */ - function retreive() public view returns (uint256){ + function retrieve() public view returns (uint256){ return number; } }