Skip to content

docs: document jsonStringify for writing and clarify the .0 integer convention - #332

Open
aelmanaa wants to merge 1 commit into
mainfrom
docs/json-bigint-write-side
Open

docs: document jsonStringify for writing and clarify the .0 integer convention#332
aelmanaa wants to merge 1 commit into
mainfrom
docs/json-bigint-write-side

Conversation

@aelmanaa

@aelmanaa aelmanaa commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

This pull request updates the documentation to clarify how to handle JSON serialization and integer precision when working with the SDK, especially regarding bigint values. The changes help users avoid common pitfalls when reading and writing JSON with large integers.

Improvements to JSON serialization guidance:

  • Added instructions to use jsonStringify from @chainlink/ccip-sdk for serializing objects containing bigint values, since the standard JSON.stringify does not support bigint and throws an error. Also clarified that jsonParse and jsonStringify should be used together to ensure compatibility and full precision.
  • Explained that fields parsed as bigint should be compared to bigint literals (e.g., 11n) and not to number literals (e.g., 11).

Clarifications on integer precision conventions:

  • Clarified that the .0 suffix used by jsonStringify to indicate safe casting to number is a convention, not a requirement; values without the suffix (like 2) are still parsed as bigint and accepted by the SDK's public interfaces. This ensures compatibility with sources that do not use the .0 suffix, such as Python, Go, and Postgres.

@aelmanaa
aelmanaa requested review from a team as code owners August 6, 2026 11:00
@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

You must have Developer access to commit code to Chainlink Labs on Vercel. If you contact an administrator and receive Developer access, commit again to see your changes.

Learn more: https://vercel.com/docs/accounts/team-members-and-roles/access-roles#team-level-roles

@aelmanaa
aelmanaa requested a review from andrevmatos August 6, 2026 11:01
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

👋 aelmanaa, 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!

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

Coverage Report

ℹ tests 1171
ℹ suites 295
ℹ pass 1171
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 196817.526467

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

✔ src/commands/e2e-helpers.test.ts (126.249032ms)
Verbose mode enabled
▶ getCtx
  ▶ output — always stdout
    ✔ output.write goes to stdout (1.807017ms)
    ✔ output.table goes to stdout (1.231218ms)
  ✔ output — always stdout (4.506948ms)
  ▶ logger — always stderr
    ✔ logger.info goes to stderr (0.8161ms)
    ✔ logger.warn goes to stderr (0.393027ms)
    ✔ logger.error goes to stderr (0.604232ms)
  ✔ logger — always stderr (2.121456ms)
  ▶ verbose mode
    ✔ logger.debug is a no-op when verbose is false (0.687301ms)
    ✔ logger.debug goes to stderr when verbose is true (1.914849ms)
  ✔ verbose mode (3.096395ms)
  ▶ destroy signal
    ✔ returns a working destroy function (12.606508ms)
    ✔ calling destroy twice does not throw (0.70992ms)
  ✔ destroy signal (13.804874ms)
✔ getCtx (24.673478ms)
▶ lane-latency command
  ✔ should output JSON format correctly (13.725557ms)
  ✔ should resolve chain IDs to chain selectors (2.0116ms)
  ✔ should use custom API URL when provided (3.115019ms)
  ✔ should output log format correctly (2.40617ms)
  ✔ should handle chain IDs as input (1.908219ms)
  ✔ should handle chain selectors as input (1.18942ms)
  ✔ should throw CCIPApiClientNotAvailableError when --no-api flag is set (1.252958ms)
  ✔ should work normally when --no-api flag is false (1.40848ms)
  ✔ should forward blockConfirmations to API URL (1.057301ms)
  ✔ should not include numOfBlocks when blockConfirmations is not provided (1.454236ms)
  ▶ CCIP_API environment variable integration
    ✔ should respect CCIP_API=false environment variable (0.558497ms)
  ✔ CCIP_API environment variable integration (0.758382ms)
✔ lane-latency command (32.417045ms)
▶ e2e command lane EVM v1.5
  ✔ should show lane config Sepolia -> Fuji (v1.5) in JSON (4684.263153ms)
  ✔ should show lane config Sepolia -> Fuji (v1.5) in pretty format (7118.247374ms)
✔ e2e command lane EVM v1.5 (11805.442663ms)
▶ e2e command lane EVM v2.0
  ✔ should show lane config Sepolia -> Fuji (v2.0) in JSON (2941.396165ms)
✔ e2e command lane EVM v2.0 (2941.702168ms)
▶ e2e command lane EVM <-> Aptos (v1.6)
  ✔ should show lane config Sepolia -> Aptos (v1.6) (3561.456131ms)
  ✔ should show lane config Aptos -> Sepolia (v1.6) (4784.392008ms)
✔ e2e command lane EVM <-> Aptos (v1.6) (8346.337877ms)
▶ e2e command lane EVM <-> Solana (v1.6)
  ✔ should show lane config Sepolia -> Solana (v1.6) (3633.491037ms)
  ✔ should show lane config Solana -> Sepolia (v1.6) (4690.040896ms)
✔ e2e command lane EVM <-> Solana (v1.6) (8324.072335ms)
▶ e2e command lane EVM <-> TON (v1.6)
  ✔ should show lane config TON -> Sepolia (v1.6) (49677.657807ms)
  ✔ should show lane config Sepolia -> TON (v1.6) (15646.37521ms)
✔ e2e command lane EVM <-> TON (v1.6) (65324.470547ms)
▶ selectRequest non-interactive behavior
  ✔ returns the single request without prompting (1.452592ms)
  ✔ returns the request matching logIndex (0.234689ms)
  ✔ throws CCIPInteractiveRequiredError for multiple requests without logIndex (1.791879ms)
✔ selectRequest non-interactive behavior (5.304042ms)
▶ CCIPInteractiveRequiredError
  ✔ has correct code and is not transient (0.344236ms)
  ✔ uses default recovery when none provided (0.40013ms)
  ✔ preserves context fields (0.249067ms)
✔ CCIPInteractiveRequiredError (1.279368ms)
▶ preprocessArgv TTY auto-detection
  ✔ --interactive flag is defined in globalOpts (0.219121ms)
✔ preprocessArgv TTY auto-detection (0.414537ms)
▶ search messages command
  ✔ should throw CCIPApiClientNotAvailableError when --no-api flag is set (3.166204ms)
  ✔ should output JSON format correctly (14.641785ms)
  ✔ should pass sender filter to API (3.241476ms)
  ✔ should pass receiver filter to API (4.456894ms)
  ✔ should resolve source chain to selector (6.032539ms)
  ✔ should resolve dest chain to selector (3.230656ms)
  ✔ should pass manual-exec-only filter to API (4.094294ms)
  ✔ should treat limit 0 as unlimited (5.253667ms)
  ✔ should respect limit parameter (6.19898ms)
  ✔ should warn when no results found (1.06669ms)
  ✔ should use custom API URL when provided (2.861965ms)
  ✔ should warn on negative limit and fall back to default (2.293108ms)
  ✔ should output log format (2.350476ms)
✔ search messages command (61.422403ms)
▶ e2e command show EVM
  ▶ pretty format (default)
    ✔ should show complete CCIP transaction details EVM to EVM (7735.49513ms)
  ✔ pretty format (default) (7736.873524ms)
  ▶ json format
    ✔ should output a single valid JSON envelope with all expected fields (6251.032462ms)
  ✔ json format (6251.346871ms)
  ▶ log format
    ✔ should output in log format with object assignments (5187.079694ms)
  ✔ log format (5187.453284ms)
  ▶ verbose flag
    ✔ should work with verbose flag enabled (8187.435887ms)
  ✔ verbose flag (8187.819897ms)
  ▶ error handling
    ✔ should handle invalid transaction hash gracefully (6519.145093ms)
    ✔ should require transaction hash argument (1621.98827ms)
  ✔ error handling (8141.518015ms)
  ✔ should show complete CCIP transaction details EVM to Aptos (7437.178844ms)
  ✔ should show complete CCIP transaction details EVM to Solana (6586.186126ms)
  ✔ should show EVM to Solana v2 OffRamp execution without verifications (2759.5207ms)
✔ e2e command show EVM (52289.603728ms)
▶ e2e command show Solana
  ✔ should show complete CCIP transaction details Solana to EVM (10312.373127ms)
✔ e2e command show Solana (10312.61482ms)
▶ e2e command show Aptos
  ✔ should show complete CCIP transaction details Aptos to EVM (7115.684625ms)
✔ e2e command show Aptos (7115.922231ms)
﹣ e2e command show TON (0.062637ms) # SKIP
▶ formatCCIPError
  ✔ should return null for non-CCIPError instances (1.675831ms)
  ✔ should format CCIPError with code and message (0.745056ms)
  ✔ should include help section with recovery hint (0.289943ms)
  ✔ should include note section for transient errors (0.361738ms)
  ✔ should include retry timing for transient errors with retryAfterMs (1.027737ms)
  ✔ should not include note section for permanent errors (0.253284ms)
  ✔ should format error with structured output (0.25644ms)
  ✔ should include stack trace when verbose is true (0.504064ms)
  ✔ should not include stack trace when verbose is false (1.855478ms)
✔ formatCCIPError (9.520986ms)
▶ yieldResolved
  ✔ throws if a promise rejects while the generator is paused after a yield (13.224737ms)
✔ yieldResolved (13.599049ms)
▶ canton/signer
  ▶ Ed25519TransactionSigner constructor
    ✔ constructs with a valid 64-char hex seed (10.987624ms)
    ✔ constructs with a 0x-prefixed seed (0.551774ms)
    ✔ throws when seed is too short (2.738994ms)
    ✔ throws when seed is too long (0.222537ms)
    ✔ throws when seed contains non-hex characters (0.197821ms)
    ✔ computes the correct Canton fingerprint (2.713976ms)
    ✔ produces different fingerprints for different seeds (1.146228ms)
  ✔ Ed25519TransactionSigner constructor (20.69533ms)
  ▶ Ed25519TransactionSigner.sign()
    ✔ returns a PartySignatures structure (1.410815ms)
    ✔ includes the correct party ID (0.790822ms)
    ✔ produces a signature with correct properties (1.407778ms)
    ✔ produces a valid Ed25519 signature (64 bytes) (0.696656ms)
    ✔ produces a cryptographically valid signature (1.790697ms)
    ✔ produces different signatures for different hashes (0.702486ms)
    ✔ produces different signatures for different signers (same hash) (0.962214ms)
    ✔ handles empty hash (edge case) (0.549721ms)
  ✔ Ed25519TransactionSigner.sign() (9.436216ms)
  ▶ Ed25519TransactionSigner.getFingerprint()
    ✔ returns the fingerprint computed during construction (0.539592ms)
    ✔ returns a 68-character hex string (0.46935ms)
  ✔ Ed25519TransactionSigner.getFingerprint() (1.180032ms)
  ▶ Integration: multiple signers with same party
    ✔ allows multiple signers for the same party with different keys (1.09375ms)
  ✔ Integration: multiple signers with same party (1.226208ms)
✔ canton/signer (36.836173ms)
▶ fetchChainsFromRpcs
  ✔ lets duplicate tx-hash race endpoints query before aborting losers (15.23722ms)
  ✔ chainGetter: returns chain from first winning endpoint and destroys late arrivals (51.483046ms)
  ✔ chainGetter: resolves a pending request once the endpoint connects (Branch 2) (20.669401ms)
  ✔ chainGetter: rejects with CCIPRpcNotFoundError when all endpoints fail to connect (1.690328ms)
  ✔ chainGetter: rejects immediately with CCIPRpcNotFoundError once family is already exhausted (0.646962ms)
  ✔ txHash: rejects with CCIPTransactionNotFoundError when tx not on any chain (0.840646ms)
  ✔ txHash: Branch-4 (txOnlyRacer) is destroyed via catch when it loses the tx race (11.221633ms)
  ✔ txHash: chain connecting after txFoundIn is set is immediately destroyed without calling getTransaction (23.892212ms)
  ✔ txHash: Branch-2 chain given to a pending chainGetter is NOT destroyed when it cannot find the tx (12.804269ms)
  ✔ txFoundIn shared across families: SVM txOnlyRacer is destroyed after EVM wins (35.120698ms)
✔ fetchChainsFromRpcs (176.311135ms)
▶ isCantonLedgerUrl
  ✔ matches Canton JSON Ledger API paths (0.151744ms)
  ✔ does not match EVM JSON-RPC URLs (0.142697ms)
✔ isCantonLedgerUrl (0.420899ms)
▶ filterEndpointsForFamily
  ✔ gives Canton only ledger URLs (0.139071ms)
  ✔ gives EVM only non-ledger URLs (0.100278ms)
✔ filterEndpointsForFamily (0.331061ms)
▶ resolveRouter
  ✔ returns explicit CLI -r for any source family (0.173555ms)
  ✔ returns undefined for EVM source without -r (0.079749ms)
✔ resolveRouter (0.349666ms)
▶ resolveCliIndexer
  ✔ prefers explicit CLI --indexer values (0.194585ms)
  ✔ falls back to canton-config indexerUrl when the lane involves Canton (0.095809ms)
  ✔ does not fall back to canton-config indexerUrl for EVM-only lanes (0.07963ms)
  ✔ returns undefined when neither CLI nor config provides an indexer (0.069119ms)
✔ resolveCliIndexer (0.580488ms)
▶ resolveCliRouter
  ✔ prefers explicit CLI -r on Canton source (0.155451ms)
  ✔ prefers explicit CLI -r on EVM source even when canton-config has senderInstanceId (0.078887ms)
  ✔ falls back to canton-config senderInstanceId for Canton source (0.073919ms)
  ✔ does not fall back to senderInstanceId for EVM source (0.100769ms)
✔ resolveCliRouter (0.57089ms)
ℹ tests 113
ℹ suites 38
ℹ pass 113
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 97048.983379
---------------------------------------|---------|----------|---------|---------|-------------------
File                                   | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
---------------------------------------|---------|----------|---------|---------|-------------------
All files                              |   77.27 |    78.66 |   65.12 |   77.27 |                   
 ccip-cli/src                          |   90.42 |    59.25 |      75 |   90.42 |                   
  index.ts                             |   90.42 |    59.25 |      75 |   90.42 | ...73-174,180-185 
 ccip-cli/src/commands                 |   50.99 |    73.14 |   61.66 |   50.99 |                   
  index.ts                             |     100 |      100 |     100 |     100 |                   
  lane-latency.ts                      |   72.56 |       90 |   33.33 |   72.56 | ...,63-70,105-111 
  lane.ts                              |   85.25 |       70 |     100 |   85.25 | ...34-137,141-143 
  manual-exec.ts                       |   20.34 |      100 |       0 |   20.34 | ...39-149,151-347 
  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                              |   13.18 |      100 |       0 |   13.18 | ...03-231,233-546 
  show.ts                              |   75.62 |    63.75 |     100 |   75.62 | ...15-318,398-400 
  supported-tokens.ts                  |      17 |      100 |       0 |      17 | ...59-332,334-347 
  token.ts                             |    22.9 |      100 |       0 |    22.9 | ...3,60-67,69-131 
  types.ts                             |     100 |      100 |     100 |     100 |                   
  utils.ts                             |   87.39 |    75.75 |   96.42 |   87.39 | ...99-609,617-625 
 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                |   61.41 |    87.82 |      45 |   61.41 |                   
  aptos.ts                             |   51.47 |      100 |       0 |   51.47 | ...,95-96,105-136 
  canton.ts                            |   85.71 |    96.29 |      90 |   85.71 | 185-203,254-273   
  evm.ts                               |    36.3 |      100 |       0 |    36.3 | ...69-104,116-168 
  index.ts                             |   84.86 |    84.33 |      90 |   84.86 | 130-131,289-337   
  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                          |   94.77 |    86.05 |   92.18 |   94.77 |                   
  chain.ts                             |   96.05 |    76.96 |   84.37 |   96.05 | ...2249,2282-2283 
  commits.ts                           |    90.9 |    74.19 |     100 |    90.9 | ...06,115-118,120 
  execution.ts                         |   87.04 |    81.81 |     100 |   87.04 | ...76-183,189-196 
  explorer.ts                          |     100 |      100 |     100 |     100 |                   
  extra-args.ts                        |     100 |    89.47 |     100 |     100 | 225,260,297,312   
  fetch.ts                             |   98.23 |    94.05 |   97.14 |   98.23 | ...09-610,686-687 
  gas.ts                               |   85.16 |    85.18 |      80 |   85.16 | ...96-307,416-465 
  http-status.ts                       |     100 |      100 |     100 |     100 |                   
  index.ts                             |     100 |      100 |     100 |     100 |                   
  messages.ts                          |    79.2 |    46.15 |      40 |    79.2 | ...99-310,314-327 
  networks.ts                          |     100 |      100 |     100 |     100 |                   
  offchain.ts                          |   84.64 |    76.92 |     100 |   84.64 | ...18-227,236-237 
  requests.ts                          |   95.28 |    91.01 |     100 |   95.28 | ...39-640,665-670 
  supported-chains.ts                  |     100 |      100 |     100 |     100 |                   
  types.ts                             |     100 |      100 |     100 |     100 |                   
  utils.ts                             |   98.23 |    93.38 |     100 |   98.23 | ...98,203-204,206 
 ccip-sdk/src/api                      |   94.31 |    84.78 |   94.73 |   94.31 |                   
  index.ts                             |   94.31 |    84.78 |   94.73 |   94.31 | ...39-842,845-848 
 ccip-sdk/src/aptos                    |   62.43 |    68.48 |   61.01 |   62.43 |                   
  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.5 |    75.75 |   64.28 |    66.5 | ...1008,1012-1023 
  logs.ts                              |   86.86 |    51.85 |   85.71 |   86.86 | ...08-214,216-227 
  send.ts                              |    25.6 |      100 |       0 |    25.6 | ...2,63-80,93-125 
  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                   |   44.72 |    76.56 |   31.66 |   44.72 |                   
  amount.ts                            |   92.59 |       70 |     100 |   92.59 | 22-23             
  ccv-addresses.ts                     |     100 |    91.07 |     100 |     100 | 13,30,64,67       
  defaults.ts                          |   99.28 |    90.24 |     100 |   99.28 | 93                
  events.ts                            |   45.74 |     52.5 |   23.52 |   45.74 | ...13-525,531-540 
  index.ts                             |    33.5 |     60.6 |   12.82 |    33.5 | ...2517,2520-2522 
  types.ts                             |   95.34 |      100 |      50 |   95.34 | 55-62             
  update-id.ts                         |   98.11 |    88.88 |     100 |   98.11 | 52                
 ccip-sdk/src/canton/client            |   56.53 |     61.9 |   20.58 |   56.53 |                   
  client.ts                            |   54.67 |       60 |   20.58 |   54.67 | ...16-735,750-770 
  index.ts                             |     100 |      100 |     100 |     100 |                   
 ...dk/src/canton/explicit-disclosures |   75.11 |    69.35 |    55.1 |   75.11 |                   
  acs.ts                               |   87.36 |     69.1 |      90 |   87.36 | ...20,568,606-607 
  eds.ts                               |   54.79 |      100 |       0 |   54.79 | ...79-386,390-395 
 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 |    53.4 |      100 |       0 |    53.4 |                   
  client.ts                            |    53.4 |      100 |       0 |    53.4 | 97-180,187-191    
 ccip-sdk/src/errors                   |   89.26 |     74.9 |   54.13 |   89.26 |                   
  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                       |   86.86 |    70.73 |   51.58 |   86.86 | ...3544,3567-3576 
  utils.ts                             |   94.44 |    81.48 |     100 |   94.44 | 15,17,22,24       
 ccip-sdk/src/evm                      |   91.78 |     81.9 |   93.57 |   91.78 |                   
  const.ts                             |     100 |      100 |     100 |     100 |                   
  errors.ts                            |   91.98 |    81.57 |     100 |   91.98 | ...85,239-242,247 
  extra-args.ts                        |   94.47 |    61.01 |     100 |   94.47 | ...11-212,328-340 
  fork.test.data.ts                    |     100 |      100 |     100 |     100 |                   
  gas.ts                               |   98.19 |    63.15 |     100 |   98.19 | 90-91,93          
  hasher.ts                            |     100 |     92.3 |     100 |     100 | 135               
  index.ts                             |   86.39 |    80.35 |   90.41 |   86.39 | ...2596,2753-2784 
  logs.ts                              |   98.84 |    91.75 |     100 |   98.84 | 65-66,71-72       
  messageCodec.ts                      |     100 |      100 |     100 |     100 |                   
  messages.ts                          |     100 |      100 |     100 |     100 |                   
  offchain.ts                          |    87.5 |    71.42 |     100 |    87.5 | 13-14             
  simulate.ts                          |     100 |    94.91 |     100 |     100 | 109-111,425       
  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                   |   92.56 |       90 |     100 |   92.56 |                   
  bcs-codecs.ts                        |   90.15 |       75 |     100 |   90.15 | 75-87             
  codec.ts                             |   94.17 |    92.98 |     100 |   94.17 | 135-136,174-182   
  constants.ts                         |     100 |      100 |     100 |     100 |                   
 ccip-sdk/src/solana                   |   76.36 |    69.87 |   81.73 |   76.36 |                   
  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 
  extra-args.ts                        |     100 |    71.42 |     100 |     100 | 20-21             
  fork.test.data.ts                    |     100 |      100 |     100 |     100 |                   
  gas.ts                               |   92.02 |    68.57 |     100 |   92.02 | ...,80-89,169-170 
  hasher.ts                            |   96.49 |    81.81 |     100 |   96.49 | 64-67             
  index.ts                             |   77.97 |    74.91 |   81.13 |   77.97 | ...2021,2025-2058 
  logs.ts                              |   69.59 |    62.16 |     100 |   69.59 | ...28-129,139-140 
  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 
  signatures-cache.ts                  |   79.78 |    69.23 |    87.5 |   79.78 | ...51-260,274-275 
  types.ts                             |     100 |      100 |     100 |     100 |                   
  utils.ts                             |   77.44 |     64.7 |   81.25 |   77.44 | ...54-556,588-603 
 ccip-sdk/src/sui                      |   64.63 |    68.98 |    58.2 |   64.63 |                   
  discovery.ts                         |    62.9 |    55.26 |   66.66 |    62.9 | ...77-299,303-337 
  events.ts                            |   92.85 |    61.81 |      90 |   92.85 | ...32-236,285-296 
  exec.ts                              |   32.19 |      100 |       0 |   32.19 | 37-89,101-146     
  hasher.ts                            |   98.18 |    66.66 |     100 |   98.18 | 34,50             
  index.ts                             |   64.66 |    75.29 |   46.15 |   64.66 | ...65-866,870-871 
  objects.ts                           |    43.1 |    82.14 |   71.42 |    43.1 | ...43-194,205-348 
 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                      |   81.09 |    78.55 |   81.11 |   81.09 |                   
  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                             |   79.78 |    75.91 |   71.15 |   79.78 | ...1569,1576-1577 
  logs.ts                              |     100 |    94.54 |     100 |     100 | 74-79,111         
  send.ts                              |   95.52 |    66.66 |     100 |   95.52 | 37-44,188         
  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