Skip to content

Fix npe from subcommands#4954

Merged
gfukushima merged 3 commits intohyperledger:mainfrom
gfukushima:fix-NPE-from-subcommands
Jan 18, 2023
Merged

Fix npe from subcommands#4954
gfukushima merged 3 commits intohyperledger:mainfrom
gfukushima:fix-NPE-from-subcommands

Conversation

@gfukushima
Copy link
Contributor

@gfukushima gfukushima commented Jan 18, 2023

PR description

This fixes the NPE from some of the engine-api hive test that call the importBlock subcommand

Fixed Issue(s)

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if
    updates are required.

Changelog

Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Copy link
Contributor

@siladu siladu left a comment

Choose a reason for hiding this comment

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

LGTM

@gfukushima gfukushima enabled auto-merge (squash) January 18, 2023 05:50
@gfukushima gfukushima merged commit 3e8cf77 into hyperledger:main Jan 18, 2023
@gfukushima gfukushima deleted the fix-NPE-from-subcommands branch March 23, 2023 22:59
elenduuche pushed a commit to elenduuche/besu that referenced this pull request Aug 16, 2023
* Add getDefaultSyncModeIfNotSet and clean up method

* Add unit test to prevent a new NPE

Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
* Add getDefaultSyncModeIfNotSet and clean up method

* Add unit test to prevent a new NPE

Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants