Skip to content

Commit ddd647f

Browse files
committed
add virtual fallback
1 parent 1e8cf86 commit ddd647f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

contracts/diamond/Diamond.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ contract Diamond is DiamondStorage {
2828
* @notice The payable fallback function that delegatecall's the facet with associated selector
2929
*/
3030
// solhint-disable-next-line
31-
fallback() external payable {
31+
fallback() external payable virtual {
3232
address facet_ = getFacetBySelector(msg.sig);
3333

3434
require(facet_ != address(0), "Diamond: selector is not registered");

contracts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dlsl/dev-modules",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"license": "MIT",
55
"author": "Distributed Lab",
66
"readme": "README.md",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dlsl",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"license": "MIT",
55
"author": "Distributed Lab",
66
"description": "Solidity Development Modules by Distributed Lab",

0 commit comments

Comments
 (0)