Hello,
I think I’ve found a minor bug.
In https://github.com/incognitochain/incognito-chain/blob/6cdb8e2494d43c70221fc0be7479d769088aae5e/blockchain/pdex/statedb.go#L364 line, orderbook object is filled but it is not sent to the client. I mean an empty orderbook (https://github.com/incognitochain/incognito-chain/blob/6cdb8e2494d43c70221fc0be7479d769088aae5e/blockchain/pdex/statedb.go#L380) is sent.
As for my request, could you add a new verbosity (say LiquidityVerbosity
) to pdexv3State/PoolPairs
RPC which sends only State and Orderbook parts of the pairs? If you have no time and accept it, I’ve prepared a PR (https://github.com/incognitochain/incognito-chain/pull/1504) via Github site. However, I think and hope that it will compile and run flawlessly
Thanks.