@@ -89,8 +89,21 @@ func TestSendTransactionWithSignalTimout(t *testing.T) {
8989 state .ethClientGetter .EXPECT ().EthClient (uint64 (1 )).AnyTimes ().Return (mockedChainClient , nil )
9090 state .feeManager .EXPECT ().SuggestedFees (gomock .Any (), uint64 (1 ), common .Address (accountAddress )).Times (1 ).Return (
9191 & fees.SuggestedFees {
92- GasPrice : big .NewInt (1 ),
93- EIP1559Enabled : false ,
92+ GasPrice : big .NewInt (1 ),
93+ BaseFee : big .NewInt (1 ),
94+ MaxPriorityFeePerGas : big .NewInt (1 ),
95+ MaxFeesLevels : & fees.MaxFeesLevels {
96+ Low : (* hexutil .Big )(big .NewInt (1 )),
97+ LowPriority : (* hexutil .Big )(big .NewInt (1 )),
98+ LowEstimatedTime : 1 ,
99+ Medium : (* hexutil .Big )(big .NewInt (1 )),
100+ MediumPriority : (* hexutil .Big )(big .NewInt (1 )),
101+ MediumEstimatedTime : 1 ,
102+ High : (* hexutil .Big )(big .NewInt (1 )),
103+ HighPriority : (* hexutil .Big )(big .NewInt (1 )),
104+ HighEstimatedTime : 1 ,
105+ },
106+ EIP1559Enabled : true ,
94107 }, false , false , nil )
95108
96109 _ , err = state .cmd .Execute (state .ctx , request )
@@ -136,8 +149,21 @@ func TestSendTransactionWithSignalAccepted(t *testing.T) {
136149 state .ethClientGetter .EXPECT ().EthClient (uint64 (1 )).AnyTimes ().Return (mockedChainClient , nil )
137150 state .feeManager .EXPECT ().SuggestedFees (gomock .Any (), uint64 (1 ), common .Address (accountAddress )).Times (1 ).Return (
138151 & fees.SuggestedFees {
139- GasPrice : big .NewInt (1 ),
140- EIP1559Enabled : false ,
152+ GasPrice : big .NewInt (1 ),
153+ BaseFee : big .NewInt (1 ),
154+ MaxPriorityFeePerGas : big .NewInt (1 ),
155+ MaxFeesLevels : & fees.MaxFeesLevels {
156+ Low : (* hexutil .Big )(big .NewInt (1 )),
157+ LowPriority : (* hexutil .Big )(big .NewInt (1 )),
158+ LowEstimatedTime : 1 ,
159+ Medium : (* hexutil .Big )(big .NewInt (1 )),
160+ MediumPriority : (* hexutil .Big )(big .NewInt (1 )),
161+ MediumEstimatedTime : 1 ,
162+ High : (* hexutil .Big )(big .NewInt (1 )),
163+ HighPriority : (* hexutil .Big )(big .NewInt (1 )),
164+ HighEstimatedTime : 1 ,
165+ },
166+ EIP1559Enabled : true ,
141167 }, false , false , nil )
142168
143169 response , err := state .cmd .Execute (state .ctx , request )
@@ -180,8 +206,21 @@ func TestSendTransactionWithSignalRejected(t *testing.T) {
180206 state .ethClientGetter .EXPECT ().EthClient (uint64 (1 )).AnyTimes ().Return (mockedChainClient , nil )
181207 state .feeManager .EXPECT ().SuggestedFees (gomock .Any (), uint64 (1 ), common .Address (accountAddress )).Times (1 ).Return (
182208 & fees.SuggestedFees {
183- GasPrice : big .NewInt (1 ),
184- EIP1559Enabled : false ,
209+ GasPrice : big .NewInt (1 ),
210+ BaseFee : big .NewInt (1 ),
211+ MaxPriorityFeePerGas : big .NewInt (1 ),
212+ MaxFeesLevels : & fees.MaxFeesLevels {
213+ Low : (* hexutil .Big )(big .NewInt (1 )),
214+ LowPriority : (* hexutil .Big )(big .NewInt (1 )),
215+ LowEstimatedTime : 1 ,
216+ Medium : (* hexutil .Big )(big .NewInt (1 )),
217+ MediumPriority : (* hexutil .Big )(big .NewInt (1 )),
218+ MediumEstimatedTime : 1 ,
219+ High : (* hexutil .Big )(big .NewInt (1 )),
220+ HighPriority : (* hexutil .Big )(big .NewInt (1 )),
221+ HighEstimatedTime : 1 ,
222+ },
223+ EIP1559Enabled : true ,
185224 }, false , false , nil )
186225
187226 _ , err = state .cmd .Execute (state .ctx , request )
0 commit comments