-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from ConsenSys/feat/test-on-goerli-fork
Feat/test on goerli fork
- Loading branch information
Showing
11 changed files
with
83 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
GOERLI_URL= | ||
GOERLI_LINEA_URL= | ||
PRIVATE_KEY= | ||
ETHERSCAN_API_KEY= | ||
ETHERSCAN_API_KEY= | ||
L1_ENS_NAME=lineatest.eth | ||
L2_ENS_NAME=julink.lineatest.eth | ||
GATEWAY_URL=https://www.ensgateway.amineharty.me/{sender}/{data}.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
// SPDX-License-Identifier: UNLICENSED | ||
pragma solidity ^0.8.9; | ||
|
||
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; | ||
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; | ||
|
||
contract LineaResolver is Ownable { | ||
mapping(bytes32 => address) addresses; | ||
mapping(bytes32 => address) addresses; | ||
|
||
event AddrChanged(bytes32 indexed node, address a); | ||
event AddrChanged(bytes32 indexed node, address a); | ||
|
||
function setAddr(bytes32 node, address _addr) public onlyOwner { | ||
addresses[node] = _addr; | ||
emit AddrChanged(node, _addr); | ||
} | ||
function setAddr(bytes32 node, address _addr) public { | ||
addresses[node] = _addr; | ||
emit AddrChanged(node, _addr); | ||
} | ||
|
||
function addr(bytes32 node) public view returns (address) { | ||
return addresses[node]; | ||
} | ||
function addr(bytes32 node) public view returns (address) { | ||
return addresses[node]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.