kaistshadow / blockchain-sim

Scalable blockchain simulator/emulator running on shadow simulator
MIT License
9 stars 1 forks source link

BLEEPilb-pow regtest error #344

Closed tkdlqm2 closed 3 years ago

tkdlqm2 commented 3 years ago

Description regtest 진행 중에 BLEEPlib-pow에서 에러가 발생함. image

To Reproduce Steps to reproduce the behavior:

  1. git checkout issue/317/memshare_test
  2. cd tests/regtest/3_BLEEPlib/3_BLEEPlib/3_PoW_treesync; python test-treesync.py --noserver treesynctest1-twonode.xml
  3. error content
    Execute shadow experiment
    ** Starting Shadow v1.12.1-268-gb5ec6029 2021-04-13 (built 2021-05-11) with GLib v2.56.4 and IGraph v0.7.1
    ** Stopping Shadow, returning code 0 (success)
    Parsing shadow output
    eventlogs_length=94
    Traceback (most recent call last):
    File "test-treesync.py", line 195, in <module>
    cmp_result = checking_output(datadir)
    File "test-treesync.py", line 137, in checking_output
    out = matches[-1]
    IndexError: list index out of range
hyojin5658 commented 3 years ago

BLEEPlib에 txNumberPerBlock 변수 값이 너무 높은 값으로 설정되어 있어서 bleeplib에서 아무 노드도 블록을 생성하지 못했습니다. txnumberperblock=2로 조정해서 해결하였습니다.

해당 이슈는 close 하겠습니다.