Skip to content

Commit 4f3ec0d

Browse files
authored
Merge branch 'run-mode-struct' into wasm-rebuild-missing-targets
2 parents 5c538ec + 4499de3 commit 4f3ec0d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/state_transition.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,10 @@ func (c *MessageRunContext) IsEthcall() bool {
263263
return c.runMode == messageEthcallMode
264264
}
265265

266+
func (c *MessageRunContext) IsRecording() bool {
267+
return c.runMode == messageRecordingMode
268+
}
269+
266270
func (c *MessageRunContext) WasmCacheTag() uint32 {
267271
return c.wasmCacheTag
268272
}

0 commit comments

Comments
 (0)