dorafactory / df-docs Goto Github PK
View Code? Open in Web Editor NEWDora Factory Documentation
Home Page: https://docs.dorafactory.org
License: MIT License
Dora Factory Documentation
Home Page: https://docs.dorafactory.org
License: MIT License
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
Please help me!
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 ==============================
set State { idx: 0 } ===================
push Message { idx: 0 } ================
Vote End ===================================================
= Process message [0, 1) ===============
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#
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.