Skip to content

Commit 9fdca46

Browse files
Fix randomness path in compile-smart-contracts.py
1 parent 6a50de1 commit 9fdca46

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

scripts/python/benchmark-checkers/compile-smart-contracts.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,8 @@ def extract_and_save_bytecode(bytecode_dir, json_dir, is_ethersolve=False, file_
349349
'./solidifi/vanilla/json')
350350
compile_solidity_sources('./solidifi/tx-origin/source-code',
351351
'./solidifi/tx-origin/json')
352-
compile_solidity_sources('./solidifi/timestamp-dependency/source-code',
353-
'./solidifi/timestamp-dependency/json')
352+
compile_solidity_sources('./solidifi/randomness-dependency/source-code',
353+
'./solidifi/randomness-dependency/json')
354354

355355
if args.longest_bytecode:
356356
# EVMLiSA
@@ -360,13 +360,13 @@ def extract_and_save_bytecode(bytecode_dir, json_dir, is_ethersolve=False, file_
360360
extract_and_save_longest_bytecode('./solidifi/reentrancy/bytecode/evmlisa',
361361
'./solidifi/reentrancy/json',
362362
abi_dir='./solidifi/reentrancy/abi/evmlisa')
363-
# TX-ORIGIN
363+
# TX-ORIGIN
364364
extract_and_save_longest_bytecode('./solidifi/tx-origin/bytecode/evmlisa',
365365
'./solidifi/tx-origin/json')
366366

367-
# Timestamp-dependency
368-
extract_and_save_longest_bytecode('./solidifi/timestamp-dependency/bytecode/evmlisa',
369-
'./solidifi/timestamp-dependency/json')
367+
# randomness-dependency
368+
extract_and_save_longest_bytecode('./solidifi/randomness-dependency/bytecode/evmlisa',
369+
'./solidifi/randomness-dependency/json')
370370

371371
# EtherSolve
372372
extract_and_save_longest_bytecode('./solidifi/vanilla/bytecode/ethersolve',
@@ -381,13 +381,13 @@ def extract_and_save_bytecode(bytecode_dir, json_dir, is_ethersolve=False, file_
381381
'./solidifi/vanilla/json')
382382
extract_and_save_bytecode('./solidifi/reentrancy/bytecode/evmlisa',
383383
'./solidifi/reentrancy/json')
384-
# TX-ORIGIN
384+
# TX-ORIGIN
385385
extract_and_save_bytecode('./solidifi/tx-origin/bytecode/evmlisa',
386386
'./solidifi/tx-origin/json')
387387

388-
# Timestamp-dependency
389-
extract_and_save_bytecode('./solidifi/timestamp-dependency/bytecode/evmlisa',
390-
'./solidifi/timestamp-dependency/json')
388+
# randomness-dependency
389+
extract_and_save_bytecode('./solidifi/randomness-dependency/bytecode/evmlisa',
390+
'./solidifi/randomness-dependency/json')
391391

392392
# EtherSolve
393393
extract_and_save_bytecode('./solidifi/vanilla/bytecode/ethersolve',
@@ -402,23 +402,23 @@ def extract_and_save_bytecode(bytecode_dir, json_dir, is_ethersolve=False, file_
402402
'./smartbugs/reentrancy/json',
403403
'./smartbugs/reentrancy/source-code/version.csv')
404404

405-
compile_solidity_sources_with_different_version('./smartbugs/timestamp-dependency/source-code',
406-
'./smartbugs/timestamp-dependency/json',
407-
'./smartbugs/timestamp-dependency/source-code/version.csv')
405+
compile_solidity_sources_with_different_version('./smartbugs/randomness-dependency/source-code',
406+
'./smartbugs/randomness-dependency/json',
407+
'./smartbugs/randomness-dependency/source-code/version.csv')
408408

409409
if args.longest_bytecode:
410410
extract_and_save_longest_bytecode('./smartbugs/reentrancy/bytecode/evmlisa',
411411
'./smartbugs/reentrancy/json')
412-
extract_and_save_longest_bytecode('./smartbugs/timestamp-dependency/bytecode/evmlisa',
413-
'./smartbugs/timestamp-dependency/json')
412+
extract_and_save_longest_bytecode('./smartbugs/randomness-dependency/bytecode/evmlisa',
413+
'./smartbugs/randomness-dependency/json')
414414
extract_and_save_longest_bytecode('./smartbugs/reentrancy/bytecode/ethersolve',
415415
'./smartbugs/reentrancy/json',
416416
True)
417417
else:
418418
extract_and_save_bytecode('./smartbugs/reentrancy/bytecode/evmlisa',
419419
'./smartbugs/reentrancy/json')
420-
extract_and_save_bytecode('./smartbugs/timestamp-dependency/bytecode/evmlisa',
421-
'./smartbugs/timestamp-dependency/json')
420+
extract_and_save_bytecode('./smartbugs/randomness-dependency/bytecode/evmlisa',
421+
'./smartbugs/randomness-dependency/json')
422422
extract_and_save_bytecode('./smartbugs/reentrancy/bytecode/ethersolve',
423423
'./smartbugs/reentrancy/json',
424424
True)
@@ -453,4 +453,4 @@ def extract_and_save_bytecode(bytecode_dir, json_dir, is_ethersolve=False, file_
453453
extract_and_save_bytecode('./slise/reentrancy-db1/bytecode/ethersolve',
454454
'./slise/reentrancy-db1/json',
455455
True,
456-
match_file_index)
456+
match_file_index)

0 commit comments

Comments
 (0)