Skip to content

Commit

Permalink
Fix [L-1] Unable to upgrade receive()
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrishang committed Aug 18, 2023
1 parent 3266e52 commit 211dfdc
Show file tree
Hide file tree
Showing 7 changed files with 1,766 additions and 1,736 deletions.
3 changes: 0 additions & 3 deletions contracts/smart-wallet/utils/AccountCore.sol
Expand Up @@ -50,9 +50,6 @@ contract AccountCore is IAccountCore, Initializable, Multicall, BaseAccount, ERC
Constructor, Initializer, Modifiers
//////////////////////////////////////////////////////////////*/

// solhint-disable-next-line no-empty-blocks
receive() external payable virtual {}

constructor(IEntryPoint _entrypoint, address _factory) EIP712("Account", "1") {
_disableInitializers();
factory = _factory;
Expand Down
2 changes: 1 addition & 1 deletion lib/dynamic-contracts
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -15,7 +15,7 @@
"@openzeppelin/contracts": "4.7.3",
"@openzeppelin/contracts-upgradeable": "4.7.3",
"@primitivefi/hardhat-dodoc": "^0.2.0",
"@thirdweb-dev/dynamic-contracts": "^1.1.2",
"@thirdweb-dev/dynamic-contracts": "^1.1.3",
"@thirdweb-dev/sdk": "3.10.33",
"@typechain/ethers-v5": "^10.0.0",
"@typechain/hardhat": "^4.0.0",
Expand Down

0 comments on commit 211dfdc

Please sign in to comment.