Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ source ./.envrc.${CFG_PRESET}
git config --local commit.gpgSign true
git config --local tag.gpgSign true

# ensure submodules are checked out:
if [ ! -d "cardano-configurations" ]; then
git submodule update
fi

# docker on mac expects linux/arm64/v8 but currently we don't publish that build
if [[ "$(uname -s)" == "Darwin" ]] && [[ "$(uname -m)" == "arm64" ]]; then
export DOCKER_DEFAULT_PLATFORM=linux/arm64
Expand Down Expand Up @@ -52,5 +57,5 @@ export NODE_KEY="$(cat ./midnight-node.privatekey)"
export CARDANO_NETWORK=preview
export CARDANO_IMAGE="ghcr.io/intersectmbo/cardano-node:10.2.1"
export CARDANO_DATA_DIR=./cardano-data
export CARDANO_CONFIG_DIR=./cardano-config/${CARDANO_NETWORK}
export CARDANO_CONFIG_DIR=./cardano-configurations/${CARDANO_NETWORK}/cardano-node/
export HOME_IPC=${HOME}/ipc
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "cardano-configurations"]
path = cardano-configurations
url = https://github.com/input-output-hk/cardano-configurations.git
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## 🚀 Features

- Optimise postgres config
- Switch networks by altering CFG_PRESET only
- Added `test.sh` to detect problems and provide solutions.
- Added `reset-midnight.sh` script to clear down midnight's blockchain.
Expand Down
16 changes: 0 additions & 16 deletions cardano-config/preview/LICENSE.md

This file was deleted.

196 changes: 0 additions & 196 deletions cardano-config/preview/alonzo-genesis.json

This file was deleted.

117 changes: 0 additions & 117 deletions cardano-config/preview/byron-genesis.json

This file was deleted.

Loading