File tree Expand file tree Collapse file tree 5 files changed +8
-30
lines changed
Expand file tree Collapse file tree 5 files changed +8
-30
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ use rdkafka::{
1010use std:: time:: { Duration , SystemTime , UNIX_EPOCH } ;
1111use tips_core:: kafka:: load_kafka_config_from_file;
1212use tokio:: time:: sleep;
13- use tracing:: { error , info } ;
13+ use tracing:: { debug , error } ;
1414
1515pub fn create_kafka_consumer ( kafka_properties_file : & str ) -> Result < StreamConsumer > {
1616 let client_config: ClientConfig =
@@ -79,7 +79,7 @@ impl EventReader for KafkaAuditLogReader {
7979
8080 let event: BundleEvent = serde_json:: from_slice ( payload) ?;
8181
82- info ! (
82+ debug ! (
8383 event_name = %event. event_name( ) ,
8484 bundle_id = ?event. bundle_id( ) ,
8585 tx_hash = ?event. tx_hash( ) ,
Original file line number Diff line number Diff line change @@ -63,53 +63,45 @@ pub enum BundleHistoryEvent {
6363 timestamp : i64 ,
6464 reason : DropReason ,
6565 } ,
66- /// Transaction received by ingress-rpc
6766 TransactionReceived {
6867 key : String ,
6968 timestamp : i64 ,
7069 bundle : Box < AcceptedBundle > ,
7170 } ,
72- /// Transaction sent from ingress-rpc
7371 TransactionSent {
7472 key : String ,
7573 timestamp : i64 ,
7674 tx_hash : TxHash ,
7775 } ,
78- /// Backrun bundle received by ingress-rpc
7976 BackrunReceived {
8077 key : String ,
8178 timestamp : i64 ,
8279 bundle : Box < AcceptedBundle > ,
8380 } ,
84- /// Backrun bundle sent to builder from ingress-rpc
8581 BackrunSent {
8682 key : String ,
8783 timestamp : i64 ,
8884 target_tx_hash : TxHash ,
8985 } ,
90- /// Backrun bundle inserted into builder store in builder
9186 BackrunInserted {
9287 key : String ,
9388 timestamp : i64 ,
9489 target_tx_hash : TxHash ,
9590 backrun_tx_hashes : Vec < TxHash > ,
9691 } ,
97- /// Transaction selected for execution
9892 StartExecuting {
9993 key : String ,
10094 timestamp : i64 ,
10195 tx_hash : TxHash ,
10296 block_number : u64 ,
10397 } ,
104- /// Transaction successfully executed
10598 Executed {
10699 key : String ,
107100 timestamp : i64 ,
108101 tx_hash : TxHash ,
109102 block_number : u64 ,
110103 gas_used : u64 ,
111104 } ,
112- /// Backrun bundle transaction executed
113105 BackrunBundleExecuted {
114106 key : String ,
115107 timestamp : i64 ,
Original file line number Diff line number Diff line change @@ -268,22 +268,13 @@ impl BundleEvent {
268268 BundleEvent :: BackrunInserted { bundle_id, .. } => {
269269 format ! ( "backrun-inserted-{bundle_id}" )
270270 }
271- BundleEvent :: StartExecuting {
272- tx_hash,
273- ..
274- } => {
271+ BundleEvent :: StartExecuting { tx_hash, .. } => {
275272 format ! ( "tx-start-executing-{tx_hash}" )
276- } ,
277- BundleEvent :: Executed {
278- tx_hash,
279- ..
280- } => {
273+ }
274+ BundleEvent :: Executed { tx_hash, .. } => {
281275 format ! ( "tx-executed-{tx_hash}" )
282- } ,
283- BundleEvent :: BackrunBundleExecuted {
284- bundle_id,
285- ..
286- } => {
276+ }
277+ BundleEvent :: BackrunBundleExecuted { bundle_id, .. } => {
287278 format ! ( "backrun-bundle-executed-{bundle_id}" )
288279 }
289280 _ => {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ use std::net::{IpAddr, SocketAddr};
1111use std:: str:: FromStr ;
1212use tips_core:: MeterBundleResponse ;
1313use tokio:: sync:: broadcast;
14- use tracing:: { error, info , warn} ;
14+ use tracing:: { error, warn} ;
1515use url:: Url ;
1616
1717#[ derive( Debug , Clone , Copy ) ]
Original file line number Diff line number Diff line change @@ -99,11 +99,6 @@ get-blocks:
9999sender := " 0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
100100sender_key := " 0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d"
101101
102- backrunner := " 0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"
103- backrunner_key := " 0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a"
104-
105- chain_id := " 13"
106-
107102send-txn :
108103 #!/usr/bin/env bash
109104 set -euxo pipefail
You can’t perform that action at this time.
0 commit comments