Skip to content

Commit

Permalink
Add sepolia arbitrum
Browse files Browse the repository at this point in the history
  • Loading branch information
--global committed Feb 22, 2024
1 parent 2b5bbff commit 4f41f62
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 9 deletions.
26 changes: 22 additions & 4 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ require("dotenv").config();
const {
RINKEBY_URL,
PRIVATE_KEY,
PRIVATE_KEY3,
POLYGON_URL,
ETHEREUM_URL,
MUMBAI_URL,
POLYGONSCAN_API_KEY,
GOERLI_URL,
SEPOLIA_URL,
ETHERSCAN_API_KEY,
ARBITRUM_API_KEY
} = process.env;

export const config = {
Expand All @@ -32,7 +35,7 @@ export const config = {
matic: {
url: POLYGON_URL || "",
accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [],
gasPrice: 141900000000,
gasPrice: 262000000000,
},
mumbai: {
url: MUMBAI_URL || "https://rpc-mumbai.maticvigil.com",
Expand All @@ -41,14 +44,19 @@ export const config = {
},
goerli: {
url: GOERLI_URL || "",
accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [],
gasPrice: 16000000000,
accounts: PRIVATE_KEY3 ? [`0x${PRIVATE_KEY3}`] : [],
gasPrice: 22000000000,
},
ethereum: {
url: ETHEREUM_URL || "",
accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [],
gasPrice: 22000000000,
},
sepolia: {
url: SEPOLIA_URL || "",
accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [],
gasPrice: 22000000000,
},
},
solidity: {
compilers: [
Expand All @@ -66,7 +74,17 @@ export const config = {
etherscan: {
// Your API key for Etherscan
// Obtain one at https://etherscan.io/
apiKey: ETHERSCAN_API_KEY,
apiKey: ARBITRUM_API_KEY,
customChains: [
{
network: "arbitrum sepolia",
chainId: 421614,
urls: {
apiURL: "https://api-sepolia.arbiscan.io/api",
browserURL: "https://sepolia.arbiscan.io/"
}
}
]
},
gasReporter: {
currency: "USD",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = [
{
implementation: "0x576FBc9ab2693d6e748e85B301eD0FC6b14fC708",
receiptFactory: "0x431C85E807a1bc810538121db2E9934822e13643",
implementation: "0xeEbC089D9CbeC08BB10CdE85D2A17502EeA04544",
receiptFactory: "0xbECC502aF9E8476cb9A0616F7C1549D31670a806",
},
];
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = [
{
implementation: "0x52324308A8dC7240Bcce870A10733A1DA4633CFC",
receiptFactory: "0x5C5663c76147CFa47d5bb19570B8F1e1AB292492",
implementation: "0x1331b50cBDE17d2ff04ca87797178721430A698e",
receiptFactory: "0xdEE8d59c6C2925b83C678A7f8c26D9C228a52621",
},
];
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = [
{
implementation: "0x576FBc9ab2693d6e748e85B301eD0FC6b14fC708",
receiptFactory: "0x431C85E807a1bc810538121db2E9934822e13643",
},
];
2 changes: 1 addition & 1 deletion test/offchainAsset/OffChainAssetReceiptVault.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ describe("OffChainAssetReceiptVault", async function () {
.grantRole(await vault.connect(alice).DEPOSITOR(), alice.address);

const assetToDeposit = aliceAssets.div(2);
const assetToReDeposit = ethers.BigNumber.from(10);
const assetToReDeposit = ethers.BigNumber.from(0);
await vault
.connect(alice)
["deposit(uint256,address,uint256,bytes)"](
Expand Down

0 comments on commit 4f41f62

Please sign in to comment.