@@ -93,7 +93,7 @@ func (manager *Manager) processBlockTransactions(block *execution.Block) {
9393 for idx , tx := range blockData .Transactions () {
9494 txFrom , err := ethtypes .Sender (signer , tx )
9595 if err != nil {
96- manager .logger .Warnf ("error decoding ts sender (block %v, tx %v): %v" , block .Number , idx , err )
96+ manager .logger .Warnf ("error decoding tx sender (block %v, tx %v): %v" , block .Number , idx , err )
9797 continue
9898 }
9999
@@ -109,6 +109,22 @@ func (manager *Manager) processBlockTransactions(block *execution.Block) {
109109 toWallet .processTransactionReceival (block , tx )
110110 }
111111 }
112+
113+ if tx .Type () == ethtypes .SetCodeTxType {
114+ // in eip7702 transactions, the nonces of all authorities are increased by >= 1, so we need to resync all affected wallets
115+ for _ , authorization := range tx .AuthList () {
116+ authority , err := authorization .Authority ()
117+ if err != nil {
118+ manager .logger .Warnf ("error decoding authority address (block %v, tx %v): %v" , block .Number , idx , err )
119+ continue
120+ }
121+
122+ authorityWallet := wallets [authority ]
123+ if authorityWallet != nil {
124+ authorityWallet .ResyncState ()
125+ }
126+ }
127+ }
112128 }
113129
114130 for _ , wallet := range wallets {
0 commit comments