-
Notifications
You must be signed in to change notification settings - Fork 535
Error: failed sending StakeManager contract deploy transaction: failed to get max priority fee per gas: {"code":-32601,"message":"Method not found"} #1997
Comments
The Besu client does not seem to implement |
@Stefan-Ethernal That sounds about right, I'm not seeing this method listed here in the Besu API reference. I think it's worth mentioning that I'm running a zero gas network on Besu. What are my options? Can I deploy the stake manager contract without using |
@Stefan-Ethernal I assume the same will occur after I run any command that needs to interact with the L1, like Does it make sense to check for Initially, I was thinking that one way to work around this, for now, would be to translate this function and all the others that call the |
@refl3ction you are absolutelly right about it: all the bootstrapping commands that are run against the rootchain are sending dynamic fee transactions and are fallbacking to legacy only in case So I agree with you that we probably can add another error which would fallback to legacy tx sending. It should be an easy win. In fact right now there is a pending task on which colleague is working so I'll let him know about this issue. |
@Stefan-Ethernal Brilliant. That would be much appreciated, this is the only blocker I currently have to deploy the Supernet, if you could let me know once this is pushed, I can test it directly from the source. Thank you! |
@refl3ction Although the PR is still in draft and not merged into the Btw I'm not sure when we are going to make another release, but PR should be merged in the following days hopefully. |
@Stefan-Ethernal Awesome! I will give it a try and get back to you soon! Thank you for your quick action on it. |
@Stefan-Ethernal Does this change impact only the bootstrap commands? For example, do I need to run the validators with this change when using Besu as L1 or they would work fine with version |
The issue is still happening 😢 I noticed the polygon-edge version
[VERSION INFO]
Release version = <none>
Git branch = EVM-775-check-errors-different-ethereum-clients-return-when-dynamic-fee-tx-is-sent-without-london-fork
Commit hash = c2dbe4e55499416001dbc288494e2dd86b03b189
Build time = Thu Oct 19 12:18:27 -03 2023
# deploy stake manager
Error: failed sending StakeManager contract deploy transaction: failed to get max priority fee per gas: {"code":-32601,"message":"Method not found"} |
Ok probably we need to unmarshal JSON response into an I'll probably tackle that tomorrow morning and let you know when it is ready for another round of testing. |
As per this question, checkpoint submission is also affected with this change (aside from |
@Stefan-Ethernal I left a suggestion for your consideration on the PR, I think the arguments are inverted in the |
@refl3ction awesome glad it worked. Thanks for your feedback. 🙂 |
@Stefan-Ethernal Ok, so now I was able to execute all of the following commands in the order they appear, without errors:
The first command to fail was Error: failed to estimate gas: {"code":-32000,"message":"Execution reverted","data":"0x"} I think the issue is happening on this call to |
Could the above error be related to this? #1998 |
This error message often indicates that execution got reverted on the smart contract. Stake transaction can fail because of several reasons:
Can you verify that the contract address provided for the
I don't think so, because in that case (if an account with 0 balance is executing {"jsonrpc":"2.0","id":1,"error":{"code":-32603,"message":"insufficient funds for execution"}} If you don't figure it out yourself, then please provide the exact commands you are running as well as the |
I regenerated all validator keys and the genesis file and all the commands worked now 🎉 . I still need to start the nodes though, but I'll do it soon. Questions:
|
Nope, those are two different concepts. Chain ID is an arbitrary number, that uniquely identifies a given chain and its semantics as for Ethereum, to prevent replay attacks. On the other hand, the supernet ID is a unique identifier of the given Supernets chain. It is auto-generated on the
Yes, it gets autoincremented each time a new Supernet chain is registered in the |
Error on
polygon-edge polybft stake-manager-deploy
Description
I'm trying to deploy the stake manager contract on my Layer 1 (Besu) with the command
polygon-edge polybft stake-manager-deploy
but I'm getting the following error:Error: failed sending StakeManager contract deploy transaction: failed to get max priority fee per gas: {"code":-32601,"message":"Method not found"}
Full command:
Can this be related to the new tx pool implementation on Besu?
Ref: https://github.com/hyperledger/besu/releases/tag/23.10.0
EDIT:
Your environment
The text was updated successfully, but these errors were encountered: