privacy-scaling-explorations / maci-rpgf

EasyRetroPGF with MACI
https://maci-rpgf.vercel.app
MIT License
5 stars 4 forks source link

feat: call coordinator service api #167

Closed kittybest closed 1 week ago

kittybest commented 2 weeks ago

Description try to call coordinator service api to make sure everything works well.

Blocker PR #170 https://github.com/privacy-scaling-explorations/maci/pull/1584

Problem Deployed coordinator service in the local side, but always got 400 Bad Request. For the nest side, the error message is

[Nest] 71842  - 2024/06/19 上午2:33:03   ERROR [AppController] Error:
[Nest] 71842  - 2024/06/19 上午2:33:03   ERROR [AppController] Error: contract runner does not support calling (operation="call", code=UNSUPPORTED_OPERATION, version=6.13.0)

Related Issues

139

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
maci-rpgf ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2024 8:37am
kittybest commented 2 weeks ago
image

⬆️ this is the current problem, already made a PR for it: https://github.com/privacy-scaling-explorations/maci/pull/1591

kittybest commented 1 week ago

UPDATE solved

Remained Problem

const { id, isMerged } = await getPoll({
      maciAddress: maciData.address,
      signer: this.deployer,
      provider: this.deployer.provider,
    });

the isMerged returns only the pollContract.mergedStateRoot(), should also check if the messages are also merged.