mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Remove ApplicationCall
We can simply inline `Dex` into the InInstruction enum.
This commit is contained in:
@@ -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) },
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user