GithubHelp home page GithubHelp logo

isabella232 / verify-ratification Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ensdomains/verify-ratification

0.0 0.0 0.0 35.99 MB

Code to verify the votes ratifying the ENS constitution

JavaScript 100.00%

verify-ratification's Introduction

Verify ENS constitution ratification votes

This repository contains copies of all the votes on the ENS constitution (84,350 in total) and a script to verify and count them.

Installation

npm install

Usage

To do a basic verification, not including contract signatures:

npm run verify

You should get this exact result:

84350 votes (16,102,807 ENS): 1. 93.58% 2. 93.44% 3. 92.45% 4. 93.27% Unknown: 0.22%

Verifying contract signatures (about 0.22% of total votes) requires access to an archive node. Specify its endpoint URL with WEB3_PROVIDER_URL:

WEB3_PROVIDER_URL=http://localhost:8545/ npm run verify

You should get this exact result:

84350 votes (16,102,807 ENS): 1. 93.79% 2. 93.66% 3. 92.66% 4. 93.49% Unknown: 0.00%

Note that one contract signature fails validation, for currently unknown reasons:

Error verifying QmR7D9L39PKq8eyTzWupiJqCKQPGCWe1GcFMdLSAKewNNe: Error: Verifying at block 13602579: Error: call revert exception (method="isValidSignature(bytes32,bytes)", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.5.0)

verify-ratification's People

Contributors

arachnid avatar

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.