Skip to content

Scripts in examples directory are all outdated. #16

Description

@TheWaWaR

I try to compile the examples/rgb20.aluasm script.

Firstly, I encountered a problem that the aluasm dependency (baid58) is outdated. I update it to baid58 v0.4.4 then it can build aluasm cli tool.

Then I use aluasm cli tool to compile examples/rgb20.aluasm script, it reports:

Error E2012: incorrect library id Baid58 string `alu145mc48u7f6n9lzesm5wpvrq5y8rck9qgyyjpd2vshpv3ww7cp89qv27dl3` (invalid Base58 character 'l' at 1 position in Baid58 value)
   --> line 6, column 26
     |
   6 |                 pedersen alu145mc48u7f6n9lzesm5wpvrq5y8rck9qgyyjpd2vshpv3ww7cp89qv27dl3
     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error E2002: unknown operation mnemonic `scn`
   --> line 9, column 17
     |
   9 |                 scn.i   0, a16[2]
     |                 ^^^
Error E2002: unknown operation mnemonic `pld`
   --> line 10, column 17
     |
  10 | loop:           pld.i   0, a16[2], r512[3], r512[4]
     |                 ^^^
Error E2002: unknown operation mnemonic `scn`
   --> line 19, column 17
     |
  19 |                 scn.o   0, a16[1]
     |                 ^^^
Error E2002: unknown operation mnemonic `pld`
   --> line 20, column 17
     |
  20 | loop:           pld.o   0, a16[1], r512[2], r512[3]
     |                 ^^^

Error: could not compile `rgb20.aluasm` due to 5 previous syntax error(s); 0 warning(s) emitted

So, my question is where can I find a rgb20 script that can compile?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions