-
Notifications
You must be signed in to change notification settings - Fork 804
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
BesuCommand.isRevertReasonEnabled belongs in EVMConfiguration #7597
Comments
Isn't this a data storage question? Revert Reason is in the output of the root message frame, wether or not it is recorded. No code in the EVM module uses it, the flag is part of besu/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/MainnetProtocolSpecs.java Lines 940 to 958 in 8eee569
When writing it to trie you already have the flag besu/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/TransactionReceipt.java Lines 191 to 192 in 15d54af
|
@jflo is this blocking anything else? Should we prioritise on a team's board or happy to leave for anyone to pick up? |
Anyone can pick this up, and should consider @shemnon 's suggestions above. I'm not married to any particular approach, as long as this option ends up being grouped in somewhere more specific and relevant. |
I've reviewed this issue and would like to confirm my understanding of the steps required to address it:
If these steps accurately reflect the requirements, I would like to request assignment to this issue. Thank you for your consideration. |
@bomanaps Do not, under any condition, add it to Adding it to We could move |
Sorry for the misunderstanding. I will move isRevertReasonEnabled to DataStorageConfiguration, include this flag (along with isParallelTxProcessingEnabled), and remove it from BesuCommand and BesuController. I'll also update MainnetProtocolSpecs and ClassicProtocolSpecs accordingly. |
While doing some refactoring I had to provide
isRevertReasonEnabled
from BesuCommand through the BesuController, and it struck me that this is more obviously an EVM configuration option. This should be refactored and folded into EVMConfiguration.The text was updated successfully, but these errors were encountered: