RGB-WG / rgb

RGB smart contracts: command-line tool & wallet runtime library for desktop and mobile integration
https://rgb.tech
Apache License 2.0
129 stars 34 forks source link

rgb issue Error #40

Closed machine-creek closed 8 months ago

machine-creek commented 9 months ago

rgb import rgb20-demo.rgb This can be successful.

rgb issue 4h3xkAmiRdQs2HwQmnFVqoj5DG3NhGkJRpNZXjNrJT2N RGB20 examples/rgb20-demo.yaml I still failed to use this command.

rgb issue 4h3xkAmiRdQs2HwQmnFVqoj5DG3NhGkJRpNZXjNrJT2N RGB20 examples/rgb20-demo.yaml Error: schema urn:lnp-bp:sc:4h3xkA-miRdQs2H-wQmnFVqo-j5DG3NhG-kJRpNZXj-NrJT2N#vision-scuba-sample is unknown. It may happen due to RGB standard library bug, or indicate internal stash inconsistency and compromised stash data storage.

I need to issue a new contract and recompile it instead of importing the already compiled contract.

dr-orlovsky commented 9 months ago

Duplicate: you need to import the schema first. Please see https://github.com/RGB-WG/rgb/issues/33

dr-orlovsky commented 9 months ago

Did you try against the latest master tip?

dr-orlovsky commented 8 months ago

Fixed in the latest master tip