Skip to content

Commit

Permalink
better tests and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mlibre committed May 24, 2024
1 parent 034b744 commit 3e12e81
Show file tree
Hide file tree
Showing 7 changed files with 230 additions and 224 deletions.
2 changes: 1 addition & 1 deletion assets/db
Submodule db updated from 5ede9f to fcfc33
4 changes: 2 additions & 2 deletions assets/keys/miner.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"publicKey": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA8DjM6L4BQsqgeV9Nrt3Y2Ag0ApRTHLaE5SwY/OQNnYM=\n-----END PUBLIC KEY-----\n",
"privateKey": "-----BEGIN PRIVATE KEY-----\nMC4CAQAwBQYDK2VwBCIEIOcBePYB3YVvHNaY41qwcVVl3nikCkJLrTeKZmlGEW0D\n-----END PRIVATE KEY-----\n"
"publicKey": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEANSRDCNj6yLHp3FS7zrRxLmuZbxPKq8ODi9wtmDZQg38=\n-----END PUBLIC KEY-----\n",
"privateKey": "-----BEGIN PRIVATE KEY-----\nMC4CAQAwBQYDK2VwBCIEIAkailpOIkIv09qeA3SOZRyXs7a4QTxK2cV8dYz6oTqd\n-----END PRIVATE KEY-----\n"
}
4 changes: 2 additions & 2 deletions assets/keys/user.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"publicKey": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAVq2JzxK9KmiqzC7VgZcxPTpAeJQqYZf/RTHZKyHm7Rs=\n-----END PUBLIC KEY-----\n",
"privateKey": "-----BEGIN PRIVATE KEY-----\nMC4CAQAwBQYDK2VwBCIEIHyKw2/DtNBnqjMGclHDQR5uLiGG2211+c3K784leVSl\n-----END PRIVATE KEY-----\n"
"publicKey": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAtn+5QsDExPs6YttUNNYgfRQy7aoPvNluOWUdm9z9Ivs=\n-----END PUBLIC KEY-----\n",
"privateKey": "-----BEGIN PRIVATE KEY-----\nMC4CAQAwBQYDK2VwBCIEILGts0FsxzD4jVOaI3rhzuYc1g4sZKEZtMx1yn5fIDZO\n-----END PRIVATE KEY-----\n"
}
206 changes: 103 additions & 103 deletions dist/test/blockchain.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/test/blockchain.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ git clone https://github.com/mlibre/GoodChain.git
cd GoodChain

# Install global dependencies
sudo npm install -g nodemon tsx typescript eslint
sudo npm install -g nodemon tsx typescript eslint vitest

# Install project dependencies
npm install
Expand Down
Loading

0 comments on commit 3e12e81

Please sign in to comment.