Skip to content

Commit

Permalink
fix: workaround assert rolling template (#108)
Browse files Browse the repository at this point in the history
fix: work around assert-rolling-template issue

Signed-off-by: Carsten Munk <[email protected]>
  • Loading branch information
stskeeps authored Oct 22, 2024
1 parent 866b304 commit 20baf3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
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
2 changes: 2 additions & 0 deletions packages/sdk/create_machine_snapshot
Original file line number Diff line number Diff line change
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 20baf3d

Please sign in to comment.