@@ -222,7 +222,6 @@ func TestExportTxConstruction(t *testing.T) {
222222 require .NoError (t , err )
223223
224224 t .Run ("preprocess endpoint" , func (t * testing.T ) {
225- shouldMockGetFeeState (clientMock )
226225 resp , err := backend .ConstructionPreprocess (
227226 ctx ,
228227 & types.ConstructionPreprocessRequest {
@@ -236,6 +235,7 @@ func TestExportTxConstruction(t *testing.T) {
236235 })
237236
238237 t .Run ("metadata endpoint" , func (t * testing.T ) {
238+ shouldMockGetFeeState (clientMock )
239239 clientMock .EXPECT ().GetBlockchainID (ctx , constants .PChain .String ()).Return (pChainID , nil )
240240 clientMock .EXPECT ().GetBlockchainID (ctx , constants .CChain .String ()).Return (cChainID , nil )
241241
@@ -436,7 +436,6 @@ func TestImportTxConstruction(t *testing.T) {
436436 require .NoError (t , err )
437437
438438 t .Run ("preprocess endpoint" , func (t * testing.T ) {
439- shouldMockGetFeeState (clientMock )
440439 resp , err := backend .ConstructionPreprocess (
441440 ctx ,
442441 & types.ConstructionPreprocessRequest {
@@ -450,6 +449,7 @@ func TestImportTxConstruction(t *testing.T) {
450449 })
451450
452451 t .Run ("metadata endpoint" , func (t * testing.T ) {
452+ shouldMockGetFeeState (clientMock )
453453 clientMock .EXPECT ().GetBlockchainID (ctx , constants .PChain .String ()).Return (pChainID , nil )
454454 clientMock .EXPECT ().GetBlockchainID (ctx , constants .CChain .String ()).Return (cChainID , nil )
455455
@@ -687,7 +687,6 @@ func TestAddValidatorTxConstruction(t *testing.T) {
687687 require .NoError (t , err )
688688
689689 t .Run ("preprocess endpoint" , func (t * testing.T ) {
690- shouldMockGetFeeState (clientMock )
691690 resp , err := backend .ConstructionPreprocess (
692691 ctx ,
693692 & types.ConstructionPreprocessRequest {
@@ -927,7 +926,6 @@ func TestAddDelegatorTxConstruction(t *testing.T) {
927926 require .NoError (t , err )
928927
929928 t .Run ("preprocess endpoint" , func (t * testing.T ) {
930- shouldMockGetFeeState (clientMock )
931929 resp , err := backend .ConstructionPreprocess (
932930 ctx ,
933931 & types.ConstructionPreprocessRequest {
0 commit comments