mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-23 12:18:16 +00:00
Automatically merged updates to draft EIP(s) 2535 (#2906)
Hi, I'm a bot! This change was automatically merged because: - It only modifies existing Draft or Last Call EIP(s) - The PR was approved or written by at least one author of each modified EIP - The build is passing
This commit is contained in:
parent
62db579932
commit
c0f598330f
@ -43,6 +43,7 @@ Here is a simple example of a diamond's fallback function:
|
||||
// function if a facet is found and return any value.
|
||||
fallback() external payable {
|
||||
address facet = selectorTofacet[msg.sig];
|
||||
require(facet != address(0));
|
||||
// Execute external function from facet using delegatecall and return any value.
|
||||
assembly {
|
||||
calldatacopy(0, 0, calldatasize())
|
||||
|
Loading…
x
Reference in New Issue
Block a user