Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Commit 3dd7bd4

Browse files
zemseChihChengLiang
andcommitted
nit pics
Co-authored-by: Chih Cheng Liang <[email protected]>
1 parent 1b1a8a8 commit 3dd7bd4

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

bus-mapping/src/evm/opcodes/tload.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ impl Opcode for Tload {
4545
state.stack_read(&mut exec_step, stack_position, key)?;
4646

4747
// Transient Storage read
48-
let (_, value) = state.sdb.get_transient_storage(&contract_addr, &key);
49-
let value = *value;
48+
let (_, &value) = state.sdb.get_transient_storage(&contract_addr, &key);
5049

5150
state.push_op(
5251
&mut exec_step,

geth-utils/gethutil/trace.go

-7
Original file line numberDiff line numberDiff line change
@@ -300,13 +300,6 @@ func ToTxData(message core.Message, ChainID *big.Int) types.TxData {
300300
BlobHashes: message.BlobHashes,
301301
BlobFeeCap: uint256.MustFromBig((*big.Int)(message.BlobGasFeeCap)),
302302
}
303-
// if message.Blobs != nil {
304-
// data.(*types.BlobTx).Sidecar = &types.BlobTxSidecar{
305-
// Blobs: message.Blobs,
306-
// Commitments: message.Commitments,
307-
// Proofs: message.Proofs,
308-
// }
309-
// }
310303

311304
case message.GasFeeCap != nil:
312305
al := types.AccessList{}

zkevm-circuits/src/evm_circuit/execution/sstore.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ impl<F: Field> ExecutionGadget<F> for SstoreGadget<F> {
5656

5757
let tx_id = cb.call_context(None, CallContextFieldTag::TxId);
5858

59-
// constraint not in static call
59+
// Constrain we're not in a STATICCALL context.
6060
let is_static = cb.call_context(None, CallContextFieldTag::IsStatic);
6161
cb.require_zero("is_static is false", is_static.expr());
6262

0 commit comments

Comments
 (0)