Skip to content

Commit 6d5c954

Browse files
committed
fix MaxUsedGas
1 parent dd52752 commit 6d5c954

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/state_transition.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ func (st *stateTransition) execute() (*ExecutionResult, error) {
450450
if endTxNow {
451451
return &ExecutionResult{
452452
UsedGas: startHookUsedGas,
453+
MaxUsedGas: startHookUsedGas,
453454
Err: err,
454455
ReturnData: returnData,
455456
ScheduledTxes: st.evm.ProcessingHook.ScheduledTxes(),

0 commit comments

Comments
 (0)