Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
apps/nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials.mdx
Outdated
Show resolved
Hide resolved
7a25198 to
ceacb3f
Compare
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Outdated
Show resolved
Hide resolved
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Outdated
Show resolved
Hide resolved
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Outdated
Show resolved
Hide resolved
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Outdated
Show resolved
Hide resolved
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Outdated
Show resolved
Hide resolved
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Outdated
Show resolved
Hide resolved
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Outdated
Show resolved
Hide resolved
apps/nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/_meta.tsx
Show resolved
Hide resolved
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Outdated
Show resolved
Hide resolved
51b360e to
0307421
Compare
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Outdated
Show resolved
Hide resolved
0307421 to
d1e31ef
Compare
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Outdated
Show resolved
Hide resolved
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Outdated
Show resolved
Hide resolved
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Outdated
Show resolved
Hide resolved
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Outdated
Show resolved
Hide resolved
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Outdated
Show resolved
Hide resolved
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Outdated
Show resolved
Hide resolved
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Show resolved
Hide resolved
.../nextra/pages/en/build/indexer/indexer-sdk/documentation/advanced-tutorials/txn-importer.mdx
Outdated
Show resolved
Hide resolved
|
|
||
| ### Export the `json_transactions` Folder | ||
|
|
||
| Ensure the `json_transactions` folder is properly exported in the library file. |
There was a problem hiding this comment.
Bit confused about this instruction and the "Export the Generated File" instruction. Do they need to add both to mod.rs?
pub mod generated_transactions;
pub mod json_transactions;
There was a problem hiding this comment.
first one they need for sure, but the 2nd one could be slightly different. if they already have their own file where they are exporting othe folders they can just add to there. should I just remove that part? I assume they will know how to export files..
There was a problem hiding this comment.
Oh is this for generated_transactions to be able to read json_transactions?
Then it makes sense to include pub mod json_transactions in the instructions, but we can add more details to explain why you need to do it and which folder to do it in.
The previous step and this step refer to different repos, so it's a bit confusing to follow.
There was a problem hiding this comment.
yeah I will add more details and update the url to use the same repo as teh step above!
| ### Add as a Dependency | ||
|
|
||
| Include the crate containing the generated transactions as a dependency in the `Cargo.toml` file of your test crate. (Internally, we store transactions in `aptos-core` and use them in the [processor repo](https://github.com/aptos-labs/aptos-indexer-processors/blob/0c92d323b0f560b5f8601a831a36520ad9b72d68/rust/Cargo.toml#L34)). |
There was a problem hiding this comment.
Users have the choice of --output-folder, they could put it in a new crate or existing crate, so I think we can skip this step in this guide.
| [Example Crate](https://github.com/aptos-labs/aptos-indexer-processor-example/tree/main/test-transactions-example). | ||
|
|
||
| ## Next Steps | ||
| Once the transaction constants are integrated, you can use them in processor tests to validate functionality. For detailed instructions on writing processor tests, refer to [Writing Processor Tests](). No newline at end of file |
There was a problem hiding this comment.
The link [Writing Processor Tests]() appears to be a placeholder with an empty destination URL. To maintain documentation quality, either add the correct URL for the processor tests documentation or remove the link formatting entirely. This will prevent users from encountering a broken link when following the guide.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
| ### Integrate into Test Cases | ||
|
|
||
| Use the exported transaction constants directly in your test cases to simulate real transactions and validate processing logic. | ||
|
|
There was a problem hiding this comment.
Remove or update the broken link 'Writing Processor Tests' at the end of the file. If the documentation doesn't exist yet, remove the reference. If it does exist, update with the correct path.
Spotted by Graphite Reviewer (based on CI logs)
Is this helpful? React 👍 or 👎 to let us know.
5fd548e to
aeacbb0
Compare
aeacbb0 to
60db79c
Compare
apps/nextra/pages/en/build/indexer/indexer-sdk/documentation/_meta.tsx
Outdated
Show resolved
Hide resolved
60db79c to
e8f5eaf
Compare
e8f5eaf to
775613a
Compare
Merge activity
|

Description
Checklist
pnpm fmt?pnpm lint?