Skip to content

Conversation

@mmsqe
Copy link
Contributor

@mmsqe mmsqe commented Oct 22, 2025

Description

Closes: #XXXX


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • tackled an existing issue or discussed with a team member
  • left instructions on how to review the changes
  • targeted the main branch

)
return receipt
else:
return receipt

Check failure

Code scanning / CodeQL

Potentially uninitialized local variable Error test

Local variable 'receipt' may be used before it is initialized.


def wait_for_fn(name, fn, *, timeout=120, interval=1):
for i in range(int(timeout / interval)):

Check warning

Code scanning / CodeQL

Unnecessary 'else' clause in loop Warning test

This 'for' statement has a redundant 'else' as no 'break' is present in the body.


async def wait_for_fn_async(name, fn, *, timeout=120, interval=1):
for i in range(int(timeout / interval)):

Check warning

Code scanning / CodeQL

Unnecessary 'else' clause in loop Warning test

This 'for' statement has a redundant 'else' as no 'break' is present in the body.
)
signer1_balance = await ERC20.fns.balanceOf(signer1).call(w3, to=tf_erc20_addr)
assert signer1_balance == signer1_balance_bf - approve_amt
signer1_balance_bf = signer1_balance

Check notice

Code scanning / CodeQL

Unused local variable Note test

Variable signer1_balance_bf is not used.
assert signer2_balance == signer2_balance_bf
receiver_balance = await ERC20.fns.balanceOf(receiver).call(w3, to=tf_erc20_addr)
assert receiver_balance == receiver_balance_bf + approve_amt
receiver_balance_bf = receiver_balance

Check notice

Code scanning / CodeQL

Unused local variable Note test

Variable receiver_balance_bf is not used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant