Skip to content

Commit

Permalink
fix: update contract addresses
Browse files Browse the repository at this point in the history
This only updates the in memory node as I don't want to deploy to
sepolia until those tests pass
  • Loading branch information
cpb8010 committed Nov 19, 2024
1 parent a34a764 commit 73febb9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 29 deletions.
4 changes: 2 additions & 2 deletions packages/auth-server/stores/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export const contractsByChain: Record<SupportedChainId, ChainContracts> = {
},
[zksyncInMemoryNode.id]: {
session: "0x8543528a4561E3a5EC7d51Bfd3776457b0E7b7dc",
passkey: "0x07734BA326b6AD13BfC0115b0903EB14268F1617",
accountFactory: "0xaAF5f437fB0524492886fbA64D703df15BF619AE",
passkey: "0x975df0c7f5CB728ae9F96480491Ec5d1E17296f4",
accountFactory: "0xC86Be232B7f65Db88a3B25afE68E8E1c298231A2",
accountPaymaster: "0x2879853afd8d066ca66e224A8E85621aC43d6F59",
},
};
Expand Down
10 changes: 9 additions & 1 deletion packages/contracts/src/AAFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,15 @@ contract AAFactory is UpgradeableBeacon {
beaconProxyBytecodeHash = _beaconProxyBytecodeHash;
}

function addNewUniqueId(bytes32 uniqueAccountId) external {}
function deployProxy7579Account(
bytes32 salt,
string calldata uniqueAccountId,
bytes[] calldata initialValidators,
bytes[] calldata initialModules,
address[] calldata initialK1Owners
) external returns (address) {
return this.deployProxySsoAccount(salt, uniqueAccountId, initialValidators, initialModules, initialK1Owners);
}

function deployProxySsoAccount(
bytes32 salt,
Expand Down
26 changes: 0 additions & 26 deletions packages/contracts/src/interfaces/IERC7579Validator.sol

This file was deleted.

0 comments on commit 73febb9

Please sign in to comment.