Skip to content

Commit 20baf3d

Browse files
authored
fix: workaround assert rolling template (#108)
fix: work around assert-rolling-template issue Signed-off-by: Carsten Munk <[email protected]>
1 parent 866b304 commit 20baf3d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/pretty-terms-beam.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cartesi/sdk": patch
3+
---
4+
5+
fix: work around assert-rolling-template issue

packages/sdk/create_machine_snapshot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ while true ; do
6363
exit 1 ;;
6464
esac
6565
done
66+
# XXX hotfix to fix issue with assert-rolling-template
67+
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
6668

6769
# Construct the command line for cartesi-machine
6870
cmd=("cartesi-machine")

0 commit comments

Comments
 (0)