Skip to content

Issues at Oracle Tutorial (Rust Client) #113

@Keinberger

Description

@Keinberger

Multiple critical issues:

  • Empty array argument in tx_script variable breaks Rust snippet code.
  • Wrong oracle ID - should be mtst1qzhz5a3nr3rlxqzpvqhntqmm3vhrnyxn instead of current. The oracle got updated recently.
  • Error encountered: Even after updating the oracle ID with the newest one (as well as updating the prefix and suffix within the code), the Rust code still breaks with the following error:
    Oracle accountId prefix: V0(AccountIdPrefixV0 { prefix: 12549973273511195392 }) suffix: 4710817117115222784
    
    thread 'main' panicked at src/main.rs:158:10:
    called `Result::unwrap()` on an `Err` value: TransactionExecutorError(TransactionProgramExecutionFailed(DynamicNodeNotFound { label: SourceSpan { source_id: SourceId(4294967295), start: ByteIndex(0), end: ByteIndex(0) }, source_file: None, digest: RpoDigest([12409050614283592376, 5605999066138277118, 10956204421514935716, 13381196547603278734]) }))

Consideration: Furthermore, since the "Foreign Procedure Invocation" tutorial and this tutorial are highly similar (both are in essence doing FPI), we might want to consider consolidating the number of tutorials we have and what educational purpose each of the tutorials serve.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions