Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix eth_getTransactionReceipts #523

Merged
merged 4 commits into from
Sep 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion core/state_transition.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ func (st *StateTransition) buyGas(gasBailout bool) error {
}

if err := st.gp.SubGas(st.msg.Gas()); err != nil {
return err
if !gasBailout {
return err
}
Comment on lines +232 to +234

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change gth

}
st.gasRemaining += st.msg.Gas()
st.initialGas = st.msg.Gas()
Expand Down