fix(docs): update deprecated URLs and packages in zksync-era, ethereum, and sui tooling#592
fix(docs): update deprecated URLs and packages in zksync-era, ethereum, and sui tooling#592Sertug17 wants to merge 2 commits into
Conversation
…m, and sui tooling - zksync-era-tooling: replace dead zksync2-testnet-explorer.zksync.dev verifier URL with current explorer.sepolia.era.zksync.dev - ethereum-tooling: replace deprecated alchemyapi.io domain with current g.alchemy.com in Scaffold-ETH 2 mainnet fallback URL - sui-tooling: migrate JSON-RPC section from deprecated @mysten/sui.js to current @mysten/sui package; update TransactionBlock → Transaction and signAndExecuteTransactionBlock → signAndExecuteTransaction Closes chainstack#589, chainstack#590, chainstack#591
|
|
Warning Review limit reached
Next review available in: 52 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated Ethereum, Sui, and zkSync tooling documentation with current RPC, SDK, transaction, and contract verification examples. ChangesEthereum tooling documentation
Sui tooling documentation
zkSync tooling documentation
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related issues
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/sui-tooling.mdx`:
- Line 262: Update the standalone Send Transaction example around
tx.transferObjects to define objectId and recipient before use, using clear
placeholder values or reading both inputs from process.env so the documented
example can run without undefined identifiers.
- Line 265: Update the signAndExecuteTransaction call to pass the transaction
using the transaction property with the existing tx value, replacing the legacy
transactionBlock key while preserving the rest of the example.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 004c1440-83df-4668-8a44-0ea3bb5a7bd6
📒 Files selected for processing (3)
docs/ethereum-tooling.mdxdocs/sui-tooling.mdxdocs/zksync-era-tooling.mdx
- transactionBlock: tx → transaction: tx (correct signAndExecuteTransaction key) - add objectId and recipient placeholder declarations in Send Transaction example
What
Fixes three documentation issues involving deprecated URLs and packages across three tooling guides.
Changes
zksync-era-tooling.mdxThe HardhatverifyURLpointed tozksync2-testnet-explorer.zksync.dev, a pre-rebrand zkSync 2.0 subdomain that no longer resolves. Replaced with the current zkSync Era Sepolia explorer URL.ethereum-tooling.mdxThe Scaffold-ETH 2 mainnet fallback URL used the deprecatedalchemyapi.iodomain, while the Sepolia fallback in the same code block already used the currentalchemy.comformat. Made consistent.sui-tooling.mdxThe JSON-RPC section referenced the legacy@mysten/sui.jspackage (deprecated, superseded by@mysten/sui). Updated install command, all import paths, and two renamed APIs:TransactionBlock→TransactionsignAndExecuteTransactionBlock→signAndExecuteTransactionThe gRPC section in the same file already used
@mysten/suicorrectly only the JSON-RPC section needed updating.Closes
Fixes #589, #590, #591