mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 21:19:24 +00:00
Move the Ethereum Action machine to its own file
This commit is contained in:
@@ -20,6 +20,14 @@ impl signers::TransactionPublisher<Transaction> for TransactionPublisher {
|
||||
&self,
|
||||
tx: Transaction,
|
||||
) -> impl Send + Future<Output = Result<(), Self::EphemeralError>> {
|
||||
// Convert from an Action (an internal representation of a signable event) to a TxLegacy
|
||||
/* TODO
|
||||
match tx.0 {
|
||||
Action::SetKey { chain_id: _, nonce: _, key } => self.router.update_serai_key(key, tx.1),
|
||||
Action::Batch { chain_id: _, nonce: _, outs } => self.router.execute(outs, tx.1),
|
||||
}
|
||||
*/
|
||||
|
||||
async move {
|
||||
/*
|
||||
use tokio::{
|
||||
|
||||
Reference in New Issue
Block a user