-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Default gas_limit is not followed in mev-builder configuration #13797
Comments
looking into this |
does this consistently happen? also wanted to confirm the network is mainnet will dig deeper on holesky |
Initial test on holesky with 1 key seemed to work correctly. this was against mev boost relay from flashbots with the following configuration
|
I've been toying a bit more on this, and maybe you need to explicitly have To be clear, I use on the validator side:
To reproduce I do the following:
Then I start the beacon and watch registrations, and can see the gas_limit set to 0:
Happy to dig more / try to narrow a bit more the issue if that helps. |
Also attaching an example of an Holesky config I use for |
This was helpful thanks, you should not be using suggested-fee-recipient + proposer-settings-file at the same time, though i do think it should allow it still. Will dig deeper on where exactly this is triggering, appreciate the collaboration here. |
I was able to reproduce the bug with I just tested it on latest develop and this bug has been patched, so it should be fixed in v5.0.2 |
Thanks a lot! About the mixed usage of Documentation on https://docs.prylabs.network/docs/execution-node/fee-recipient#configure-fee-recipient-via-jsonyaml-validator-client-only mentions both are usable together:
Do you think this documentation should be updated if it's not recommended? |
Perhaps the wording can be more clear, the JSON/YAML files will override the suggested-fee-recipient flag in the current implementation, is the desired effect to do the opposite?
the fall back for suggested fee recipient would be for the beacon node. i can reverse this effect and update the document in a future release if there is a desired effect to use the suggested fee recipient to override the json file, but may need to see if there are other implications to this. it should be fine however to just use the defined default from the json/yaml file. |
Sorry the intent is the opposite: if for some reason a key is missing from the proposer config, use the suggested-fee-recipient, otherwise, use what's in the config. That way if you forget something in the config, the rewards will use the suggested-fee-recipient. IMHO there is nothing to change :) |
the suggested fee recipient flag == default_config from the file, if there's something missed in the proposer configs for a missing key or something the default config kicks in. behind the scenes the suggested fee recipient just sets the default config internally. |
Describe the bug
Currently the documentation around the fee-recipient configuration mentions that the
gas_limit
when not specified for block proposal, defaults to 30M:(source)
This is not the case when using a mapping without an explicit
gas_limit
with a json-configuration like:On the relayer side, the registration call will look as follows:
Where gas_limit should be 30M.
Has this worked before in a previous version?
🔬 Minimal Reproduction
Configure a validator with
--proposer-settings-file=/recipients/config.json
without specifying agas_limit
, start the validator and check the registration call made to the relayer, thegas_limit
will be 0.Error
No response
Platform(s)
Linux (x86), Linux (ARM), Mac (Intel), Mac (Apple Silicon), Windows (x86), Windows (ARM)
What version of Prysm are you running? (Which release)
5.0.1
Anything else relevant (validator index / public key)?
No response
The text was updated successfully, but these errors were encountered: