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

Conversation

blxdyx
Copy link
Collaborator

@blxdyx blxdyx commented Sep 26, 2024

Fix #522 , get system transaction receipt should skip gas check. In erigon3 need to execute tx to get receipt, so remove st.evm.Config().Debug check, and add gasprice check.

@@ -1269,13 +1269,13 @@ func (p *Parlia) IsSystemTransaction(tx types.Transaction, header *types.Header)
if err != nil {
return false, errors.New("UnAuthorized transaction")
}
if sender == header.Coinbase && isToSystemContract(*tx.GetTo()) && tx.GetPrice().IsZero() {
if sender == header.Coinbase && IsToSystemContract(*tx.GetTo()) && tx.GetPrice().IsZero() {

Choose a reason for hiding this comment

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

add ci

Comment on lines +232 to +234
if !gasBailout {
return err
}

Choose a reason for hiding this comment

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

change gth

@setunapo setunapo merged commit f10d0fe into node-real:main Sep 26, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Erigon3 can not request eth.getTransactionReceipt
3 participants