Skip to content

Account Abstraction multisig deployment estimategas error #630

Discussion options

You must be logged in to vote

It worked after I added "create" argument in the deploy function on my AAFactory deployment script-

const hre = require("hardhat")
const { Deployer } = require("@matterlabs/hardhat-zksync-deploy")
const { Wallet, utils } = require("zksync-ethers")
const fs = require("fs")
const path = require("path")

module.exports = async () => {
    const wallet = new Wallet(process.env.RICH_ACCOUNTS_PRIVATE_KEY)
    //const wallet = new Wallet(process.env.WALLET_PRIVATE_KEY)
    const deployer = new Deployer(hre, wallet)

    const aaFactoryArtifact = await deployer.loadArtifact("AAFactory")
    const aaTwoUserMultisig = await deployer.loadArtifact("TwoUserMultisigAA")
    
    const bytecodeHash = ut…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bxpana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Questions for deployment
1 participant