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

5098 branch 7 update invalid blob gas used params #7408

Conversation

Matilda-Clerke
Copy link
Contributor

PR description

Update code to use RpcErrorType.INVALID_BLOB_GAS_USED_PARAMS

Fixed Issue(s)

#5098

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
…ion, apply spotless

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
…ion, apply spotless

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
…' into 5098-branch-3-update-invalid-address-hash-params
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
…' into 5098-branch-3-update-invalid-address-hash-params
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
…' into 5098-branch-3-update-invalid-address-hash-params
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
…ounts-params' into 5098-branch-2-update-invalid-accounts-params
…' into 5098-branch-3-update-invalid-address-hash-params
…rams' into 5098-branch-4-update-invalid-address-params
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
…' into 5098-branch-3-update-invalid-address-hash-params
…rams' into 5098-branch-4-update-invalid-address-params
Matilda-Clerke and others added 23 commits July 31, 2024 16:38
… into 5098-branch-5-update-invalid-auth-params
…o 5098-branch-7-update-invalid-blob-gas-used-params
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
…dJsonRpcParameters

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
… into 5098-branch-5-update-invalid-auth-params
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
…o 5098-branch-7-update-invalid-blob-gas-used-params
… into 5098-branch-5-update-invalid-auth-params
…o 5098-branch-7-update-invalid-blob-gas-used-params
Signed-off-by: Matilda-Clerke <matilda.clerke@consensys.net>
…o 5098-branch-7-update-invalid-blob-gas-used-params
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
…o 5098-branch-7-update-invalid-blob-gas-used-params
RpcErrorType.INVALID_BLOB_GAS_USED_PARAMS, "Missing blob gas used field");
} else if (payloadParameter.getExcessBlobGas() == null) {
return ValidationResult.invalid(
RpcErrorType.INVALID_PARAMS, "non-null ExcessBlobGas pre-cancun");
Copy link
Contributor

Choose a reason for hiding this comment

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

is there not a specific error code for this one?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is, but it will be coming in a later PR as I'm updating them in alphabetical order to ensure I don't miss any. This is the 7th PR in the series, breaking apart #7389 which is too gigantic to review.

@macfarla macfarla enabled auto-merge (squash) August 12, 2024 00:24
@macfarla macfarla merged commit 067be8c into hyperledger:main Aug 12, 2024
40 checks passed
gconnect pushed a commit to gconnect/besu that referenced this pull request Aug 26, 2024
* 5098: Add RpcErrorTypes

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>

---------

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda-Clerke <matilda.clerke@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: gconnect <agatevureglory@gmail.com>
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.

2 participants