diff --git a/.changeset/pretty-terms-beam.md b/.changeset/pretty-terms-beam.md new file mode 100644 index 00000000..b003714f --- /dev/null +++ b/.changeset/pretty-terms-beam.md @@ -0,0 +1,5 @@ +--- +"@cartesi/sdk": patch +--- + +fix: work around assert-rolling-template issue diff --git a/packages/sdk/create_machine_snapshot b/packages/sdk/create_machine_snapshot index 11e3a7d4..eca7b5a4 100755 --- a/packages/sdk/create_machine_snapshot +++ b/packages/sdk/create_machine_snapshot @@ -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")