@@ -191,10 +191,10 @@ func TestSubmitter_setSequencerHeightToDAHeight(t *testing.T) {
191191 mockStore .On ("SetMetadata" , mock .Anything , dataKey , dBz ).Return (nil ).Once ()
192192 mockStore .On ("SetMetadata" , mock .Anything , store .GenesisDAHeightKey , gBz ).Return (nil ).Once ()
193193
194- require .NoError (t , s .setSequencerHeightToDAHeight (ctx , 1 , h , d , true ))
194+ require .NoError (t , s .setNodeHeightToDAHeight (ctx , 1 , h , d , true ))
195195}
196196
197- func TestSubmitter_setSequencerHeightToDAHeight_Errors (t * testing.T ) {
197+ func TestSubmitter_setNodeHeightToDAHeight_Errors (t * testing.T ) {
198198 ctx := t .Context ()
199199 cm , st := newTestCacheAndStore (t )
200200
@@ -205,11 +205,11 @@ func TestSubmitter_setSequencerHeightToDAHeight_Errors(t *testing.T) {
205205 // No cache entries -> expect error on missing header
206206 _ , ok := cm .GetHeaderDAIncluded (h .Hash ().String ())
207207 assert .False (t , ok )
208- assert .Error (t , s .setSequencerHeightToDAHeight (ctx , 1 , h , d , false ))
208+ assert .Error (t , s .setNodeHeightToDAHeight (ctx , 1 , h , d , false ))
209209
210210 // Add header, missing data
211211 cm .SetHeaderDAIncluded (h .Hash ().String (), 10 , 1 )
212- assert .Error (t , s .setSequencerHeightToDAHeight (ctx , 1 , h , d , false ))
212+ assert .Error (t , s .setNodeHeightToDAHeight (ctx , 1 , h , d , false ))
213213}
214214
215215func TestSubmitter_initializeDAIncludedHeight (t * testing.T ) {
0 commit comments