-
Notifications
You must be signed in to change notification settings - Fork 997
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug-Candidate]: 'NoneType' object has no attribute 'type' #1140
Comments
This appears to be a bug in the version of openzeppelin/upgrades you're running. Can you try the fix in this release: https://github.com/OpenZeppelin/openzeppelin-upgrades/releases/tag/%40openzeppelin%2Fupgrades-core%401.14.1 |
I think |
Sorry, I got the names mixed up but I'm following now. Can you share what you're adding and removing that makes a difference or the project in its entirety? For example, say you were inheriting from the upgradeable contracts |
@amber0515 If you have this same package in your hardhat config, try commenting it out. Other people are having this issue using the hardhat upgrade module. See: #1143 (comment) |
I upgraded dependencies to OpenZeppelin's packages as this was suggested in one of the slither's issues as possible fix to slither's crash: crytic/slither#1140
We're also experiencing this problem. This is an example PR containing the source code: threshold-network/solidity-contracts#96 |
As a workaround for a slither issue crytic/slither#1140 we disable compilation of dependencies when running slither.
Did you try this fix #1143 (comment) |
I upgraded dependencies to OpenZeppelin's packages as this was suggested in one of the slither's issues as possible fix to slither's crash: crytic/slither#1140
Describe the issue:
I make the contract upgradeable by use "@openzeppelin/contracts-upgradeable": "^4.5.1". when I remove this dependecy everything works fine.
Code example to reproduce the issue:
Version:
slither --version:
0.8.2
Relevant log output:
No response
The text was updated successfully, but these errors were encountered: