ConsenSysMesh / web3studio-sojourn

A React Native DevKit with code for a Web3 Decentralized Data Storage Pattern.
https://consensys.github.io/web3studio-sojourn/
Apache License 2.0
31 stars 5 forks source link

Setup hash persisting contract and write some tests for it #31

Closed barlock closed 5 years ago

barlock commented 5 years ago

Related Issue
Supports #9

Related PRs
This PR is not dependent on any other PR

What does this PR do?
Creates a smart contract, tests it, and adds a migration for it. Bonus Coverage! YEY!

NB I'll be resolving this issue when I circle around and make sure uPort can interact with it. I'm also not going to setup a deploy for smart contracts b/c it feels like it would be sticky (mnemonics, wallets, on ci, do you check in the compiled thing? How do migrations work? too much) and we're not going to publish this live anyway so there's not a whole lot of point passed the developer laptop.

Description of Changes
solidity-coverage for coverage, mocha tests, and a super simple contract

What gif most accurately describes how I feel towards this PR?
nailed it