Skip to content

Commit

Permalink
fix source Id for Identity PRC MMU call
Browse files Browse the repository at this point in the history
Signed-off-by: Francois Bojarski <[email protected]>
  • Loading branch information
letypequividelespoubelles committed Oct 9, 2024
1 parent 558fc9f commit c32a012
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public void dontTraceMe() {
}

private MmuCall updateExoSum(final int exoValue) {
this.exoSum += exoValue;
exoSum += exoValue;
return this;
}

Expand Down Expand Up @@ -445,7 +445,7 @@ public static MmuCall forIdentityExtractCallData(
final Hub hub, PrecompileSubsection precompileSubsection) {

return new MmuCall(hub, MMU_INST_RAM_TO_RAM_SANS_PADDING)
.sourceId(precompileSubsection.callSection.hubStamp())
.sourceId(hub.currentFrame().contextNumber()) // called at ContextReEntry
.sourceRamBytes(Optional.of(precompileSubsection.callerMemorySnapshot))
.targetId(precompileSubsection.exoModuleOperationId())
.targetRamBytes(Optional.of(Bytes.EMPTY))
Expand Down

0 comments on commit c32a012

Please sign in to comment.