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
391 stars 174 forks source link

missing token address in report resutls #102

Open tienquyet28 opened 1 year ago

tienquyet28 commented 1 year ago

to address: missing token

Smart contract ycsb deploy ready Current TIP = 0 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1 In the last 2s, tx count = 0 latency = 0 outstanding request = 1

i have tried to test wwith 1 node and cilent ./run-bench.sh 1 1 1 10 , got results like that, it seem to be no geth deployed in client and smart contract donot deployed in node, do i have to install a client node manually, any can help please!

tienquyet28 commented 1 year ago

curl localhost:8505 -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_accounts","params":[],"id":1}' (READme.MD) i have found this code gets ethereum accounts Curl which returns misssing token to database as the method now in geth console has changed to eth.accounts id of accounts start from '0'. any one have any idea?

KunPengRen commented 1 year ago

@tienquyet28 Hi, make sure the 8505 is correct for your geth node. for the readme doc under the db folder is only used for me to check the rpc interface of geth, which has same logic in the code

tienquyet28 commented 1 year ago

@tienquyet28 Hi, make sure the 8505 is correct for your geth node. for the readme doc under the db folder is only used for me to check the rpc interface of geth, which has same logic in the code

hello, thank you for that, i have fixedalmost issues corespond to new geth version available. I found most problems come as the command line from Geth Ethereum is chage, in start-clients.sh ,mining.sh ... and I reup my code base on block bench on my page. The important things is add new config in genesis blocks.json, then everythings will be fine. It is some things like this: { "config": { "chainId": 1, "homesteadBlock": 0, "eip150Block": 0, "eip155Block": 0, "eip158Block": 0 },
"nonce": "0x0000000000000042", "timestamp": "0x0", "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "extraData": "0x", "gasLimit": "0x8000000", "difficulty": "0x1fffff", "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", "coinbase": "0x3333333333333333333333333333333333333333", "alloc": { } } I hope you can update it on the framework. thank you