Giter Site home page Giter Site logo

bzzaar-contracts's Introduction

Bzzzar Hardhat Migration

This repo has been set up to move the Bzzzar contracts from an Etherlime development environment to Hardhat, as Etherlime is no longer under active development. This was necessitated due to changes to the Eth Broker contract which caused the contract to longer pass its test suite in the Etherlime environment.

This branch of the repo still has failing tests in the Eth Broker test suite. There was a desire for separate PRs for migrating to Hardhat and fixing the Eth Broker tests. As a result, in this branch the tests and deploy script have been migrated to Hardhat, but broken tests have note been fixed.

Setup

Install the relevant packages with:

yarn

Running the Tests

To run all of the tests:

run

yarn test:chain

The command for running only the Eth Broker tests is:

yarn test:chain ./packages/chain/test/broker.test.js

bzzaar-contracts's People

Contributors

gundamdweeb avatar nicca42 avatar ralph-pichler avatar ryry79261 avatar significance avatar wschwab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bzzaar-contracts's Issues

Testnet deployment README typo

Hello, it appears the "Testnet Deployment" section in README.md is missing the deployment settings in the .env.example box.

# Deployment settings
# Main 12000000 | Local 10000000 | Rinkeby 10000000 | Goerli 8000000
GAS_LIMIT=100000
# Mainnet will be over riden. 
GAS_PRICE=2500000000

Curve.sol function _helper

the desc
@return x^32/_MARKET_OPENING_SUPPLY^5

        for (uint256 index = 1; index <= _N; index++) {
            x = (x.mul(x)).div(_MARKET_OPENING_SUPPLY);
        }

with index = 1, x = x^2 / _MARKET_OPENING_SUPPLY
when run to next iteration, x = x^4/(_MARKET_OPENING_SUPPLY^2) / _MARKET_OPENING_SUPPLY

the doc is wrong

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.