> For the complete documentation index, see [llms.txt](https://docs.rome.builders/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rome.builders/ja/sekyuriti/known-limitations.md).

# 既知の制限

現在のRome EVMの制約とその影響 — 未対応のopcode、ストレージアカウントのレイアウト、CU上限、CPIの深さ、オラクルの制限。

Rome Protocol の現在の制約とその影響についての率直なドキュメント。

このページでは、Solana 上の Rome EVM チェーン（Rubicon と Hadrian）を扱います。Canton 上の ZK EVM である Ostia については、こちらを参照してください [何が証明され、何が証明されないか](https://docs.rome.builders/ja/canton-zk-evm/what-is-proven.md) および [ステータスとロードマップ](https://docs.rome.builders/ja/canton-zk-evm/status.md).

## 実行上の制限

**SELFDESTRUCT はサポートされていません。** このオペコードにはハンドラがないため、それを実行するコントラクトはトランザクション全体を中止します（下記参照）。単一のフレームをリバートするわけではありません。

**Rome が実装していないオペコードはトランザクション全体を中止させます。** インタープリタにはそのバイトに対するハンドラがないため、トランザクションは `IncompatibleVersionEVM(opcode)`何もコミットされず、失敗は呼び出し元コントラクトに飲み込まれることなく送信者に返されます。

**オペコードごとのガススケジュールはありません。** に渡されるガス値は `CALL`, `DELEGATECALL`, `STATICCALL` および `CREATE` ABI 互換性のために受け入れられますが、強制はされません。呼び出し先は呼び出し元の残り予算すべてで実行され、2300 ガスのスタイペンドはありません。スタイペンドベースの再入防止（`transfer()` / `send()`) は Rome では無効です。明示的な再入防止と checks-effects-interactions パターンを使用してください。

**Modexp (0x05) は無効化されています。** 呼び出しは `big_mod_exp 呼び出しは無効です` Solana が `big_mod_exp` syscall.

**ストレージアカウントごとに 256 個のストレージスロット。** コントラクトのストレージは、256 スロットずつの Solana アカウントに分割されます。ストレージ容量の大きいコントラクトは複数のアカウントを使用し、CU コストに影響します。

**原子的トランザクションあたり約 140 万コンピュートユニット。** 単一の Solana トランザクションの予算を超える処理は、反復実行（複数のトランザクションに分割）にフォールバックします。一部の操作は原子的実行のみで、反復実行できません。特にレガシートラックの CPI（`CpiProhibitedInIterativeTx`; キャッシュトラックの効果は段階的に適用され、反復実行できます）。

**CPI 深度の上限は 4 です。** 深くネストした CPI 呼び出しは失敗します。コントラクトは浅い呼び出しツリーになるよう設計してください。

## オラクルの制限

**履歴ラウンドデータはありません。** Oracle Gateway アダプタは `latestRoundData()` のみをサポートします。履歴価格クエリは `getRoundData(roundId)` リバートします。

**パーサーのオフセットは現在のレイアウトに対して検証されます。** Pyth と Switchboard のアカウントデータはバイトオフセットを使って解析されます。Pyth または Switchboard がアカウントレイアウトを変更すると、オフセットが再検証されるまでアダプタは誤ったデータを返します。

## ツールの制限

**Ethereum 風のトランザクション追跡はありません。** `debug_traceTransaction` および `trace_*` はサポートされていません。唯一のトレースメソッドは `debug_traceRomeTransaction`で、複数の呼び出しを 1 つのバッチにまとめたトランザクションを、そのサブコールと CPI に分解します。通常のトランザクションは `null` を返します。それ以外については、デバッグには `eth_call` そして [Via explorer](https://docs.rome.builders/ja/romenoapuri/via.md) （各トランザクションを、それを決済した Solana トランザクションに紐づけます）を使用してください。参照 [JSON-RPC](https://docs.rome.builders/ja/rifarensu/json-rpc.md).

**`eth_getLogs` は範囲に上限があります。** パブリックチェーンは、過度に広いブロック範囲を拒否します（エラー `-32005`）；クエリの範囲を絞ってください。参照 [JSON-RPC](https://docs.rome.builders/ja/rifarensu/json-rpc.md).

## インフラストラクチャの制限

**単一運営者モデル。** 各 Rome デプロイメントは単一の主体（payer pool operator）によって運用されます。分散型の運営者集合はありません。

**反復モードのロック。** 反復実行中はアカウントが数秒間ロックされるため、利用頻度の高いアカウントでは競合が発生することがあります。

## 次は何か

* [責任ある開示](https://docs.rome.builders/ja/sekyuriti/responsible-disclosure.md) — 問題の報告方法


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.rome.builders/ja/sekyuriti/known-limitations.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
