Skip to content

Mosaic-1 : meta-blockchains on Ethereum 1.x

Notifications You must be signed in to change notification settings

cgewecke/mosaic-1

 
 

Repository files navigation

E2E test of Web3.js

Uses buidler and yarn's "resolutions" feature to set the specific version of Web3 used in Mosaic's truffle tests.

This toolset was chosen because it's the easiest way to swap an arbitrary version of Web3 into a large project. Truffle is complex and ships as a webpack bundle.

Also makes it a more straightforward to distinguish between problems at Truffle vs problems at Web3.

Mosaic was chosen because their test suite:

  • does not use migrations
  • large-ish: almost 300 unit tests, takes ~10 min
  • experienced a non-deterministic "sudden disconnection" bug that Truffle developers attributed to Web3.

The real Mosaic project can be found here

Install

git clone https://github.com/cgewecke/mosaic-1 mosaic-1
cd mosaic-1
npm run update

About

Mosaic-1 : meta-blockchains on Ethereum 1.x

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.4%
  • TypeScript 3.5%
  • Shell 0.1%