Skip to content

feat: automatic createRateLimitedFetch wrapper#270

Open
andrevmatos wants to merge 8 commits into
mainfrom
auto/fetch
Open

feat: automatic createRateLimitedFetch wrapper#270
andrevmatos wants to merge 8 commits into
mainfrom
auto/fetch

Conversation

@andrevmatos

Copy link
Copy Markdown
Collaborator
  • expand fetch wrapper
  • starts with just fetch passthrough, full-speed
  • then, hooks, auto-detect and auto-adapt to rate-limit errors and headers
  • can detect bursts and continue to work in most environments with public RPCs
  • per endpoint instances
  • applied by default; pass ChainContext.fetch to opt-out
  • also, EVMChain.getLogs can catch block range too large errors and auto-adapt page size
  • Breaking: therefore, remove cli --page option (not needed anymore, auto-detected and retried)

andrevmatos and others added 3 commits June 8, 2026 17:55
Move fetch rate-limiting out of utils into a dedicated fetch.ts and make it
adaptive: runs at full speed by default, throttling only when an endpoint
actually rate-limits it.

- per-endpoint AIMD concurrency cap (default 5; halves to 1 on a 429, ramps
  back on sustained success) — collapses a 429 storm into one patient retry
- per-(endpoint,method) rate pacer: paces only when the server gives an
  explicit reset window (Retry-After/RateLimit-Reset); header-less 429s
  (e.g. Solana) use jittered exponential backoff instead
- standard + de-facto rate-limit header parsing (Retry-After, RateLimit-*,
  X-RateLimit-*, Solana x-ratelimit-method-*)
- web fetch-contract semantics (returns non-ok responses, throws only on
  network/abort); per-endpoint state shared across instances

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Wire the default rate-limited fetch into every fromUrl constructor, with a
ctx.fetch opt-out: a caller-supplied fetch is used verbatim (unwrapped).

- ChainContext.fetch opt-out
- EVM via ethers FetchRequest adapter; Solana via ConnectionConfig.fetch;
  Sui via JsonRpcHTTPTransport
- TON + Canton via shared createAxiosFetchAdapter (Canton only when ctx.fetch
  is given, preserving its native HTTP/2 default)
- Aptos custom Client shim, applied in fromUrl/fromAptosConfig only (never
  fromProvider)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Detect "block range too large" RPC errors (Alchemy/Infura/QuickNode/erpc and
a generic block-range matcher), learn the max range per endpoint, and
transparently re-chunk — removing the need for the manual --page CLI flag.

- CCIPLogRangeTooLargeError + parseLogRangeError (extracts max/suggested range)
- per-endpoint learned range shared across getLogs calls
- remove ccip-cli --page option (LogFilter.page kept as an optional override)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@andrevmatos andrevmatos self-assigned this Jun 8, 2026
@andrevmatos andrevmatos requested review from a team, PabloMansanet and aelmanaa as code owners June 8, 2026 22:04
@vercel

vercel Bot commented Jun 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ccip-tools-ts Ready Ready Preview, Comment Jun 9, 2026 5:20pm

Request Review

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

👋 andrevmatos, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

Comment thread ccip-sdk/src/aptos/fetch-client.test.ts Dismissed
…ecovery hint

endpointKey() now wraps new URL() in try/catch so block tags ('safe', 'latest')
and other non-URL strings don't throw when passed as endpoint identifiers.

Adds missing DEFAULT_RECOVERY_HINTS entry for LOG_RANGE_TOO_LARGE — the
recovery.ts exhaustiveness check was failing CI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

Coverage Report

ℹ tests 924
ℹ suites 258
ℹ pass 924
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 62884.766476

> @chainlink/ccip-cli@1.8.0 test
> node --test

✔ src/commands/e2e-helpers.test.ts (127.376863ms)
Verbose mode enabled
▶ getCtx
  ▶ output — always stdout
    ✔ output.write goes to stdout (1.806897ms)
    ✔ output.table goes to stdout (1.099849ms)
  ✔ output — always stdout (4.383016ms)
  ▶ logger — always stderr
    ✔ logger.info goes to stderr (0.719981ms)
    ✔ logger.warn goes to stderr (0.494802ms)
    ✔ logger.error goes to stderr (0.447263ms)
  ✔ logger — always stderr (1.904368ms)
  ▶ verbose mode
    ✔ logger.debug is a no-op when verbose is false (1.188755ms)
    ✔ logger.debug goes to stderr when verbose is true (2.352643ms)
  ✔ verbose mode (3.947194ms)
  ▶ destroy signal
    ✔ returns a working destroy function (17.294193ms)
    ✔ calling destroy twice does not throw (0.785013ms)
  ✔ destroy signal (18.29079ms)
✔ getCtx (29.501556ms)
▶ lane-latency command
  ✔ should output JSON format correctly (8.223672ms)
  ✔ should resolve chain IDs to chain selectors (0.861725ms)
  ✔ should use custom API URL when provided (2.594074ms)
  ✔ should output log format correctly (1.566098ms)
  ✔ should handle chain IDs as input (1.301726ms)
  ✔ should handle chain selectors as input (0.836107ms)
  ✔ should throw CCIPApiClientNotAvailableError when --no-api flag is set (1.335409ms)
  ✔ should work normally when --no-api flag is false (0.776958ms)
  ✔ should forward blockConfirmations to API URL (1.139724ms)
  ✔ should not include numOfBlocks when blockConfirmations is not provided (0.606139ms)
  ▶ CCIP_API environment variable integration
    ✔ should respect CCIP_API=false environment variable (0.557038ms)
  ✔ CCIP_API environment variable integration (0.765716ms)
✔ lane-latency command (22.495264ms)
▶ e2e command lane EVM v1.5
  ✔ should show lane config Sepolia -> Fuji (v1.5) in JSON (5399.161854ms)
  ✔ should show lane config Sepolia -> Fuji (v1.5) in pretty format (5232.012014ms)
✔ e2e command lane EVM v1.5 (10633.620716ms)
▶ e2e command lane EVM v2.0
  ✔ should show lane config Sepolia -> Fuji (v2.0) in JSON (4271.754154ms)
✔ e2e command lane EVM v2.0 (4271.998949ms)
▶ e2e command lane EVM <-> Aptos (v1.6)
  ✔ should show lane config Sepolia -> Aptos (v1.6) (3470.758752ms)
  ✔ should show lane config Aptos -> Sepolia (v1.6) (3489.918081ms)
✔ e2e command lane EVM <-> Aptos (v1.6) (6961.039598ms)
▶ e2e command lane EVM <-> Solana (v1.6)
  ✔ should show lane config Sepolia -> Solana (v1.6) (3426.684616ms)
  ✔ should show lane config Solana -> Sepolia (v1.6) (3682.646267ms)
✔ e2e command lane EVM <-> Solana (v1.6) (7109.698347ms)
▶ e2e command lane EVM <-> TON (v1.6)
  ✔ should show lane config TON -> Sepolia (v1.6) (26974.766365ms)
  ✔ should show lane config Sepolia -> TON (v1.6) (49240.04065ms)
✔ e2e command lane EVM <-> TON (v1.6) (76215.136128ms)
▶ selectRequest non-interactive behavior
  ✔ returns the single request without prompting (1.547072ms)
  ✔ returns the request matching logIndex (0.257259ms)
  ✔ throws CCIPInteractiveRequiredError for multiple requests without logIndex (2.360609ms)
✔ selectRequest non-interactive behavior (6.223716ms)
▶ CCIPInteractiveRequiredError
  ✔ has correct code and is not transient (0.311681ms)
  ✔ uses default recovery when none provided (0.393824ms)
  ✔ preserves context fields (0.250908ms)
✔ CCIPInteractiveRequiredError (1.185208ms)
▶ preprocessArgv TTY auto-detection
  ✔ --interactive flag is defined in globalOpts (0.2304ms)
✔ preprocessArgv TTY auto-detection (0.371622ms)
▶ search messages command
  ✔ should throw CCIPApiClientNotAvailableError when --no-api flag is set (2.309022ms)
  ✔ should output JSON format correctly (12.659987ms)
  ✔ should pass sender filter to API (4.211111ms)
  ✔ should pass receiver filter to API (3.729849ms)
  ✔ should resolve source chain to selector (3.453174ms)
  ✔ should resolve dest chain to selector (3.125444ms)
  ✔ should pass manual-exec-only filter to API (3.093563ms)
  ✔ should treat limit 0 as unlimited (5.103729ms)
  ✔ should respect limit parameter (6.814487ms)
  ✔ should warn when no results found (1.189636ms)
  ✔ should use custom API URL when provided (2.786733ms)
  ✔ should warn on negative limit and fall back to default (2.475743ms)
  ✔ should output log format (2.358895ms)
✔ search messages command (55.304286ms)
▶ e2e command show EVM
  ▶ pretty format (default)
    ✔ should show complete CCIP transaction details EVM to EVM (8184.863323ms)
  ✔ pretty format (default) (8185.981988ms)
  ▶ json format
    ✔ should output a single valid JSON envelope with all expected fields (7992.113368ms)
  ✔ json format (7992.355389ms)
  ▶ log format
    ✔ should output in log format with object assignments (7550.766527ms)
  ✔ log format (7551.025369ms)
  ▶ verbose flag
    ✔ should work with verbose flag enabled (8448.689661ms)
  ✔ verbose flag (8448.88198ms)
  ▶ error handling
    ✔ should handle invalid transaction hash gracefully (5108.904439ms)
    ✔ should require transaction hash argument (1679.885317ms)
  ✔ error handling (6789.116704ms)
  ✔ should show complete CCIP transaction details EVM to Aptos (11488.87432ms)
  ✔ should show complete CCIP transaction details EVM to Solana (5632.031436ms)
✔ e2e command show EVM (56090.236457ms)
▶ e2e command show Solana
  ✔ should show complete CCIP transaction details Solana to EVM (7259.071435ms)
✔ e2e command show Solana (7259.30497ms)
▶ e2e command show Aptos
  ✔ should show complete CCIP transaction details Aptos to EVM (12779.231943ms)
✔ e2e command show Aptos (12779.42415ms)
﹣ e2e command show TON (0.062857ms) # SKIP
▶ formatCCIPError
  ✔ should return null for non-CCIPError instances (1.925768ms)
  ✔ should format CCIPError with code and message (0.769624ms)
  ✔ should include help section with recovery hint (0.303305ms)
  ✔ should include note section for transient errors (0.367875ms)
  ✔ should include retry timing for transient errors with retryAfterMs (0.564372ms)
  ✔ should not include note section for permanent errors (0.303937ms)
  ✔ should format error with structured output (0.327771ms)
  ✔ should include stack trace when verbose is true (0.494963ms)
  ✔ should not include stack trace when verbose is false (0.296563ms)
✔ formatCCIPError (7.893396ms)
▶ yieldResolved
  ✔ throws if a promise rejects while the generator is paused after a yield (14.120609ms)
✔ yieldResolved (14.356188ms)
▶ canton/signer
  ▶ Ed25519TransactionSigner constructor
    ✔ constructs with a valid 64-char hex seed (3.691609ms)
    ✔ constructs with a 0x-prefixed seed (0.465056ms)
    ✔ throws when seed is too short (0.512014ms)
    ✔ throws when seed is too long (0.240588ms)
    ✔ throws when seed contains non-hex characters (0.226822ms)
    ✔ computes the correct Canton fingerprint (3.814818ms)
    ✔ produces different fingerprints for different seeds (0.699914ms)
  ✔ Ed25519TransactionSigner constructor (11.203384ms)
  ▶ Ed25519TransactionSigner.sign()
    ✔ returns a PartySignatures structure (1.262953ms)
    ✔ includes the correct party ID (0.507034ms)
    ✔ produces a signature with correct properties (1.979889ms)
    ✔ produces a valid Ed25519 signature (64 bytes) (0.79986ms)
    ✔ produces a cryptographically valid signature (1.440334ms)
    ✔ produces different signatures for different hashes (0.614234ms)
    ✔ produces different signatures for different signers (same hash) (0.997128ms)
    ✔ handles empty hash (edge case) (0.494181ms)
  ✔ Ed25519TransactionSigner.sign() (13.189074ms)
  ▶ Ed25519TransactionSigner.getFingerprint()
    ✔ returns the fingerprint computed during construction (0.473742ms)
    ✔ returns a 68-character hex string (0.920305ms)
  ✔ Ed25519TransactionSigner.getFingerprint() (1.563293ms)
  ▶ Integration: multiple signers with same party
    ✔ allows multiple signers for the same party with different keys (0.866705ms)
  ✔ Integration: multiple signers with same party (0.991707ms)
✔ canton/signer (27.807581ms)
▶ fetchChainsFromRpcs
  ✔ lets duplicate tx-hash race endpoints query before aborting losers (14.751594ms)
  ✔ chainGetter: returns chain from first winning endpoint and destroys late arrivals (51.750867ms)
  ✔ chainGetter: resolves a pending request once the endpoint connects (Branch 2) (21.584955ms)
  ✔ chainGetter: rejects with CCIPRpcNotFoundError when all endpoints fail to connect (1.484235ms)
  ✔ chainGetter: rejects immediately with CCIPRpcNotFoundError once family is already exhausted (0.710855ms)
  ✔ txHash: rejects with CCIPTransactionNotFoundError when tx not on any chain (0.964407ms)
  ✔ txHash: Branch-4 (txOnlyRacer) is destroyed via catch when it loses the tx race (9.745466ms)
  ✔ txHash: chain connecting after txFoundIn is set is immediately destroyed without calling getTransaction (24.245895ms)
  ✔ txHash: Branch-2 chain given to a pending chainGetter is NOT destroyed when it cannot find the tx (13.733978ms)
  ✔ txFoundIn shared across families: SVM txOnlyRacer is destroyed after EVM wins (34.189228ms)
✔ fetchChainsFromRpcs (175.654703ms)
ℹ tests 98
ℹ suites 33
ℹ pass 98
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 105526.494006
---------------------------------------|---------|----------|---------|---------|-------------------
File                                   | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
---------------------------------------|---------|----------|---------|---------|-------------------
All files                              |   74.31 |    78.04 |   58.74 |   74.31 |                   
 ccip-cli/src                          |   90.16 |    59.25 |      75 |   90.16 |                   
  index.ts                             |   90.16 |    59.25 |      75 |   90.16 | ...68-169,175-180 
 ccip-cli/src/commands                 |      53 |    72.26 |   61.01 |      53 |                   
  index.ts                             |     100 |      100 |     100 |     100 |                   
  lane-latency.ts                      |   72.56 |     90.9 |   33.33 |   72.56 | ...,63-70,105-111 
  lane.ts                              |   85.25 |       70 |     100 |   85.25 | ...34-137,141-143 
  manual-exec.ts                       |   22.87 |      100 |       0 |   22.87 | ...28-138,140-304 
  parse.ts                             |   57.14 |      100 |       0 |   57.14 | 46-50,57-64,66-91 
  search.ts                            |   81.25 |      100 |       0 |   81.25 | 24-29             
  send.ts                              |   14.46 |      100 |       0 |   14.46 | ...90-221,223-484 
  show.ts                              |   77.11 |    61.11 |     100 |   77.11 | ...88-291,319-320 
  supported-tokens.ts                  |   16.85 |      100 |       0 |   16.85 | ...61-335,337-350 
  token.ts                             |   22.72 |      100 |       0 |   22.72 | ...3,60-67,69-132 
  types.ts                             |     100 |      100 |     100 |     100 |                   
  utils.ts                             |   88.08 |    74.84 |   96.42 |   88.08 | ...15-625,633-641 
 ccip-cli/src/commands/search          |   49.19 |    82.85 |    12.5 |   49.19 |                   
  messages.ts                          |   49.19 |    82.85 |    12.5 |   49.19 | ...89-211,213-248 
 ccip-cli/src/providers                |   57.27 |       85 |   35.29 |   57.27 |                   
  aptos.ts                             |   51.47 |      100 |       0 |   51.47 | ...,95-96,105-136 
  canton.ts                            |   85.33 |     90.9 |    87.5 |   85.33 | 179-191,206-225   
  evm.ts                               |    36.3 |      100 |       0 |    36.3 | ...69-104,116-168 
  index.ts                             |   79.23 |    82.81 |   83.33 |   79.23 | ...43-145,212-260 
  solana.ts                            |   47.44 |      100 |       0 |   47.44 | ...02-103,112-137 
  sui.ts                               |   64.28 |      100 |       0 |   64.28 | 10-14             
  ton.ts                               |   15.03 |      100 |       0 |   15.03 | 24-153            
 ccip-sdk/src                          |   95.33 |    86.31 |   93.65 |   95.33 |                   
  chain.ts                             |   94.55 |    79.13 |   80.64 |   94.55 | ...2072,2105-2106 
  commits.ts                           |   72.47 |    95.23 |      50 |   72.47 | 75-123            
  execution.ts                         |   92.45 |    92.59 |     100 |   92.45 | 137-144,156-163   
  explorer.ts                          |     100 |      100 |     100 |     100 |                   
  extra-args.ts                        |     100 |    89.47 |     100 |     100 | 213,248,285,300   
  fetch.ts                             |   98.68 |     95.1 |   97.14 |   98.68 | ...66-567,643-644 
  gas.ts                               |   93.28 |    61.29 |     100 |   93.28 | ...92-196,250-261 
  http-status.ts                       |     100 |      100 |     100 |     100 |                   
  index.ts                             |     100 |      100 |     100 |     100 |                   
  messages.ts                          |   88.53 |    45.09 |     100 |   88.53 | ...30-231,255-256 
  networks.ts                          |     100 |      100 |     100 |     100 |                   
  offchain.ts                          |   94.19 |       80 |     100 |   94.19 | ...25-227,236-237 
  requests.ts                          |   95.89 |    87.66 |     100 |   95.89 | ...24-625,650-652 
  supported-chains.ts                  |     100 |      100 |     100 |     100 |                   
  types.ts                             |     100 |      100 |     100 |     100 |                   
  utils.ts                             |   97.05 |    90.97 |     100 |   97.05 | ...35,237,577-585 
 ccip-sdk/src/api                      |   90.48 |       85 |   88.88 |   90.48 |                   
  index.ts                             |   90.48 |       85 |   88.88 |   90.48 | ...03-806,809-812 
 ccip-sdk/src/aptos                    |    62.6 |    69.82 |   61.01 |    62.6 |                   
  exec.ts                              |   29.31 |      100 |       0 |   29.31 | 18-58             
  hasher.ts                            |   75.89 |       80 |   66.66 |   75.89 | 17-36,50-56       
  index.ts                             |   66.69 |    77.14 |   64.28 |   66.69 | ...1005,1009-1020 
  logs.ts                              |   88.71 |    51.92 |   85.71 |   88.71 | ...92,197,199-210 
  send.ts                              |    25.8 |      100 |       0 |    25.8 | ...2,63-80,93-124 
  token.ts                             |   23.75 |       75 |     100 |   23.75 | 35-156            
  types.ts                             |   65.97 |      100 |       0 |   65.97 | 26-33,65-89       
 ccip-sdk/src/canton                   |      34 |    63.63 |       5 |      34 |                   
  events.ts                            |   35.67 |      100 |       0 |   35.67 | ...71-383,389-398 
  index.ts                             |   29.07 |    55.55 |    5.97 |   29.07 | ...1863,1874-1878 
  types.ts                             |   88.05 |      100 |       0 |   88.05 | 55-62,149-159     
 ccip-sdk/src/canton/client            |   62.01 |     61.9 |   23.33 |   62.01 |                   
  client.ts                            |   60.12 |       60 |   23.33 |   60.12 | ...08-627,642-662 
  index.ts                             |     100 |      100 |     100 |     100 |                   
 ...dk/src/canton/explicit-disclosures |   69.45 |    70.83 |   35.29 |   69.45 |                   
  acs.ts                               |   82.87 |    70.21 |      80 |   82.87 | ...54-360,390-412 
  eds.ts                               |    54.7 |      100 |       0 |    54.7 | ...76-383,387-392 
 ccip-sdk/src/canton/token-metadata    |   62.64 |      100 |       0 |   62.64 |                   
  client.ts                            |   62.64 |      100 |       0 |   62.64 | 104-163,170-174   
 ...dk/src/canton/transfer-instruction |   52.15 |      100 |       0 |   52.15 |                   
  client.ts                            |   52.15 |      100 |       0 |   52.15 | 92-175,182-186    
 ccip-sdk/src/errors                   |    86.8 |    73.59 |   48.09 |    86.8 |                   
  CCIPError.ts                         |     100 |      100 |     100 |     100 |                   
  codes.ts                             |     100 |      100 |     100 |     100 |                   
  index.ts                             |     100 |      100 |     100 |     100 |                   
  pure.ts                              |     100 |       75 |     100 |     100 | 32                
  recovery.ts                          |     100 |      100 |     100 |     100 |                   
  specialized.ts                       |   83.81 |     68.2 |   45.16 |   83.81 | ...3609,3746-3755 
  utils.ts                             |   94.44 |    81.48 |     100 |   94.44 | 15,17,22,24       
 ccip-sdk/src/evm                      |   87.84 |    76.13 |   89.41 |   87.84 |                   
  const.ts                             |     100 |      100 |     100 |     100 |                   
  errors.ts                            |   89.87 |    79.24 |     100 |   89.87 | ...76,224-227,232 
  extra-args.ts                        |   94.47 |    61.01 |     100 |   94.47 | ...11-212,328-340 
  fork.test.data.ts                    |     100 |      100 |     100 |     100 |                   
  gas.ts                               |   97.97 |    53.33 |     100 |   97.97 | 72-73,75          
  hasher.ts                            |     100 |     92.3 |     100 |     100 | 135               
  index.ts                             |   82.85 |    75.77 |   88.88 |   82.85 | ...2272,2274-2318 
  logs.ts                              |   74.18 |    84.74 |      60 |   74.18 | ...51-152,204-243 
  messages.ts                          |     100 |      100 |     100 |     100 |                   
  offchain.ts                          |   81.25 |    33.33 |     100 |   81.25 | 11,13-14          
  types.ts                             |     100 |      100 |     100 |     100 |                   
 ccip-sdk/src/evm/viem                 |   79.76 |    90.62 |   69.23 |   79.76 |                   
  client-adapter.ts                    |     100 |       90 |     100 |     100 | 48,74             
  index.ts                             |     100 |      100 |     100 |     100 |                   
  wallet-adapter.ts                    |   63.09 |     90.9 |   55.55 |   63.09 | ...91-124,131-157 
 ccip-sdk/src/hasher                   |   94.29 |    78.94 |     100 |   94.29 |                   
  common.ts                            |     100 |      100 |     100 |     100 |                   
  hasher.ts                            |     100 |    66.66 |     100 |     100 | 19                
  index.ts                             |     100 |      100 |     100 |     100 |                   
  merklemulti.ts                       |   93.43 |       78 |     100 |   93.43 | ...06-307,315-316 
 ccip-sdk/src/shared                   |   90.29 |    76.92 |     100 |   90.29 |                   
  bcs-codecs.ts                        |   90.15 |       75 |     100 |   90.15 | 75-87             
  constants.ts                         |     100 |      100 |     100 |     100 |                   
 ccip-sdk/src/solana                   |   75.81 |    69.59 |   80.68 |   75.81 |                   
  cleanup.ts                           |   26.95 |    66.66 |   33.33 |   26.95 | ...59-101,114-227 
  exec.ts                              |   69.11 |    62.96 |   66.66 |   69.11 | ...69-473,513-514 
  fork.test.data.ts                    |     100 |      100 |     100 |     100 |                   
  gas.ts                               |   92.06 |    68.57 |     100 |   92.06 | ...,81-90,170-171 
  hasher.ts                            |   96.49 |    81.81 |     100 |   96.49 | 64-67             
  index.ts                             |   79.01 |    74.04 |   82.35 |   79.01 | ...1705,1709-1742 
  logs.ts                              |   69.35 |    63.33 |     100 |   69.35 | 51-52,54-55,61-94 
  offchain.ts                          |     100 |      100 |     100 |     100 |                   
  patchBorsh.ts                        |   78.31 |       50 |     100 |   78.31 | ...47,65-66,72-78 
  send.ts                              |    77.6 |    33.33 |      80 |    77.6 | ...52-360,403-442 
  types.ts                             |     100 |      100 |     100 |     100 |                   
  utils.ts                             |   72.91 |    65.62 |   72.72 |   72.91 | ...42-444,476-491 
 ccip-sdk/src/sui                      |   34.74 |    86.66 |      20 |   34.74 |                   
  discovery.ts                         |   14.86 |      100 |       0 |   14.86 | ...49-185,188-222 
  events.ts                            |   30.94 |       50 |      25 |   30.94 | ...18-283,305-306 
  exec.ts                              |   31.81 |      100 |       0 |   31.81 | 32-75,87-132      
  hasher.ts                            |   98.18 |    66.66 |     100 |   98.18 | 34,50             
  index.ts                             |   39.57 |    93.18 |   18.91 |   39.57 | ...14-815,819-820 
  objects.ts                           |   18.93 |      100 |       0 |   18.93 | ...33-184,195-338 
 ccip-sdk/src/sui/manuallyExec         |   54.12 |       75 |      50 |   54.12 |                   
  encoder.ts                           |    83.9 |    66.66 |     100 |    83.9 | 51-58,73-77,82    
  index.ts                             |   34.35 |      100 |       0 |   34.35 | 46-131            
 ccip-sdk/src/ton                      |   79.77 |    78.31 |      80 |   79.77 |                   
  exec.ts                              |     100 |      100 |     100 |     100 |                   
  extra-args.ts                        |   98.66 |    72.72 |     100 |   98.66 | 156-157,222       
  hasher.ts                            |   78.07 |    77.77 |      75 |   78.07 | 100-108,156-187   
  index.ts                             |   77.02 |    74.01 |   66.66 |   77.02 | ...1301,1308-1309 
  logs.ts                              |     100 |    95.55 |     100 |     100 | 66-71             
  send.ts                              |   95.93 |       70 |     100 |   95.93 | 37-44             
  types.ts                             |   91.24 |    81.25 |     100 |   91.24 | ...61-63,71-74,92 
  utils.ts                             |    63.1 |    77.77 |    90.9 |    63.1 | ...37-395,397-400 
---------------------------------------|---------|----------|---------|---------|-------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants