@@ -17,21 +17,21 @@ func TestTxRebroadcasting(t *testing.T) {
1717 name : "ordering of pending txs %s" ,
1818 actions : []func (s TestSuite ){
1919 func (s TestSuite ) {
20- tx1 , err := s .SendTx (t , s .Node (0 ), "acc0" , 0 , s .BaseFee (), nil )
20+ tx1 , err := s .SendTx (t , s .Node (0 ), "acc0" , 0 , s .GetTxGasPrice ( s . BaseFee () ), nil )
2121 require .NoError (t , err , "failed to send tx" )
2222
23- tx2 , err := s .SendTx (t , s .Node (1 ), "acc0" , 1 , s .BaseFee (), nil )
23+ tx2 , err := s .SendTx (t , s .Node (1 ), "acc0" , 1 , s .GetTxGasPrice ( s . BaseFee () ), nil )
2424 require .NoError (t , err , "failed to send tx" )
2525
26- tx3 , err := s .SendTx (t , s .Node (2 ), "acc0" , 2 , s .BaseFee (), nil )
26+ tx3 , err := s .SendTx (t , s .Node (2 ), "acc0" , 2 , s .GetTxGasPrice ( s . BaseFee () ), nil )
2727 require .NoError (t , err , "failed to send tx" )
2828
2929 // Skip tx4 with nonce 3
3030
31- tx5 , err := s .SendTx (t , s .Node (3 ), "acc0" , 4 , s .BaseFee (), nil )
31+ tx5 , err := s .SendTx (t , s .Node (3 ), "acc0" , 4 , s .GetTxGasPrice ( s . BaseFee () ), nil )
3232 require .NoError (t , err , "failed to send tx" )
3333
34- tx6 , err := s .SendTx (t , s .Node (0 ), "acc0" , 5 , s .BaseFee (), nil )
34+ tx6 , err := s .SendTx (t , s .Node (0 ), "acc0" , 5 , s .GetTxGasPrice ( s . BaseFee () ), nil )
3535 require .NoError (t , err , "failed to send tx" )
3636
3737 // At AfterEachAction hook, we will check expected queued txs are not broadcasted.
@@ -49,7 +49,7 @@ func TestTxRebroadcasting(t *testing.T) {
4949 // so, we should set nonce idx to 0.
5050 nonce3Idx := uint64 (0 )
5151
52- tx4 , err := s .SendTx (t , s .Node (2 ), "acc0" , nonce3Idx , s .BaseFee (), nil )
52+ tx4 , err := s .SendTx (t , s .Node (2 ), "acc0" , nonce3Idx , s .GetTxGasPrice ( s . BaseFee () ), nil )
5353 require .NoError (t , err , "failed to send tx" )
5454
5555 // At AfterEachAction hook, we will check expected pending txs are broadcasted.
@@ -96,13 +96,13 @@ func TestMinimumGasPricesZero(t *testing.T) {
9696 name : "sequencial pending txs %s" ,
9797 actions : []func (s TestSuite ){
9898 func (s TestSuite ) {
99- tx1 , err := s .SendTx (t , s .Node (0 ), "acc0" , 0 , s .BaseFee (), nil )
99+ tx1 , err := s .SendTx (t , s .Node (0 ), "acc0" , 0 , s .GetTxGasPrice ( s . BaseFee () ), nil )
100100 require .NoError (t , err , "failed to send tx" )
101101
102- tx2 , err := s .SendTx (t , s .Node (1 ), "acc0" , 1 , s .BaseFee (), nil )
102+ tx2 , err := s .SendTx (t , s .Node (1 ), "acc0" , 1 , s .GetTxGasPrice ( s . BaseFee () ), nil )
103103 require .NoError (t , err , "failed to send tx" )
104104
105- tx3 , err := s .SendTx (t , s .Node (2 ), "acc0" , 2 , s .BaseFee (), nil )
105+ tx3 , err := s .SendTx (t , s .Node (2 ), "acc0" , 2 , s .GetTxGasPrice ( s . BaseFee () ), nil )
106106 require .NoError (t , err , "failed to send tx" )
107107
108108 s .SetExpPendingTxs (tx1 , tx2 , tx3 )
0 commit comments