dcSpark / cardano-multiplatform-lib

Rust implementation of Cardano
MIT License
99 stars 36 forks source link

`TransactionBuilder.set_certs()` does not work for native scripts #46

Open siegfried opened 2 years ago

siegfried commented 2 years ago

When I call set_certs() with certificates generated from hashes of native scripts, it gives an error Uncaught RuntimeError: unreachable executed. I believe it is because this function only accepts Ed25519KeyHash.

SebastienGllmt commented 2 years ago

This is partially handled in https://github.com/dcSpark/cardano-multiplatform-lib/pull/45 but the refactoring required to support this isn't quite done yet

siegfried commented 2 years ago

That would be great. Is there anything I can help to push this faster?

siegfried commented 2 years ago

By a glance at the code I guess the refactoring required is to integrate the builders into TransactionBuilder? Is there any PR working on that? Do you need any help?

SebastienGllmt commented 2 years ago

@siegfried unfortunately I have a lot of tooling work to do across projects, so it's hard to dedicate time to do rearchitectures of components unless we manage to grow the dcSpark tooling team. Maybe you know somebody interested in helping us fulltime?

siegfried commented 2 years ago

Maybe you know somebody interested in helping us fulltime?

@SebastienGllmt Maybe I can help, by starting with this issue.