Skip to content

Commit

Permalink
chore: Update asset handling note to reflect default epoch length
Browse files Browse the repository at this point in the history
  • Loading branch information
masiedu4 committed Aug 1, 2024
1 parent ef95a3f commit 1a472dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cartesi-rollups/development/asset-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ The dApp’s off-chain layer often requires knowledge of its address to facilita

By calling [`relayDAppAddress()`](../rollups-apis/json-rpc/relays/relays.md), function of the `DAppAddressRelay` contract, it adds the dApp’s address as a new input for the Cartesi dApp to process. Next, the off-chain machine uses this address to generate a voucher for execution at the [`executeVoucher()`](../rollups-apis/json-rpc/application.md/#executevoucher) function of the `CartesiDApp` contract.

:::note epoch duration
By default, Cartesi nodes close one epoch every couple of days. You can [manually set the epoch duration](./cli-commands.md/#run) to facilitate quicker asset-handling methods.
:::note epoch length
By default, Cartesi nodes close one epoch every 7200 blocks. You can [manually set the epoch length](./cli-commands.md/#run) to facilitate quicker asset-handling methods.
:::

Here are the function signatures used by vouchers to withdraw the different types of assets:
Expand Down

0 comments on commit 1a472dd

Please sign in to comment.