Skip to content

Commit 977d5d6

Browse files
committed
Formatting
1 parent 78f2894 commit 977d5d6

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

src/kontrol/prove.py

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -659,12 +659,23 @@ def _method_to_cfg(
659659
def _update_cterm_from_node(cterm: CTerm, node: KCFG.Node, config_type: ConfigType) -> CTerm:
660660
if config_type == ConfigType.TEST_CONFIG:
661661
cell_names = [
662-
'ACCOUNTS_CELL', 'NUMBER_CELL', 'TIMESTAMP_CELL', 'BASEFEE_CELL',
663-
'CHAINID_CELL', 'COINBASE_CELL', 'PREVCALLER_CELL', 'PREVORIGIN_CELL',
664-
'NEWCALLER_CELL', 'NEWORIGIN_CELL', 'ACTIVE_CELL', 'DEPTH_CELL',
665-
'SINGLECALL_CELL', 'GAS_CELL', 'CALLGAS_CELL'
662+
'ACCOUNTS_CELL',
663+
'NUMBER_CELL',
664+
'TIMESTAMP_CELL',
665+
'BASEFEE_CELL',
666+
'CHAINID_CELL',
667+
'COINBASE_CELL',
668+
'PREVCALLER_CELL',
669+
'PREVORIGIN_CELL',
670+
'NEWCALLER_CELL',
671+
'NEWORIGIN_CELL',
672+
'ACTIVE_CELL',
673+
'DEPTH_CELL',
674+
'SINGLECALL_CELL',
675+
'GAS_CELL',
676+
'CALLGAS_CELL',
666677
]
667-
678+
668679
cells = {name: node.cterm.cell(name) for name in cell_names}
669680
all_accounts = flatten_label('_AccountCellMap_', cells['ACCOUNTS_CELL'])
670681

@@ -673,7 +684,9 @@ def _update_cterm_from_node(cterm: CTerm, node: KCFG.Node, config_type: ConfigTy
673684

674685
new_accounts_map = {account.cell('ACCTID_CELL'): account for account in new_accounts}
675686

676-
cells['ACCOUNTS_CELL'] = KEVM.accounts([account.config for account in new_accounts_map.values()] + non_cell_accounts)
687+
cells['ACCOUNTS_CELL'] = KEVM.accounts(
688+
[account.config for account in new_accounts_map.values()] + non_cell_accounts
689+
)
677690

678691
for cell_name, cell_value in cells.items():
679692
cterm = CTerm(set_cell(cterm.config, cell_name, cell_value), [])

0 commit comments

Comments
 (0)