Skip to content

deprecated program #72

@ttytm

Description

@ttytm
╰─❯ cargo test-bpf
Warning: cargo-test-bpf is deprecated. Please, use cargo-test-sbf
cargo-test-bpf child: ~/.local/share/solana/install/acti
 --arch bpf
    Finished release [optimized] target(s) in 0.12s
   Compiling solana-program-test v1.6.6
error: expected None-delimited group
   --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823
c/lib.rs:689:13
    |
689 |             solana_bpf_loader_deprecated_program!(),
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: this error originates in the macro `solana_bpf_loader_de
 builds, run with -Z macro-backtrace for more info)

error: expected None-delimited group
   --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823
c/lib.rs:690:13
    |
690 |             solana_bpf_loader_program!(),
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: this error originates in the macro `solana_bpf_loader_pr
n with -Z macro-backtrace for more info)

error: could not compile `solana-program-test` due to 2 previous err

Using test-sbf would require updating the program, which would be optimal. Alternatively, referencing the necessary versions to test the program at its current state would be fine as well. Is there any chance to have one of these solutions implemented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions