Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripts in examples directory are all outdated. #16

Open
TheWaWaR opened this issue Nov 16, 2023 · 0 comments
Open

Scripts in examples directory are all outdated. #16

TheWaWaR opened this issue Nov 16, 2023 · 0 comments

Comments

@TheWaWaR
Copy link

TheWaWaR commented Nov 16, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant