Remove ApplicationCall

We can simply inline `Dex` into the InInstruction enum.
This commit is contained in:
Luke Parker
2023-07-26 12:45:51 -04:00
parent 7823ece4fe
commit f8afb040dc
3 changed files with 11 additions and 39 deletions

View File

@@ -38,10 +38,7 @@ async fn test_substrate_signer() {
balance: Balance { coin: Coin::Bitcoin, amount: Amount(1000) },
},
InInstructionWithBalance {
instruction: InInstruction::Call(ApplicationCall {
application: Application::DEX,
data: Data::new(vec![0xcc; 128]).unwrap(),
}),
instruction: InInstruction::Dex(Data::new(vec![0xcc; 128]).unwrap()),
balance: Balance { coin: Coin::Monero, amount: Amount(9999999999999999) },
},
],