Giter Club home page Giter Club logo

df-docs's People

Contributors

99kies avatar osamamomani avatar realfish avatar tinydjp avatar vegebun-csj avatar

Watchers

 avatar  avatar  avatar

Forkers

osamamomani

df-docs's Issues

Tally Eror!

Dear Dora Vota Team,
When I run tally (~20 DORA in Wallet).

The current MACI round is pending
startProcessing
Tally failed.
Query failed with (6): rpc error: code = Unknown desc = failed to execute message; message index: 0: Error calling the VM: Error executing Wasm: Wasmer runtime error: RuntimeError: Aborted: panicked at 'called Result::unwrap() on an Err value: NotFound { kind: "cosmwasm_std::math::uint256::Uint256" }', src/contract.rs:1019:16: execute wasm contract failed [!cosm!wasm/[email protected]/x/wasm/keeper/keeper.go:395] With gas wanted: '18446744073709551615' and gas used: '100303' : unknown request

Screenshot 2024-01-16 at 00 38 21

Screenshot 2024-01-16 at 00 39 58

Please help me!

I meet error when run tally.

root@john:/mnt/c/dorahacks/john/bounty-3/vota-operator-scripts-vota-v2# npm run tally

[email protected] tally
cp secret.env .env && node ./dist/operator.mjs tally

genInput
operator get proof
The keys folder already exists, need re-download it? (y/n): y
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 212M 100 212M 0 0 1511k 0 0:02:23 0:02:23 --:--:-- 1712k
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.macl'
get contract logs and gen input
max_vote_options: 2
{
id: 'dora1e04k3ye2sksmh4awx3ynj0jaf9ldrhzkezlxp5mhendef3cckv6s3ssjx2',
blockHeight: '1964092',
txHash: 'FCF3D5872C2C6D2754DB05B0D7A5C596A937437FB07E4ECA89A4DA27D12DA952',
operator: 'dora16c20s8el98dujw33m9emn8a5gcu9klv2pghuhk',
contractAddress: 'dora1e04k3ye2sksmh4awx3ynj0jaf9ldrhzkezlxp5mhendef3cckv6s3ssjx2',
circuitName: 'MACI-1P1V_2-1-1-5',
timestamp: '1703531569684',
votingStart: '1703532000000000000',
votingEnd: '1703532600000000000',
status: 'Tallying',
period: 'Processing',
actionType: 'op:deploy',
roundId: '53',
roundTitle: 'Deploy A MACI Round On Dora Vota',
roundDescription: 'Mini Bounty - Deploy A MACI Round On Dora Vota Using A Quick GUI',
roundLink: 'https://dorahacks.io/vi/mini-bounty/9',
maciDenom: 'peaka',
gasStationEnable: false,
totalGrant: '0',
baseGrant: '0',
totalBond: '0',
circuitType: '0',
circuitPower: '2-1-1-5'
}
[
{
idx: 0,
balance: 50n,
pubkey: [
6396363459758610104738266651094412480513308567499683559014125958204900113026n,
16161151272422195756787406318828087346945347815263652135898916545499747745810n
]
}
]
[
{
idx: 0,
msg: [
9168527567038783437347411469619254778063255703629830140794752238790416847404n,
4134055804064284398796206486727576200135701393143727464594112294237379785362n,
3608648424362531807891548344541020979676052805342375518220476840674103676206n,
6420736726397391119684282435752010031742935862051719550277859172094080189811n,
2112377921291954609481302086063082933827595412414414900825827084204363227152n,
12044183275141622147261170187441109539324728844231970888477023926335612774526n,
10173767881141228152511380705229944901618653117579527652782409325900824185n
],
pubkey: [
11258851757686259837061595742728855632725284573352779558123423937173545488123n,
5801402061487395301575523200169447109517527862988279180526418263728825615966n
]
}
]
[
'/root/.nvm/versions/node/v18.19.0/bin/node',
'/mnt/c/dorahacks/john/bounty-3/vota-operator-scripts-vota-v2/js/genInputs.js',
'10356811017528628091907289882420728698010368211944434190511528664109770047502'
]

init MACI ==============================

  • vote option tree root: 14655542659562014735865511769057053982292279840403315552050801315682099828156
  • state tree root: 21526503558325068664033192388586640128492121680588893182274749683522508994597

set State { idx: 0 } ===================

  • leaf hash: 1689105443009208280380130974820632217812486577452092430909661752388338128385
  • new tree root: 7986291136004118585778728661195057944408257343141789033978035835250497725312

push Message { idx: 0 } ================

  • old msg hash: 0
  • new msg hash: 2169648729975558625049975483663697718180360393458012950791718699565911038723

Vote End ===================================================

= Process message [0, 1) ===============

  • message <4> empty command
  • message <3> empty command
  • message <2> empty command
  • message <1> empty command
  • message <0> √
    /mnt/c/dorahacks/john/bounty-3/vota-operator-scripts-vota-v2/js/maci.js:295
    const inputHash = BigInt(utils.soliditySha256(
    ^

TypeError: Cannot read properties of undefined (reading 'soliditySha256')
at MACI.processMessage (/mnt/c/dorahacks/john/bounty-3/vota-operator-scripts-vota-v2/js/maci.js:295:36)
at Object. (/mnt/c/dorahacks/john/bounty-3/vota-operator-scripts-vota-v2/js/genInputs.js:60:21)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
at node:internal/main/run_main_module:28:49

Node.js v18.19.0
11:19:24 start generate witness
everything is ok
脚本成功执行
Some thing is wrong.
root@john:/mnt/c/dorahacks/john/bounty-3/vota-operator-scripts-vota-v2#

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.