Skip to content

Commit

Permalink
use built program
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielkoerich committed Jul 5, 2024
1 parent 845fc52 commit db423f1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ ticks_per_slot = 20
rpc_port = 1899
faucet_port = 2000

# [[test.genesis]]
# address = "FL3X2pRsQ9zHENpZSKDRREtccwJuei8yg9fwDu9UN69Q"
# program = "tests/flexlend.so"
[[test.genesis]]
address = "FL3X2pRsQ9zHENpZSKDRREtccwJuei8yg9fwDu9UN69Q"
# program = "../flexlend/target/deploy/flexlend.so"
program = "tests/flexlend.so"

# Lulo Clones
[[test.validator.clone]]
Expand Down
6 changes: 6 additions & 0 deletions programs/lulo/idl.json
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,12 @@
{
"name": "amount",
"type": "u64"
},
{
"name": "withdrawAll",
"type": {
"option": "bool"
}
}
]
},
Expand Down
1 change: 1 addition & 0 deletions programs/vault/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ pub mod vault {
},
protocol,
amount,
Some(true), // withdraw_all
)
}
}
Expand Down
Binary file modified tests/flexlend.so
Binary file not shown.

0 comments on commit db423f1

Please sign in to comment.