Skip to content

Commit

Permalink
fix(tutorials): replace prefix by uri for consult predicate
Browse files Browse the repository at this point in the history
Co-authored-by: Arnaud Mimart <33665250+amimart@users.noreply.github.com>
  • Loading branch information
antho31 and amimart authored Jun 23, 2023
1 parent 1c9f4b5 commit 78e995e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/prolog-1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ okp4d query logic ask \

#### `consult/1`

The [`consult(:File)`](https://github.com/ichiban/prolog/wiki#program) predicate has been extended to enable data loading from any smart contract query through the `coswasm` prefix.
The [`consult(:File)`](https://github.com/ichiban/prolog/wiki#program) predicate has been extended to enable data loading from any smart contract query through the `cosmwasm` URI.

The Logic module expects the `File` variable to be a URI with the following form: `cosmwasm:{contract_name}:{contract_address}?query={contract_query}`

Expand Down

0 comments on commit 78e995e

Please sign in to comment.