We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5658fb commit 8d5de64Copy full SHA for 8d5de64
arithmetization/src/main/java/net/consensys/linea/zktracer/opcode/gas/projector/SStore.java
@@ -30,9 +30,12 @@ public final class SStore implements GasProjection {
30
public SStore(MessageFrame frame) {
31
this.frame = frame;
32
if (frame.stackSize() > 1) {
33
+ this.key = UInt256.fromBytes(frame.getStackItem(0));
34
final Account account = frame.getWorldUpdater().getAccount(frame.getRecipientAddress());
35
+ if (account == null) {
36
+ return;
37
+ }
38
- this.key = UInt256.fromBytes(frame.getStackItem(0));
39
this.originalValue = account.getOriginalStorageValue(key);
40
this.currentValue = account.getStorageValue(key);
41
this.newValue = UInt256.fromBytes(frame.getStackItem(1));
0 commit comments