|
|
@ -83,13 +83,14 @@ def get_transaction_sequence(global_state, constraints): |
|
|
|
transactions.append(transaction) |
|
|
|
transactions.append(transaction) |
|
|
|
# Constrain calldatasize |
|
|
|
# Constrain calldatasize |
|
|
|
max_calldatasize = 5000 |
|
|
|
max_calldatasize = 5000 |
|
|
|
if max_calldatasize != None: |
|
|
|
if max_calldatasize is not None: |
|
|
|
tx_constraints.append( |
|
|
|
tx_constraints.append( |
|
|
|
UGE(max_calldatasize, transaction.call_data.calldatasize) |
|
|
|
UGE(max_calldatasize, transaction.call_data.calldatasize) |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
minimize.append(transaction.call_data.calldatasize) |
|
|
|
minimize.append(transaction.call_data.calldatasize) |
|
|
|
|
|
|
|
minimize.append(transaction.call_value) |
|
|
|
|
|
|
|
|
|
|
|
concrete_transactions[tx_id] = tx_template.copy() |
|
|
|
concrete_transactions[tx_id] = tx_template.copy() |
|
|
|
|
|
|
|
|
|
|
|
else: |
|
|
|
else: |
|
|
|