cartesi / machine-emulator

The off-chain implementation of the Cartesi Machine
GNU Lesser General Public License v3.0
58 stars 32 forks source link

Empty `append-bootargs` is gives an error. #162

Closed mpolitzer closed 8 months ago

mpolitzer commented 8 months ago

Context

What is the bug that you are experiencing?

An empty boot-args like this: --append-bootargs="" gives the following error.

lua5.4: .../dev/cartesi/sdk-bugfix/emulator/src/cartesi-machine.lua:1203: unrecognized option --append-bootargs=
stack traceback:
        [C]: in function 'error'
        .../dev/cartesi/sdk-bugfix/emulator/src/cartesi-machine.lua:1203: in field 'integer index'
        .../dev/cartesi/sdk-bugfix/emulator/src/cartesi-machine.lua:1212: in main chunk
        [C]: in ?

Steps to reproduce

Latest emulator, commit: 9660bd061ad4299fef55d53012588e3999d2e197 (when the issue was created) Run: cartesi-machine --append-bootargs="".