GithubHelp home page GithubHelp logo

godsflaw / crucible Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 1.13 MB

crucible is a smart contract protocol for commitment contracts

License: MIT License

Dockerfile 0.42% JavaScript 95.40% Shell 4.17%

crucible's People

Contributors

godsflaw avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

crucible's Issues

CRUCIBLE-2: fix deploy pipeline to re-commit zos environment files

Description

zos, when it is updating its on-chain versions of the contract, commits all the details of where the new code is to zos.staging.json and zos.production.json. This happens while we are in the deploy step of run_tests and consequently when we are running tests in either staging or production environment from docker. We need any changes here to back propagate into the repository in a fully automated way. This likely means that the triggers will fire again and re-run the tests, but the next time around there will be no updates to the contracts on the chain. Here is what needs to happen.

PR must contain

  • a first commit title that starts with 'CRUCIBLE-N:'
  • vaults for production and staging will need to contain creds for a github user that can commit to only dev and master branches.
  • when a change is made after the zos update call, we need to commit that change.

Example PR

#2

Bounty

None

CRUCIBLE-3: add version bump script

Description

We need an easier way to version bump. Add a script that does that.

PR must contain

  • a first commit title that starts with 'CRUCIBLE-N:'
  • code
  • tests

Example PR

#2

Bounty

None

CRUCIBLE-1: add Foundry.getIndexOf() and Foundry.deleteCrucible()

Description

We need a way to both get the index of a crucible in the crucibles list (Foundry.getIndexOf()), and then delete that crucible based on its index and address (Foundry.deleteCrucible()).

PR must contain

  • a first commit title that starts with 'CRUCIBLE-1:'
  • code
  • tests

Example PR

#1

Bounty

None

CRUCIBLE-9: fix testnet race conditions and version bump to 1.0.14

Description

Fix the race condition that appears on the kovan testnet or with infrua that fires off the event that a contract has been created from the foundry, but the contract has no code yet. This could be due to server pooling on infura mixed with kovan slower block times. Either way, it's a good chaos monkey, and should be resolved.

Also, version bump to 1.0.14 for what should be the first fully successful auto deploy.

PR must contain

  • a first commit title that starts with 'CRUCIBLE-N:'
  • code
  • tests

Example PR

#2

Bounty

None

CRUCIBLE-8: add ropsten and kovan tests nets

Description

Anyone that is going to test against our contracts on tests nets needs our contracts to be on all the tests nets. This means we need to add ropsten and kovan testnets to the staging deploy.

PR must contain

  • a first commit title that starts with 'CRUCIBLE-N:'
  • code
  • tests

Example PR

#2

Bounty

None

CRUCIBLE-6: fix the nonce too low error when deploying/testing in staging/prod

Description

Because the code is setup to use a pool of servers, we often get a nonce too low error when running tests or deploying. My original fix was to catch this error, but then I realized it happens from other tools. The better solution is to fix the nonce provider for the engine. Do this and fix the problem.

PR must contain

  • a first commit title that starts with 'CRUCIBLE-N:'
  • code
  • tests

Example PR

#2

Bounty

None

CRUCIBLE-10: rewrite truffle.js to be more clean

Description

The old setup of our wallet/provider/engine in truffle.js was a complete mess. Refactor to make it cleaner.

PR must contain

  • a first commit title that starts with 'CRUCIBLE-N:'
  • code
  • tests

Example PR

#2

Bounty

None

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.