codesamplex

サンプル

Prove that oversized SQLite INTEGER values are no longer silently truncated when decoded into `i32`.

sha256:fe04c033ed20a4aa8fe422091e4de537956a26f01ac407972d1d2f10721268b1

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Prove that oversized SQLite INTEGER values are no longer silently truncated when decoded into `i32`. HOW
パッケージ
sqlx 0.8.6
環境
rust
作成日
2026-08-16T11:20:04Z

よくある思い込み

A value larger than `i32::MAX` can still be decoded into `i32`, with SQLite-like truncation happening behind the scenes.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート