File tree Expand file tree Collapse file tree
crates/chain-orchestrator/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,14 +63,24 @@ impl SystemContractConsensus {
6363 /// Creates a new [`SystemContractConsensus`] consensus instance with the given authorized
6464 /// signers.
6565 pub fn new ( authorized_signer : Address ) -> Self {
66+ tracing:: info!(
67+ target: "scroll::consensus" ,
68+ "Initialized system contract consensus with authorized signer: {authorized_signer}"
69+ ) ;
6670 Self { authorized_signer, metrics : SystemContractConsensusMetrics :: default ( ) }
6771 }
6872}
6973
7074impl Consensus for SystemContractConsensus {
7175 fn update_config ( & mut self , update : & ConsensusUpdate ) {
7276 match update {
73- ConsensusUpdate :: AuthorizedSigner ( signer) => self . authorized_signer = * signer,
77+ ConsensusUpdate :: AuthorizedSigner ( signer) => {
78+ tracing:: info!(
79+ target: "scroll::consensus" ,
80+ "Authorized signer updated to: {signer}"
81+ ) ;
82+ self . authorized_signer = * signer
83+ }
7484 } ;
7585 }
7686
You can’t perform that action at this time.
0 commit comments