Skip to content

Commit

Permalink
Merge pull request #15 from ConsenSys/feat/small-changes
Browse files Browse the repository at this point in the history
feat: for the L2 resolver, starts the NFT itemId at 1
  • Loading branch information
Julink-eth authored Apr 12, 2023
2 parents bb42f83 + 12d17f6 commit aa4dcca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/contracts/contracts/l2/LineaResolver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ contract LineaResolver is ERC721 {
constructor(
string memory _name,
string memory _symbol
) ERC721(_name, _symbol) {}
) ERC721(_name, _symbol) {
// Start tokenId at index 1
tokenId = 1;
}

function mintSubdomain(
bytes32 node,
Expand Down
1 change: 0 additions & 1 deletion packages/gateway/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ server.add(IResolverAbi, [
(x) => x.key === tokenIdSlot
)[0].proof
);
console.log("tokenIdProof.storageProof", tokenIdProof.storageProof);

// Create proof for the owner slot
const ownerProof = await l2provider.send("eth_getProof", [
Expand Down

0 comments on commit aa4dcca

Please sign in to comment.