Skip to content

Commit c9437de

Browse files
committed
fix: fix compile error
Still have test errors, probably related to parsing
1 parent bff91ff commit c9437de

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

examples/demo-app/smart-contracts/DemoPaymaster.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { IPaymaster, ExecutionResult, PAYMASTER_VALIDATION_SUCCESS_MAGIC } from
1414
import { IPaymasterFlow } from "@matterlabs/zksync-contracts/l2/system-contracts/interfaces/IPaymasterFlow.sol";
1515
import { TransactionHelper, Transaction } from "@matterlabs/zksync-contracts/l2/system-contracts/libraries/TransactionHelper.sol";
1616

17-
import "@matterlabs/zksync-contracts/l2/system-contracts/Constants.sol";
17+
import { BOOTLOADER_FORMAL_ADDRESS } from "@matterlabs/zksync-contracts/l2/system-contracts/Constants.sol";
1818

1919
/// @author Matter Labs
2020
/// @notice DO NOT USE THIS FOR PRODUCTION. This contract does not include any validations other than using the paymaster general flow.

examples/nft-quest-contracts/contracts/NFTQuestPaymaster.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import { IPaymaster, ExecutionResult, PAYMASTER_VALIDATION_SUCCESS_MAGIC } from
55
import { IPaymasterFlow } from "@matterlabs/zksync-contracts/l2/system-contracts/interfaces/IPaymasterFlow.sol";
66
import { TransactionHelper, Transaction } from "@matterlabs/zksync-contracts/l2/system-contracts/libraries/TransactionHelper.sol";
77

8-
import "@matterlabs/zksync-contracts/l2/system-contracts/Constants.sol";
8+
import { BOOTLOADER_FORMAL_ADDRESS } from "@matterlabs/zksync-contracts/l2/system-contracts/Constants.sol";
99

10-
import "@openzeppelin/contracts/access/Ownable.sol";
10+
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
1111

1212
/// @author Matter Labs
1313
/// @notice This contract does not include any validations other than using the paymaster general flow.

examples/nft-quest-contracts/contracts/ZeekNFTQuest.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
pragma solidity ^0.8.0;
44

5-
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
6-
import "@openzeppelin/contracts/access/Ownable.sol";
5+
import { ERC721 } from "@openzeppelin/contracts/token/ERC721/ERC721.sol";
6+
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
77

88
contract ZeekNFTQuest is ERC721, Ownable {
99
uint256 private _tokenIds;

0 commit comments

Comments
 (0)