Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
fix linting errors and broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliotFriend committed Jan 8, 2024
1 parent 6fd8024 commit 101552f
Show file tree
Hide file tree
Showing 4 changed files with 10,041 additions and 10,287 deletions.
2 changes: 1 addition & 1 deletion docs/guides/archival/restore-contract-js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Unfortunately, we still need simulation to figure out the _fees_ for our restora

:::info

This guide makes use of the (aptly named) `yeetTx` function we created in [another guide](../sdks/submit-transaction-wait.mdx).
This guide makes use of the (aptly named) `yeetTx` function we created in [another guide](../transactions/submit-transaction-wait-js.mdx).

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/guides/archival/restore-data-js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is a pretty likely occurrence: my piece of persistent data is archived beca
If you find that a piece of persistent data is archived, it can be restored using a Stellar transaction containing a `RestoreFootprintOp` operation. We'll make two assumptions for the sake of this guide:

- The contract instance itself is still live (i.e., others have been extending its TTL while you've been away).
- You don't know how your archived data is represented on the ledger (If you do know how the data is structured, you can follow [this guide](./create-restoration-footprint-js.mdx) on creating a restoration footprint directly).
- You don't know how your archived data is represented on the ledger.

The restoration process we'll use involves three discrete steps:

Expand All @@ -20,7 +20,7 @@ Here's a function called `submitOrRestoreAndRetry()` that will take care of all

:::info

This guide makes use of the (aptly named) `yeetTx` function we created in [another guide](../sdks/submit-transaction-wait.mdx).
This guide makes use of the (aptly named) `yeetTx` function we created in [another guide](../transactions/submit-transaction-wait-js.mdx).

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ The `hostFunction` in `InvokeHostFunctionOp` will be executed by the Soroban hos
##### JavaScript Usage
Each of these variations of host function invocation has convenience methods in the [JavaScript SDK](../reference/sdks/js):
Each of these variations of host function invocation has convenience methods in the [JavaScript SDK](../../reference/sdks/interact-with-contracts.mdx#javascript-sdk):
- [`Operation.invokeHostFunction`](https://stellar.github.io/js-stellar-sdk/Operation.html#.invokeHostFunction) is the lowest-level method that corresponds directly to the XDR.
- [`Operation.invokeContractFunction`](https://stellar.github.io/js-stellar-sdk/Operation.html#.invokeContractFunction) is an abstraction to invoke the method of a particular contract, similar to [`Contract.call`](https://stellar.github.io/js-stellar-sdk/Contract.html#call).
Expand Down
Loading

0 comments on commit 101552f

Please sign in to comment.