@@ -35,8 +35,6 @@ type ProofSubmitter struct {
35
35
txSender * transaction.Sender
36
36
proverAddress common.Address
37
37
taikoL2Address common.Address
38
- l1SignalService common.Address
39
- l2SignalService common.Address
40
38
graffiti [32 ]byte
41
39
}
42
40
@@ -60,20 +58,6 @@ func New(
60
58
return nil , err
61
59
}
62
60
63
- l1SignalService , err := rpcClient .TaikoL1 .Resolve0 (nil , rpc .StringToBytes32 ("signal_service" ), false )
64
- if err != nil {
65
- return nil , err
66
- }
67
-
68
- l2SignalService , err := rpcClient .TaikoL2 .Resolve0 (
69
- nil ,
70
- rpc .StringToBytes32 ("signal_service" ),
71
- false ,
72
- )
73
- if err != nil {
74
- return nil , err
75
- }
76
-
77
61
var (
78
62
maxRetry = & submissionMaxRetry
79
63
txGasLimit * big.Int
@@ -97,12 +81,10 @@ func New(
97
81
proveBlockMaxTxGasTipCap ,
98
82
new (big.Int ).SetUint64 (txReplacementTipMultiplier ),
99
83
),
100
- txSender : transaction .NewSender (rpcClient , retryInterval , maxRetry , waitReceiptTimeout ),
101
- proverAddress : crypto .PubkeyToAddress (proverPrivKey .PublicKey ),
102
- l1SignalService : l1SignalService ,
103
- l2SignalService : l2SignalService ,
104
- taikoL2Address : taikoL2Address ,
105
- graffiti : rpc .StringToBytes32 (graffiti ),
84
+ txSender : transaction .NewSender (rpcClient , retryInterval , maxRetry , waitReceiptTimeout ),
85
+ proverAddress : crypto .PubkeyToAddress (proverPrivKey .PublicKey ),
86
+ taikoL2Address : taikoL2Address ,
87
+ graffiti : rpc .StringToBytes32 (graffiti ),
106
88
}, nil
107
89
}
108
90
@@ -143,8 +125,6 @@ func (s *ProofSubmitter) RequestProof(ctx context.Context, event *bindings.Taiko
143
125
BlockID : block .Number (),
144
126
ProverAddress : s .proverAddress ,
145
127
ProposeBlockTxHash : event .Raw .TxHash ,
146
- L1SignalService : s .l1SignalService ,
147
- L2SignalService : s .l2SignalService ,
148
128
TaikoL2 : s .taikoL2Address ,
149
129
MetaHash : blockInfo .Blk .MetaHash ,
150
130
BlockHash : block .Hash (),
0 commit comments