ooibc88 / blockbench

BLOCKBENCH: A Framework for Analyzing Private Blockchains. Blockbench contains workloads for measuring the data processing performance, and workloads for understanding the performance of different layers of Blockchain systems.
https://www.comp.nus.edu.sg/~dbsystem/fabricsharp/#/blockbench
Apache License 2.0
392 stars 174 forks source link

change `block_number` to hex string #53

Closed nicodechal closed 5 years ago

nicodechal commented 5 years ago

In Smallbank benchmark, change block_number to hex string like YCSB benchmark to avoid request error: https://github.com/nicodechal/blockbench/blob/ae833572c16d60f76fd3b249f93a4517336e19ee/src/macro/kvstore/core/evm_utils.cc#L289-L291

and then I found in poll_txs_by_block_number, uncle in uncles already has quotes, But GET_BLOCK_BY_HASH_PREFIX gives uncle one more pair of quotes, so I remove the quotes of uncle to make it run correct. If this is true, then YCSB benchmark also need to be modified.

ug93tad commented 5 years ago

Thanks for the PR.

nicodechal commented 5 years ago

@ug93tad