Skip to content

Commit

Permalink
fix: work around assert-rolling-template issue
Browse files Browse the repository at this point in the history
Signed-off-by: Carsten Munk <[email protected]>
  • Loading branch information
stskeeps committed Oct 22, 2024
1 parent 0cd71d1 commit 9a99ca6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/pretty-terms-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/sdk": patch
---

fix: work around assert-rolling-template issue
4 changes: 3 additions & 1 deletion packages/sdk/create_machine_snapshot
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -e
#set -e

# Define function to display usage
usage() {
Expand Down Expand Up @@ -63,6 +63,8 @@ while true ; do
exit 1 ;;
esac
done
# XXX hotfix to fix issue with assert-rolling-template
sed -i "s/cmd == cartesi.machine.HTIF_YIELD_MANUAL/cmd == cartesi.machine.HTIF_YIELD_CMD_MANUAL/g" /usr/share/lua/5.4/cartesi-machine.lua

# Construct the command line for cartesi-machine
cmd=("cartesi-machine")
Expand Down

0 comments on commit 9a99ca6

Please sign in to comment.