Skip to content

Commit 9388750

Browse files
authored
Merge branch 'master' into dev
2 parents e2a2ba7 + 13d7d9f commit 9388750

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

FUNDING.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"Optimism": {
3+
"op-mainnet": {
4+
"ownedBy": "0xc44F30Be3eBBEfdDBB5a85168710b4f0e18f4Ff0"
5+
}
6+
}
7+
}

examples/printers/human_printer.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ contract SimpleVulnerableToken{
6565

6666
/**
6767
* @dev Gets the balance of the specified address.
68-
* @param _owner The address to query the the balance of.
68+
* @param _owner The address to query the balance of.
6969
* @return An uint256 representing the amount owned by the passed address.
7070
*/
7171
function balanceOf(address _owner) public view returns (uint256) {

slither/core/declarations/contract.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ def get_modifier_from_signature(self, modifier_signature: str) -> Optional["Modi
904904

905905
def get_function_from_canonical_name(self, canonical_name: str) -> Optional["Function"]:
906906
"""
907-
Return a function from a a canonical name (contract.signature())
907+
Return a function from a canonical name (contract.signature())
908908
Args:
909909
canonical_name (str): canonical name of the function (without return statement)
910910
Returns:

slither/vyper_parsing/cfg/node.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def analyze_expressions(self, caller_context) -> None:
3737
if self._node.expression:
3838

3939
if self._node.type == NodeType.VARIABLE:
40-
# Update the expression to be an assignement to the variable
40+
# Update the expression to be an assignment to the variable
4141
_expression = AssignmentOperation(
4242
Identifier(self._node.variable_declaration),
4343
self._node.expression,

slither/vyper_parsing/declarations/function.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ def _parse_params(self, params: Arguments):
554554
def _parse_returns(self, returns: Union[Name, TupleVyper, Subscript]):
555555

556556
self._function.returns_src().set_offset(returns.src, self._function.compilation_unit)
557-
# Only the type of the arg is given, not a name. We create an an `Arg` with an empty name
557+
# Only the type of the arg is given, not a name. We create an `Arg` with an empty name
558558
# so that the function has the correct return type in its signature but doesn't clash with
559559
# other identifiers during name resolution (`find_variable`).
560560
if isinstance(returns, (Name, Subscript)):

0 commit comments

Comments
 (0)