Skip to content

Commit

Permalink
deploy V1 registry to Base-Sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanRHall committed Jan 10, 2025
1 parent 211dcfb commit 3a6f17f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions script/deploy/DeployLPNRegistryV1.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ contract DeployLPNRegistryV1 is BaseDeployer {

function run() external returns (Deployment memory) {
if (getDeployedRegistry() == address(0)) {
if (ERC1967FactoryConstants.ADDRESS.code.length == 0) {
revert("ERC1967Factory not deployed");
}

deployment.registryImpl = deployImplementation();

address owner = isMainnet() ? address(SAFE) : deployer;
Expand Down
4 changes: 2 additions & 2 deletions script/output/test/Groth16VerifierExtension.sol.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ contract Groth16VerifierExtension is Verifier {
// TODO: These constants are possible to be changed depending on user queries exploration.
// Once we know which queries users are mostly doing, we'll be able to modify these constants.
// Maximum number of the results
uint32 constant MAX_NUM_OUTPUTS = 3;
uint32 constant MAX_NUM_OUTPUTS = 5;
// Maximum number of the items per result
uint32 constant MAX_NUM_ITEMS_PER_OUTPUT = 5;
// Maximum number of the placeholders
uint32 constant MAX_NUM_PLACEHOLDERS = 10;
uint32 constant MAX_NUM_PLACEHOLDERS = 5;

// The start uint256 offset of the public inputs in calldata.
// groth16_proof_number (8) + groth16_input_number (3)
Expand Down
6 changes: 3 additions & 3 deletions script/output/test/base_sepolia/v1-deployment.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"addresses": {
"queryClientImpl": "0x0000000000000000000000000000000000000000",
"queryClientProxy": "0x0000000000000000000000000000000000000000",
"registryImpl": "0x0000000000000000000000000000000000000000",
"registryProxy": "0x0000000000000000000000000000000000000000"
"registryImpl": "0xED4b45b1171C36dA9D3552B5Dba8602d2870b9b5",
"registryProxy": "0xC9135b51c4DD04B6E082e2cB56a5C26b3a53Ee47"
},
"chainInfo": {
"chainId": 84532,
"deploymentBlock": 0
"deploymentBlock": 20301643
},
"storageContracts": {
"erc20AvgBalance": "0x0000000000000000000000000000000000000000",
Expand Down

0 comments on commit 3a6f17f

Please sign in to comment.