From de89074fc487b0eb50451addce65b890c03801bc Mon Sep 17 00:00:00 2001 From: Bharath Date: Wed, 26 Jun 2024 15:17:16 +0530 Subject: [PATCH] remove unecessary code --- scenarios/revertingtx/revertingtx.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/scenarios/revertingtx/revertingtx.go b/scenarios/revertingtx/revertingtx.go index 037b7b0..fc20a9e 100644 --- a/scenarios/revertingtx/revertingtx.go +++ b/scenarios/revertingtx/revertingtx.go @@ -256,22 +256,6 @@ func (s *Scenario) sendTx(txIdx uint64) (*types.Transaction, *txbuilder.Client, var txCallData []byte txCallData = append(txCallData, methodID...) - //revertingTxContract, err := s.GetRevertingContract() - //if err != nil { - // return nil, nil, err - //} - - //transactor, err := s.GetTransactor(wallet, true, big.NewInt(0)) - //if err != nil { - // return nil, nil, err - //} - - //revertingTx, err := revertingTxContract.AlwaysRevert(transactor) - //if err != nil { - // s.logger.Errorf("could not generate transaction: %v", err) - // return nil, nil, err - //} - txData, err := txbuilder.DynFeeTx(&txbuilder.TxMetadata{ GasFeeCap: uint256.MustFromBig(feeCap), GasTipCap: uint256.MustFromBig(tipCap),