@@ -40,7 +40,7 @@ async fn main() -> eyre::Result<()> {
4040 let provider = connect_provider ( signer. clone ( ) , config. ru_rpc_url . clone ( ) ) . await ?;
4141 info ! ( signer_address = %signer. address( ) , "Connected to Signer and Provider" ) ;
4242
43- // create an example order swapping 1 rollup USDC for 1 host USDC
43+ // create an example order
4444 let example_order = get_example_order ( & config, signer. address ( ) , args. rollup ) ;
4545
4646 // sign & send the order to the transaction cache
@@ -53,7 +53,7 @@ async fn main() -> eyre::Result<()> {
5353
5454 // fill the order from the transaction cache
5555 fill_orders ( & signed, signer, provider, config) . await ?;
56- info ! ( "Order filled successfully" ) ;
56+ info ! ( "Bundle sent to tx cache successfully; wait for bundle to mine. " ) ;
5757
5858 Ok ( ( ) )
5959}
@@ -101,7 +101,10 @@ async fn send_order(
101101 let send_order = SendOrder :: new ( signer. clone ( ) , config. constants . clone ( ) ) ?;
102102
103103 // sign the order, return it back for comparison
104- let signed = order. sign ( signer) . await ?;
104+ let signed = order
105+ . with_chain ( config. constants . system ( ) )
106+ . sign ( signer)
107+ . await ?;
105108
106109 // send the signed order to the transaction cache
107110 send_order. send_order ( signed. clone ( ) ) . await ?;
0 commit comments