#reference-types not enabled: zero byte expected

1 messages · Page 1 of 1 (latest)

livid narwhal
#

hey there , i am deploying one contract on testnet and i am facing this issue

❌ error: transaction simulation failed: HostError: Error(WasmVm, InvalidAction)

Event log (newest first):
0: [Diagnostic Event] topics:[error, Error(WasmVm, InvalidAction)], data:"Module(Translation(TranslationError { inner: Validate(BinaryReaderError { inner: BinaryReaderErrorInner { message: "reference-types not enabled: zero byte expected", offset: 9919, needed_hint: None } }) }))"

please help me fix this

stark quiver
#

for now you need to build with at most rust 1.81. this is going to be fixed soon, but that's the workaround for the time being.