crytic / crytic/slither

Failed to generate IR for L2UsdcBridge.onlyEOA.

Open
#2,377 3 comments 0 reactions 0 assignees View on GitHub
Need more info
Dominant language
Python
Stars
6.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Hello. i need some help about solving the errors.

The error message "Failed to generate IR for L2UsdcBridge.onlyEOA." seems to occur during the import process of libraries/Address.sol in the modifier onlyEOA() function at line 97 of L2UsdcBridge.sol. How should I resolve this error?

Here are the links that I'm having this issue:

USDC/libraries/Address.sol: https://github.com/tokamak-network/tokamak-titan-canyon/blob/OR-1397-titan-canyon-unify-USDC.e-USDC-bridge-into-tokamak-contracts-bedrock-src-L2-tokamak/packages/tokamak/contracts-bedrock/src/L2-tokamak/USDC/libraries/Address.sol

USDC/usdc-bridge-contracts/L2UsdcBridge.sol: https://github.com/tokamak-network/tokamak-titan-canyon/blob/OR-1397-titan-canyon-unify-USDC.e-USDC-bridge-into-tokamak-contracts-bedrock-src-L2-tokamak/packages/tokamak/contracts-bedrock/src/L2-tokamak/USDC/usdc-bridge-contracts/L2UsdcBridge.sol

Here is the error messeage and the slither version is 0.10.0.
--ignore-compile used, if something goes wrong, consider removing the ignore compile flag
ERROR:SlitherSolcParsing:
Failed to generate IR for L2UsdcBridge.onlyEOA. Please open an issue https://github.com/crytic/slither/issues.
L2UsdcBridge.onlyEOA (src/L2-tokamak/USDC/usdc-bridge-contracts/L2UsdcBridge.sol#92-98):
require(bool,string)(! Address.isContract(msg.sender),StandardBridge: function can only be called from an EOA)

Thank you so much!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.