Skip to content

Commit

Permalink
fix(cosmic-swingset): expect chain --halt-height exit status > 1
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Dec 16, 2024
1 parent ab3fcb5 commit c025cb7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/cosmic-swingset/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ BLOCKS_TO_RUN=3
scenario2-run-chain-to-halt: t1/decentral-economy-config.json
CHAIN_BOOTSTRAP_VAT_CONFIG="$$PWD/t1/decentral-economy-config.json" \
$(AGC) --home=t1/n0 start --log_level=warn --halt-height=$$(($(INITIAL_HEIGHT) + $(BLOCKS_TO_RUN))); \
test "$$?" -eq 98
status=$$?; \
echo "chain halt status=$$status"; \
test "$$status" -gt 1
echo ran to $(INITIAL_HEIGHT) + $(BLOCKS_TO_RUN)

# Blow away all client state to try again without resetting the chain.
Expand Down

0 comments on commit c025cb7

Please sign in to comment.