-
Notifications
You must be signed in to change notification settings - Fork 44
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
Migrate blob tx #39
Migrate blob tx #39
Conversation
Nonce: nonce, | ||
GasTipCap: uint256.MustFromBig(big.NewInt(tip.Int64())), | ||
GasFeeCap: uint256.MustFromBig(big.NewInt(gasFeeCap.Int64())), | ||
Gas: 5000000, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need estimate gas limit for blob tx
return fmt.Errorf("send tx error:%v", err.Error()) | ||
default: | ||
} else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Else if" and "Else" don't seem so different
// case core.ErrGasLimit.Error(): | ||
// log.Error("tx exceeds block gas limit", "gas", newSignedTx.Gas(), "chunks_len", len(batch.Chunks)) | ||
// return fmt.Errorf("send tx error:%v", err.Error()) | ||
// case core.ErrNonceTooLow.Error(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
No description provided.