Skip to content

Commit

Permalink
fix: import from wildcard writing interface
Browse files Browse the repository at this point in the history
  • Loading branch information
pikonha committed Dec 9, 2024
1 parent c16f5f6 commit 431766c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 25 deletions.
2 changes: 1 addition & 1 deletion packages/contracts/script/local/L2ArbitrumResolver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {SubdomainController} from "../../src/SubdomainController.sol";
import {
OffchainRegister,
RegisterRequest
} from "../../src/interfaces/OffchainResolver.sol";
} from "../../src/interfaces/WildcardWriting.sol";

contract L2ArbitrumResolver is Script, ENSHelper {

Expand Down
25 changes: 2 additions & 23 deletions packages/contracts/src/DatabaseResolver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ contract DatabaseResolver is
override
returns (bytes[] memory)
{
_offChainStorage();
_offChainStorage(msg.data);
}

function multicallWithNodeCheck(
Expand All @@ -423,7 +423,7 @@ contract DatabaseResolver is
override
returns (bytes[] memory)
{
_offChainStorage();
_offChainStorage(msg.data);
}

//////// ENS WRITE DEFERRAL RESOLVER (EIP-5559) ////////
Expand Down Expand Up @@ -586,25 +586,4 @@ contract DatabaseResolver is
|| super.supportsInterface(interfaceID);
}

function multicall(bytes[] calldata /* data */ )
external
view
override
returns (bytes[] memory)
{
_offChainStorage(msg.data);
}

function multicallWithNodeCheck(
bytes32,
bytes[] calldata /* data */
)
external
view
override
returns (bytes[] memory)
{
_offChainStorage(msg.data);
}

}
4 changes: 3 additions & 1 deletion packages/contracts/src/L1Resolver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ import {EVMFetcher} from "./evmgateway/EVMFetcher.sol";
import {IEVMVerifier} from "./evmgateway/IEVMVerifier.sol";
import {EVMFetchTarget} from "./evmgateway/EVMFetchTarget.sol";
import {IWriteDeferral} from "./interfaces/IWriteDeferral.sol";
import {WildcardWriting} from "./interfaces/WildcardWriting.sol";
import {
WildcardWriting, OffchainRegister
} from "./interfaces/WildcardWriting.sol";

contract L1Resolver is
EVMFetchTarget,
Expand Down

0 comments on commit 431766c

Please sign in to comment.