Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

[CAD-1371] Integrate SMASH against HFC. #23

Merged
merged 2 commits into from
Jul 28, 2020
Merged

[CAD-1371] Integrate SMASH against HFC. #23

merged 2 commits into from
Jul 28, 2020

Conversation

ksaric
Copy link
Contributor

@ksaric ksaric commented Jul 28, 2020

https://jira.iohk.io/browse/CAD-1371

Currently working with MC4, ignoring Byron blocks. Run with:

nix-build -A scripts.mainnet_candidate_4.node -o mc4-node
./mc4-node

The SMASH server can be run using:

SMASHPGPASSFILE=config/pgpass ./scripts/postgresql-setup.sh --recreatedb
SMASHPGPASSFILE=config/pgpass stack run smash-exe -- run-migrations --mdir ./schema
SMASHPGPASSFILE=config/pgpass stack run smash-exe -- create-migration --mdir ./schema
SMASHPGPASSFILE=config/pgpass stack run smash-exe -- run-migrations --mdir ./schema

SMASHPGPASSFILE=config/pgpass stack run smash-exe -- run-app-with-db-sync --config config/mainnet-config.yaml --socket-path ../cardano-node/state-node-mainnet_candidate_4/node.socket --schema-dir schema/

Synced up to the tip, blacklisting working.

dcoutts and others added 2 commits July 28, 2020 02:21
@ksaric ksaric requested a review from dcoutts July 28, 2020 14:13
@ksaric ksaric merged commit acadf21 into master Jul 28, 2020
@ksaric ksaric deleted the dcoutts/hacking branch July 28, 2020 14:42
@ksaric
Copy link
Contributor Author

ksaric commented Jul 28, 2020

Fixing the issue with Cabal in the release PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants