bump node for 0.22.5 fix#1251
Merged
Merged
Conversation
mpskowron
approved these changes
Apr 7, 2026
mpskowron
left a comment
Contributor
There was a problem hiding this comment.
I see that in previous commit where you added filtering you let transactions which cost cannot be calculated to pass through, why is that?
Contributor
Author
It's not guaranteed that the failure is due to the tx size, or even an issue with that specific transaction. The transaction at that point should be validated by the rest of the system. |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Overview
Bumps the node version from 0.22.2 to 0.22.5 and adds support for configuring
max_tx_gas_costvia theMAX_TX_GAS_COSTenv var (in addition to the existing--max-tx-gas-costCLI arg). The CLI arg takes precedence over the env var when both are set.Changes:
node/Cargo.toml/Cargo.lock: version bump 0.22.2 → 0.22.5node/src/cfg/midnight_cfg/mod.rs: addmax_tx_gas_cost: Option<u64>toMidnightCfg(env var source)node/src/command.rs: merge CLI arg and env var with CLI precedence via.or()changes/added/max-tx-gas-cost-filter.md: change file🗹 TODO before merging
📌 Submission Checklist
🧪 Testing Evidence
Deployed to devnet via shieldedtech/shielded-gitops#1758.
🔱 Fork Strategy
Links