Skip to content

Commit

Permalink
[x/programs] safe wrapper around C ffi interface (ava-labs#869)
Browse files Browse the repository at this point in the history
* macro skeleton

* write macro for ffi-safe bindings

* avoid panicking todo!

Signed-off-by: Franfran <51274081+iFrostizz@users.noreply.github.com>

* remove unused arms

---------

Signed-off-by: Franfran <51274081+iFrostizz@users.noreply.github.com>
  • Loading branch information
iFrostizz committed May 1, 2024
1 parent 49034b8 commit 87a6416
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/programs/rust/examples/token/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ mod tests {
require: None,
});

/*plan.add_step(Step {
plan.add_step(Step {
endpoint: Endpoint::Execute,
method: "mint_to".into(),
params: vec![
Expand Down Expand Up @@ -292,7 +292,7 @@ mod tests {
require: Some(Require {
result: ResultAssertion::NumericEq(0),
}),
});*/
});

let plan_responses = simulator.run_plan(&plan).unwrap();

Expand Down

0 comments on commit 87a6416

Please sign in to comment.