diff --git a/rpc/core/env.go b/rpc/core/env.go index 42a6fd65f..6016c4fba 100644 --- a/rpc/core/env.go +++ b/rpc/core/env.go @@ -19,7 +19,10 @@ import ( const ( // see README defaultPerPage = 30 - maxPerPage = 100 + + // Temporarily set it to a sufficient value to reduce the number of tx search queries during the test. + // TODO It will be modified later to be configurable. (Also, add a option to get all tx of block) + maxPerPage = 10000 // SubscribeTimeout is the maximum time we wait to subscribe for an event. // must be less than the server's write timeout (see rpcserver.DefaultConfig)