fix(deploy): use Suiscan RPC instead of deprecated public fullnode - #521
Open
harrymove-ctrl wants to merge 1 commit into
Open
fix(deploy): use Suiscan RPC instead of deprecated public fullnode#521harrymove-ctrl wants to merge 1 commit into
harrymove-ctrl wants to merge 1 commit into
Conversation
fullnode.mainnet.sui.io's JSON-RPC is being phased out, and its coin enumeration was already returning stale results for the deploy wallet (missing a coin object visible via other RPCs), causing intermittent 'could not find SUI coins with sufficient balance' failures during site-builder's blob certification step. Switch to rpc-mainnet.suiscan.xyz, matching what relayer/indexer/app already use in production.
Collaborator
|
Hi @harrymove-ctrl The way to fix it is not wrong, however we should take into account the case that RPC is no longer supported, I don't know if this is related to that (change from json-RPC to gRPC) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fullnode.mainnet.sui.io's JSON-RPC is being deprecated/phased out and its coin enumeration was already returning stale results for the mainnet deploy wallet — it only saw 1 of 2 SUI coin objects, causing intermittentcould not find SUI coins with sufficient balancefailures duringsite-builder's blob certification step (runs 30636490497, both original and re-run).WALRUS_CONFIG.rpc_urlstohttps://rpc-mainnet.suiscan.xyz, which correctly sees both coins for the same address — and matches whatrelayer/indexer/appalready use in Railway production (SUI_RPC_URL=https://rpc-mainnet.suiscan.xyz).main, so this needs to land there to actually take effect on the next mainnet deploy.Test plan
mainno longer hits the insufficient-balance error