Skip to content

Commit

Permalink
chore: update predicate doc
Browse files Browse the repository at this point in the history
Co-authored-by: Nedim Salkić <nedim.salkic@fuel.sh>
  • Loading branch information
danielbate and nedsalk authored Oct 7, 2024
1 parent 3d1d88b commit b068568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/docs/src/guide/predicates/deploying-predicates.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

In order to optimize the cost of your recurring predicate executions, we recommend first deploying your predicate. This can be done using the [Fuels CLI](../fuels-cli/index.md) and running the [deploy command](../fuels-cli/commands#fuels-deploy).

Check failure on line 3 in apps/docs/src/guide/predicates/deploying-predicates.md

View workflow job for this annotation

GitHub Actions / Lint

commands does not exist

By deploying the predicate, it's bytecode is stored on chain as a blob. The SDK will then produce bytecode that can load the blob on demand that can execute the predicate. This far reduces the repeat execution cost of the predicate.
By deploying the predicate, its bytecode is stored on chain as a blob. The SDK will then produce bytecode that can load the blob on demand to execute the original predicate. This far reduces the repeat execution cost of the predicate.

## How to Deploy a Predicate

Expand Down

0 comments on commit b068568

Please sign in to comment.