@@ -11,7 +11,6 @@ import (
1111 "github.com/NethermindEth/juno/jsonrpc"
1212 "github.com/NethermindEth/juno/mocks"
1313 "github.com/NethermindEth/juno/rpc/rpccore"
14- rpcv6 "github.com/NethermindEth/juno/rpc/v6"
1514 rpc "github.com/NethermindEth/juno/rpc/v8"
1615 "github.com/NethermindEth/juno/utils"
1716 "github.com/NethermindEth/juno/vm"
@@ -54,7 +53,7 @@ func TestSimulateTransactions(t *testing.T) {
5453 mockVM * mocks.MockVM ,
5554 mockState * mocks.MockStateReader ,
5655 )
57- simulationFlags []rpcv6 .SimulationFlag
56+ simulationFlags []rpc .SimulationFlag
5857 simulatedTxs []rpc.SimulatedTransaction
5958 }{
6059 { //nolint:dupl
@@ -77,7 +76,7 @@ func TestSimulateTransactions(t *testing.T) {
7776 NumSteps : uint64 (123 ),
7877 }, nil )
7978 },
80- simulationFlags : []rpcv6 .SimulationFlag {rpcv6 .SkipFeeChargeFlag },
79+ simulationFlags : []rpc .SimulationFlag {rpc .SkipFeeChargeFlag },
8180 simulatedTxs : []rpc.SimulatedTransaction {},
8281 },
8382 { //nolint:dupl
@@ -100,7 +99,7 @@ func TestSimulateTransactions(t *testing.T) {
10099 NumSteps : uint64 (123 ),
101100 }, nil )
102101 },
103- simulationFlags : []rpcv6 .SimulationFlag {rpcv6 .SkipValidateFlag },
102+ simulationFlags : []rpc .SimulationFlag {rpc .SkipValidateFlag },
104103 simulatedTxs : []rpc.SimulatedTransaction {},
105104 },
106105 {
@@ -119,7 +118,7 @@ func TestSimulateTransactions(t *testing.T) {
119118 Cause : json .RawMessage ("oops" ),
120119 })
121120 },
122- simulationFlags : []rpcv6 .SimulationFlag {rpcv6 .SkipValidateFlag },
121+ simulationFlags : []rpc .SimulationFlag {rpc .SkipValidateFlag },
123122 err : rpccore .ErrTransactionExecutionError .CloneWithData (rpc.TransactionExecutionErrorData {
124123 TransactionIndex : 44 ,
125124 ExecutionError : json .RawMessage ("oops" ),
@@ -144,7 +143,7 @@ func TestSimulateTransactions(t *testing.T) {
144143 NumSteps : uint64 (0 ),
145144 }, nil )
146145 },
147- simulationFlags : []rpcv6 .SimulationFlag {rpcv6 .SkipValidateFlag },
146+ simulationFlags : []rpc .SimulationFlag {rpc .SkipValidateFlag },
148147 err : rpccore .ErrInternal .CloneWithData (errors .New (
149148 "inconsistent lengths: 1 overall fees, 1 traces, 1 gas consumed, 2 data availability, 0 txns" ,
150149 )),
@@ -297,7 +296,7 @@ func TestSimulateTransactionsShouldErrorWithoutSenderAddressOrResourceBounds(t *
297296 t .Context (),
298297 & blockID ,
299298 rpc.BroadcastedTransactionInputs {Data : test .transactions },
300- []rpcv6 .SimulationFlag {},
299+ []rpc .SimulationFlag {},
301300 )
302301 if test .err != nil {
303302 require .Equal (t , test .err , err )
0 commit comments