chore: add linea sepolia deployment

This commit is contained in:
rymnc 2024-06-26 14:29:18 +05:30
parent 89ea39b6fc
commit 28a8cc00b5
No known key found for this signature in database
GPG Key ID: AAA088D5C68ECD34
2 changed files with 8 additions and 1 deletions

View File

@ -28,6 +28,7 @@ max_test_rejects = 128_000
mainnet = { key = "${API_KEY_ETHERSCAN}" }
sepolia = { key = "${API_KEY_ETHERSCAN}" }
2442 = { key = "${API_KEY_CARDONA}", url = "https://api-cardona-zkevm.polygonscan.com/api" }
59141 = { key = "${API_KEY_LINEASCAN}", url = "https://api-sepolia.lineascan.build/api" }
[fmt]
bracket_spacing = true
@ -43,6 +44,7 @@ max_test_rejects = 128_000
localhost = "http://localhost:8545"
sepolia = "https://eth-sepolia.g.alchemy.com/v2/${API_KEY_ALCHEMY}"
2442 = "https://rpc.cardona.zkevm-rpc.com"
59141 = "https://rpc.sepolia.linea.build"
[profile.sepolia]
libraries = ["node_modules/@zk-kit/imt.sol/contracts/LazyIMT.sol:LazyIMT:0x22317F732AE9f9015b0866d03319a441FB42cd7f", "node_modules/poseidon-solidity/PoseidonT3.sol:PoseidonT3:0x4CF6285AC1E3ddAD6E1E378146CbCd3A6CA3Ed60"]
@ -50,3 +52,7 @@ libraries = ["node_modules/@zk-kit/imt.sol/contracts/LazyIMT.sol:LazyIMT:0x22317
[profile.cardona]
libraries = ["node_modules/@zk-kit/imt.sol/contracts/LazyIMT.sol:LazyIMT:0x8176F5f2A49cDBcCB46487D9C839c45D0200A270", "node_modules/poseidon-solidity/PoseidonT3.sol:PoseidonT3:0x99419DF6428Bad6Fe117513129FACaD4864afdcF"]
evm_version = "shanghai"
[profile.linea_sepolia]
evm_version = "london"
libraries = ["node_modules/@zk-kit/imt.sol/contracts/LazyIMT.sol:LazyIMT:0xDFD4FC1c81Bd499d814fF876e34637bE58F85b90", "node_modules/poseidon-solidity/PoseidonT3.sol:PoseidonT3:0xe893c04DfB939CFC2FBC024Dae1B17623a487e0A"]

View File

@ -36,6 +36,7 @@
"adorno": "pnpm prettier:write && forge fmt && forge snapshot && pnpm gas-report",
"deploy:sepolia": "./envCheck.sh && FOUNDRY_PROFILE=sepolia forge script --chain sepolia script/Deploy.s.sol:Deploy --rpc-url $RPC_URL --broadcast --verify -vv --account $ACCOUNT --legacy --sender $ETH_FROM",
"deploy:cardona": "./envCheck.sh && FOUNDRY_PROFILE=cardona forge script --chain 2442 script/Deploy.s.sol:Deploy --rpc-url https://rpc.cardona.zkevm-rpc.com --broadcast --verify -vv --account $ACCOUNT --legacy --sender $ETH_FROM",
"deploy:linea_sepolia": "./envCheck.sh && FOUNDRY_PROFILE=linea_sepolia forge script --chain 59141 script/Deploy.s.sol:Deploy --rpc-url https://rpc.sepolia.linea.build --broadcast --verify -vv --account $ACCOUNT --legacy --sender $ETH_FROM",
"deploy:localhost": "./envCheck.sh && forge script script/Deploy.s.sol:Deploy --rpc-url $RPC_URL --broadcast -vv --account $ACCOUNT --sender $ETH_FROM"
}
}