[go: up one dir, main page]

Tezlink/Node : Write bootstrap balance for contract in durable storage

What

Fixes Tezlink kernel configuration to correctly initialize originated contract balances during L2 bootstrapping.

Why

Previously, originated contracts had their storage and code set but lacked a proper initial balance. This caused test based on contract balance to malfunction and prevented correct execution of contracts that depend on an initial fund.

How

  • Updated make_l2 in kernel_config.ml to include a balance field in the configuration of originated contracts.

Manually testing the MR

Inspect the serialized config output to ensure balance is encoded for each Tezlink contract.

Edited by Brahima Dibassi

Merge request reports

Loading