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

Hive test tx not processed because of gas price #4506

Closed
macfarla opened this issue Oct 10, 2022 · 5 comments
Closed

Hive test tx not processed because of gas price #4506

macfarla opened this issue Oct 10, 2022 · 5 comments
Assignees
Labels
mainnet RPC TeamRevenant GH issues worked on by Revenant Team

Comments

@macfarla
Copy link
Contributor

    This one is interesting - tx not processed because of gas price 
	>>  {"jsonrpc":"2.0","id":27,"method":"eth_sendRawTransaction","params":["0xf86303018261a894aa000000000000000000000000000000000000000a825544820a95a0487f7382a47399a74c487b52fd4c5ff6e981d9b219ca1e8fcb086f1e0733ab92a063203b182cd7e7f45213f46e429e1f5ab2a5660a4ed54b9d6ee76be8d84d5ca8"]}
<<  {
  "jsonrpc" : "2.0",
  "id" : 27,
  "error" : {
    "code" : -32009,
    "message" : "Gas price below configured minimum gas price"
  }
}
response differs from expected:
 {
-  "error": {
-    "code": -32009,
-    "message": "Gas price below configured minimum gas price"
-  },
   "id": 27,
   "jsonrpc": "2.0"
+  "result": "0xd02709b29dba8e71897d1d28d57712b69221d3d6e5e0b50fd05aa097a567f30f"
 }

Originally posted by @macfarla in #4490 (comment)

@macfarla macfarla added TeamRevenant GH issues worked on by Revenant Team mainnet RPC labels Oct 10, 2022
@mark-terry mark-terry self-assigned this Nov 7, 2022
@mark-terry
Copy link
Contributor

The following conditions are responsible for Besu's responses:

  • Besu config includes --min-gas-price=16
  • Transaction gas price is 0x01
  • Where transaction gas price < --min-gas-price, Besu will reject if mining is not enabled.

@mark-terry
Copy link
Contributor

If the config is updated to --min-gas-price=1 to fix the gas price issue, we get a ChainId not supported error.

@macfarla
Copy link
Contributor Author

If the config is updated to --min-gas-price=1 to fix the gas price issue, we get a ChainId not supported error.

why would that change the chain id?

@mark-terry
Copy link
Contributor

It fails validation at a later check.

@mark-terry
Copy link
Contributor

PR: ethereum/hive#661

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mainnet RPC TeamRevenant GH issues worked on by Revenant Team
Projects
None yet
Development

No branches or pull requests

2 participants