@@ -131,7 +131,7 @@ type (
131131 ActionByActionHash (h hash.Hash256 ) (* action.SealedEnvelope , * block.Block , uint32 , error )
132132 // PendingActionByActionHash returns action by action hash
133133 PendingActionByActionHash (h hash.Hash256 ) (* action.SealedEnvelope , error )
134- // ActionsInActPool returns the all Transaction Identifiers in the actpool
134+ // ActionsInActPool returns all Transaction Identifiers in the actpool
135135 ActionsInActPool (actHashes []string ) ([]* action.SealedEnvelope , error )
136136 // BlockByHeightRange returns blocks within the height range
137137 BlockByHeightRange (uint64 , uint64 ) ([]* apitypes.BlockWithReceipts , error )
@@ -145,7 +145,7 @@ type (
145145 EstimateMigrateStakeGasConsumption (context.Context , * action.MigrateStake , address.Address ) (uint64 , []byte , error )
146146 // EstimateGasForNonExecution estimates action gas except execution
147147 EstimateGasForNonExecution (action.Action ) (uint64 , error )
148- // EstimateExecutionGasConsumption estimate gas consumption for execution action
148+ // EstimateExecutionGasConsumption estimates gas consumption for execution action
149149 EstimateExecutionGasConsumption (ctx context.Context , sc action.Envelope , callerAddr address.Address , opts ... protocol.SimulateOption ) (uint64 , []byte , error )
150150 // LogsInBlockByHash filter logs in the block by hash
151151 LogsInBlockByHash (filter * logfilter.LogFilter , blockHash hash.Hash256 ) ([]* action.Log , error )
@@ -1777,7 +1777,7 @@ func (core *coreService) estimateMigrateStakeGasConsumptionAt(ctx context.Contex
17771777 return gas + intrinsicGas , retval , nil
17781778}
17791779
1780- // EstimateExecutionGasConsumption estimate gas consumption for execution action
1780+ // EstimateExecutionGasConsumption estimates gas consumption for execution action
17811781func (core * coreService ) EstimateExecutionGasConsumption (ctx context.Context , elp action.Envelope , callerAddr address.Address , opts ... protocol.SimulateOption ) (uint64 , []byte , error ) {
17821782 return core .estimateExecutionGasConsumptionAt (ctx , elp , callerAddr , 0 , opts ... )
17831783}
@@ -1939,7 +1939,7 @@ func (core *coreService) getProtocolAccount(ctx context.Context, addr string) (*
19391939 }, out .GetBlockIdentifier (), nil
19401940}
19411941
1942- // ActionsInActPool returns the all Transaction Identifiers in the actpool
1942+ // ActionsInActPool returns all Transaction Identifiers in the actpool
19431943func (core * coreService ) ActionsInActPool (actHashes []string ) ([]* action.SealedEnvelope , error ) {
19441944 var ret []* action.SealedEnvelope
19451945 if len (actHashes ) == 0 {
0 commit comments