Skip to content

genMaciStateTreeWithEndKey with maci contract address as argument #2439

Open
@NicoSerranoP

Description

@NicoSerranoP

At the moment we have:

const maciContract = MACIFactory.connect(maciAddresses.maciContractAddress, signer);

I suggest we rewrite these functions to take the maciContractAddress: string as input so we avoid importing genMaciStateTree and MaciFactory when using these functions

  1. export const genMaciStateTree = async ({
  2. export const genMaciStateTreeWithEndKey = async ({

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions