Skip to content

Add extra information to the harmless error logs during validate_transaction#9047

Merged
AndreiEres merged 5 commits intomasterfrom
AndreiEres/issues5936
Jul 3, 2025
Merged

Add extra information to the harmless error logs during validate_transaction#9047
AndreiEres merged 5 commits intomasterfrom
AndreiEres/issues5936

Conversation

@AndreiEres
Copy link
Copy Markdown
Contributor

Description

Fixes #5936

Since we are still receiving reports about this error, I suggest adding an extra line to prevent further questions.

@AndreiEres AndreiEres added the R0-no-crate-publish-required The change does not require any crates to be re-published. label Jun 30, 2025
@AndreiEres AndreiEres requested a review from ggwpez June 30, 2025 14:49
@AndreiEres
Copy link
Copy Markdown
Contributor Author

/cmd prdoc --audience node_dev --bump none

@ggwpez ggwpez added A4-backport-stable2506 Pull request must be backported to the stable2506 release branch and removed R0-no-crate-publish-required The change does not require any crates to be re-published. labels Jul 1, 2025
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
@AndreiEres AndreiEres enabled auto-merge July 1, 2025 10:42
@AndreiEres AndreiEres added this pull request to the merge queue Jul 3, 2025
if !#input.is_empty() {
panic!(
"Bad input data provided to {}: expected no parameters, but input buffer is not empty.",
"Bad input data provided to {}: expected no parameters, but input buffer is not empty. Nothing bad happened: someone sent an invalid transaction to the node.",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it not weird to panic, and say "nothing bad happened"?

Merged via the queue into master with commit 180fcce Jul 3, 2025
244 checks passed
@AndreiEres AndreiEres deleted the AndreiEres/issues5936 branch July 3, 2025 08:57
paritytech-release-backport-bot bot pushed a commit that referenced this pull request Jul 3, 2025
…saction (#9047)

# Description

Fixes #5936

Since we are still receiving reports about this error, I suggest adding
an extra line to prevent further questions.

---------

Co-authored-by: Alexander Samusev <[email protected]>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
(cherry picked from commit 180fcce)
@paritytech-release-backport-bot
Copy link
Copy Markdown

Successfully created backport PR for stable2506:

EgorPopelyaev pushed a commit that referenced this pull request Jul 3, 2025
Backport #9047 into `stable2506` from AndreiEres.

See the
[documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md)
on how to use this bot.

<!--
  # To be used by other automation, do not modify:
  original-pr-number: #${pull_number}
-->

Co-authored-by: Andrei Eres <[email protected]>
Co-authored-by: Alexander Samusev <[email protected]>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
ordian added a commit that referenced this pull request Jul 24, 2025
* master: (91 commits)
  Add extra information to the harmless error logs during validate_transaction (#9047)
  `sp-tracing`: Remove `test-utils` feature (#9063)
  add try-state check for staking roles -- staker cannot be nominator a… (#9034)
  net/discovery: File persistence for `AddrCache` (#8839)
  dispute-coordinator: handle race with offchain disabling (#9050)
  Align parameters for `EventEmitter::emit_sent_event` (#9057)
  Fetch parent block `api_version` (#9059)
  [XCM Precompile] Rename functions and improve docs in the Solidity interface (#9023)
  Cleanup and improvements for `ControlledValidatorIndices` (#8896)
  reenable 0001-parachains-pvf (#9046)
  Add optional auto-rebag within on-idle (#8684)
  Fix flaxy 0003-block-building-warp-sync test - one more approach (#8974)
  [Staking] [AHM] Fixes insufficient slashing of nominators (and some other small issues). (#8937)
  chore: Bump bounded-collections dep (#9004)
  XCMP and DMP improvements (#8860)
  EPMB/unsigned: fixed multi-page winner computation (#8987)
  Always send full parent header, not only hash, part of collation response (#8939)
  revive: Precompiles should return dummy code when queried (#9001)
  Fix confusing log messages in network protocol behaviour (#8819)
  Fix pallet_migrations benchmark when FailedMigrationHandler emits events (#8694)
  ...
alvicsam added a commit that referenced this pull request Oct 17, 2025
…saction (#9047)

# Description

Fixes #5936

Since we are still receiving reports about this error, I suggest adding
an extra line to prevent further questions.

---------

Co-authored-by: Alexander Samusev <[email protected]>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A4-backport-stable2506 Pull request must be backported to the stable2506 release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Panics with Bad input data provided to validate_transaction: Codec error

7 participants