Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: deployment develop p256 proxy #19

Merged
merged 3 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/8090c592d47f7920e2577cbef109eb65.json"
"buildInfo": "../../build-info/fd068d5ca84930c6ffb69a4def64cf81.json"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/8090c592d47f7920e2577cbef109eb65.json"
"buildInfo": "../../build-info/fd068d5ca84930c6ffb69a4def64cf81.json"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../build-info/8090c592d47f7920e2577cbef109eb65.json"
"buildInfo": "../../../build-info/fd068d5ca84930c6ffb69a4def64cf81.json"
}
1 change: 0 additions & 1 deletion artifacts/build-info/8090c592d47f7920e2577cbef109eb65.json

This file was deleted.

2 changes: 1 addition & 1 deletion artifacts/solady/src/utils/LibClone.sol/LibClone.dbg.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../build-info/8090c592d47f7920e2577cbef109eb65.json"
"buildInfo": "../../../../build-info/fd068d5ca84930c6ffb69a4def64cf81.json"
}
5 changes: 4 additions & 1 deletion deploy/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ const deploy = async (hre) => {
WrapperFCLWebAuthn: wrapperFCLWebAuthn.address,
},
});
await run("verify:verify", { address: factory.address });
await run("verify:verify", {
address: factory.address,
constructorArguments: [P256Signer.address],
});
};

module.exports = deploy;
Expand Down
268 changes: 268 additions & 0 deletions deployments/avalanche/P256Signer.json

Large diffs are not rendered by default.

92 changes: 71 additions & 21 deletions deployments/avalanche/P256SignerFactory.json

Large diffs are not rendered by default.

103 changes: 103 additions & 0 deletions deployments/avalanche/WrapperFCLWebAuthn.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

268 changes: 268 additions & 0 deletions deployments/chiado/P256Signer.json

Large diffs are not rendered by default.

92 changes: 71 additions & 21 deletions deployments/chiado/P256SignerFactory.json

Large diffs are not rendered by default.

103 changes: 103 additions & 0 deletions deployments/chiado/WrapperFCLWebAuthn.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

268 changes: 268 additions & 0 deletions deployments/fuji/P256Signer.json

Large diffs are not rendered by default.

92 changes: 71 additions & 21 deletions deployments/fuji/P256SignerFactory.json

Large diffs are not rendered by default.

103 changes: 103 additions & 0 deletions deployments/fuji/WrapperFCLWebAuthn.json

Large diffs are not rendered by default.

54 changes: 54 additions & 0 deletions deployments/fuji/solcInputs/9a239a13792e7e509c47a689d8b7e7c4.json

Large diffs are not rendered by default.

252 changes: 252 additions & 0 deletions deployments/gnosischain/P256Signer.json

Large diffs are not rendered by default.

92 changes: 63 additions & 29 deletions deployments/gnosischain/P256SignerFactory.json

Large diffs are not rendered by default.

87 changes: 87 additions & 0 deletions deployments/gnosischain/WrapperFCLWebAuthn.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

252 changes: 252 additions & 0 deletions deployments/mumbai/P256Signer.json

Large diffs are not rendered by default.

76 changes: 63 additions & 13 deletions deployments/mumbai/P256SignerFactory.json

Large diffs are not rendered by default.

87 changes: 87 additions & 0 deletions deployments/mumbai/WrapperFCLWebAuthn.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

268 changes: 268 additions & 0 deletions deployments/muster_testnet/P256Signer.json

Large diffs are not rendered by default.

90 changes: 70 additions & 20 deletions deployments/muster_testnet/P256SignerFactory.json

Large diffs are not rendered by default.

103 changes: 103 additions & 0 deletions deployments/muster_testnet/WrapperFCLWebAuthn.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

252 changes: 252 additions & 0 deletions deployments/polygon/P256Signer.json

Large diffs are not rendered by default.

76 changes: 63 additions & 13 deletions deployments/polygon/P256SignerFactory.json

Large diffs are not rendered by default.

87 changes: 87 additions & 0 deletions deployments/polygon/WrapperFCLWebAuthn.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

14 changes: 10 additions & 4 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ require("@nomiclabs/hardhat-ethers");
require("hardhat-gas-reporter");
require("hardhat-deploy");
require("@nomicfoundation/hardhat-foundry");
require("dotenv").config();

if (!process.env.PRIVATE_KEY) throw new Error("no private key found");

/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
Expand Down Expand Up @@ -115,10 +118,6 @@ module.exports = {
url: "https://rpc.public.zkevm-test.net",
accounts: [process.env.PRIVATE_KEY || ethers.ZeroHash],
},
redstone_holesky_production: {
url: "https://rpc.holesky.redstone.xyz",
accounts: [process.env.PRIVATE_KEY || ethers.ZeroHash],
},
},
etherscan: {
// Your API key for Etherscan
Expand All @@ -133,6 +132,13 @@ module.exports = {
browserURL: "https://gnosis-chiado.blockscout.com/",
},
},
{
network: "muster_testnet",
chainId: 2121337,
urls: {
apiURL: "https://muster-anytrust-explorer.alt.technology/api",
},
},
{
network: "polygon_zkevm_testnet",
chainId: 1442,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"@cometh/contracts-factory": "^1.1.1",
"@nomicfoundation/hardhat-verify": "^1.1.1",
"@openzeppelin/contracts": "^4.8.2",
"dotenv": "^16.3.1",
"elliptic": "^6.5.4",
"hardhat": "^2.12.7",
"hex-to-array-buffer": "^2.0.0",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,11 @@ dns-over-http-resolver@^1.2.3:
native-fetch "^3.0.0"
receptacle "^1.3.2"

dotenv@^16.3.1:
version "16.3.1"
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.3.1.tgz#369034de7d7e5b120972693352a3bf112172cc3e"
integrity sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==

ecc-jsbn@~0.1.1:
version "0.1.2"
resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9"
Expand Down
Loading