mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Remove OutInstruction's data field
It makes sense for networks which support arbitrary data to do as part of their address. This reduces the ability to perform DoSs, achieves better performance, and better uses the type system (as now networks we don't support data on don't have a data field). Updates the Ethereum address definition in serai-client accordingly
This commit is contained in:
@@ -493,7 +493,7 @@ async fn mint_and_burn_test() {
|
||||
move |nonce, coin, amount, address| async move {
|
||||
let out_instruction = OutInstructionWithBalance {
|
||||
balance: Balance { coin, amount: Amount(amount) },
|
||||
instruction: OutInstruction { address, data: None },
|
||||
instruction: OutInstruction { address },
|
||||
};
|
||||
|
||||
serai
|
||||
|
||||
Reference in New Issue
Block a user