Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 032b4c1

Browse files
authored
Fix broken chain_id.md links in account documentation examples (#972)
* Update account_snippet.expect.md * Update account_snippet.md * Update account.expect.md
1 parent aa29484 commit 032b4c1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/aptos-nextra-components/src/utils/mdast/examples/account.expect.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ struct SignerCapabilityOfferProofChallenge has drop
466466

467467
This struct stores the challenge message that should be signed by the source account, when the source account
468468
is delegating its rotation capability to the <code>recipient_address</code>.
469-
This V2 struct adds the <code><a href="chain_id.md#0x1_chain_id">chain_id</a></code> and <code>source_address</code> to the challenge message, which prevents replaying the challenge message.
469+
This V2 struct adds the <code><a href="../../aptos-stdlib/chain_id.md#0x1_chain_id">chain_id</a></code> and <code>source_address</code> to the challenge message, which prevents replaying the challenge message.
470470

471471
```move
472472
struct RotationCapabilityOfferProofChallengeV2 has drop
@@ -477,7 +477,7 @@ struct RotationCapabilityOfferProofChallengeV2 has drop
477477

478478
<dl>
479479
<dt>
480-
<code><a href="chain_id.md#0x1_chain_id">chain_id</a>: u8</code>
480+
<code><a href="../../aptos-stdlib/chain_id.md#0x1_chain_id">chain_id</a>: u8</code>
481481
</dt>
482482
<dd>
483483

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
is delegating its rotation capability to the <code>recipient_address</code>.
22

3-
This V2 struct adds the <code><a href="chain_id.md#0x1_chain_id">chain_id</a></code> and <code>source_address</code> to the challenge message, which prevents replaying the challenge message.
3+
This V2 struct adds the <code><a href="../../aptos-stdlib/chain_id.md#0x1_chain_id">chain_id</a></code> and <code>source_address</code> to the challenge message, which prevents replaying the challenge message.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
is delegating its rotation capability to the <code>recipient_address</code>.
22

3-
This V2 struct adds the <code><a href="chain_id.md#0x1_chain_id">chain_id</a></code> and <code>source_address</code> to the challenge message, which prevents replaying the challenge message.
3+
This V2 struct adds the <code><a href="../../aptos-stdlib/chain_id.md#0x1_chain_id">chain_id</a></code> and <code>source_address</code> to the challenge message, which prevents replaying the challenge message.

0 commit comments

Comments
 (0)