Skip to content

Commit 2232adc

Browse files
committed
remove audit label in comments
1 parent bffaba3 commit 2232adc

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

crates/pipe-exec-layer-ext-v2/execute/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ enum SystemTxnExecutionOutcome {
301301
EpochChanged(ExecuteOrderedBlockResult),
302302
}
303303

304-
// DESIGN(GRETH-021, GRETH-028): This validation is intentionally debug-only.
304+
// DESIGN: This validation is intentionally debug-only.
305305
// These checks (gas overflow, gas accounting consistency, timestamp-unit sanity)
306306
// detect logic bugs during development and testing. They are not needed in
307307
// production and use `panic!` which is inappropriate for release builds.
@@ -815,7 +815,7 @@ impl<Storage: GravityStorage> Core<Storage> {
815815
precompile_state.merge_transitions(BundleRetention::Reverts);
816816
let precompile_bundle = precompile_state.take_bundle();
817817

818-
// DESIGN(GRETH-026): Using `insert` (shallow merge) is intentional here.
818+
// DESIGN: Using `insert` (shallow merge) is intentional here.
819819
// The mint precompile only modifies regular user accounts (mint recipients),
820820
// which are disjoint from accounts touched by system transactions
821821
// (SYSTEM_CALLER, on-chain config contracts). The two state domains are

crates/pipe-exec-layer-ext-v2/execute/src/onchain_config/metadata_txn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ pub fn transact_system_txn(
197197
let tx_env = Recovered::new_unchecked(txn.clone(), SYSTEM_CALLER).into_tx_env();
198198
let result = evm.transact_raw(tx_env).unwrap();
199199

200-
// DESIGN(GRETH-025): System transaction failures are intentionally logged, not asserted.
200+
// DESIGN: System transaction failures are intentionally logged, not asserted.
201201
// DKG and JWK system transactions can legitimately fail or revert, so a hard
202202
// assert would crash the node on valid failure scenarios. Graceful handling
203203
// (logging + continuing) is the correct behavior here.

crates/pipe-exec-layer-ext-v2/relayer/src/blockchain_source.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ impl LastProcessedEvent {
8888
/// This is the primary data source for cross-chain message bridging.
8989
/// Tracks `last_processed` to ensure exactly-once consumption semantics.
9090
///
91-
/// DESIGN(GRETH-027): All RPC calls (`eth_getLogs`, `eth_getBlockReceipts`) use the
91+
/// DESIGN: All RPC calls (`eth_getLogs`, `eth_getBlockReceipts`) use the
9292
/// same `rpc_client` endpoint. This is an acknowledged architectural limitation — a
9393
/// fully compromised RPC could forge mutually consistent responses. The current threat
9494
/// model assumes the RPC endpoint is trusted. Multi-endpoint or Merkle-proof

crates/storage/db/src/implementation/rocksdb/cursor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ impl<K: TransactionKind, T: Table> DbCursorRO<T> for Cursor<K, T> {
270270
impl<T: Table> DbCursorRW<T> for Cursor<RW, T> {
271271
/// Insert or update a key-value pair in the database.
272272
///
273-
/// # Read-Your-Writes Limitation (GRETH-014)
273+
/// # Read-Your-Writes Limitation
274274
///
275275
/// Writes are buffered in a `WriteBatch` and are **not visible to subsequent
276276
/// read operations** (`seek`, `current`, `get`) on the same cursor within the

0 commit comments

Comments
 (0)