Skip to content
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

update besu-native libraries #1499

Merged
merged 9 commits into from
Oct 30, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
pacify lgtm.com
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
  • Loading branch information
shemnon committed Oct 29, 2020
commit c5e169b6d645841f2bd1e9d3ae0167e6f3cdf9bf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import org.hyperledger.besu.ethereum.vm.MessageFrame;

import org.apache.tuweni.bytes.Bytes;
import javax.annotation.Nonnull;

/**
* A pre-compiled contract.
Expand Down Expand Up @@ -50,5 +51,5 @@ public interface PrecompiledContract {
* @param messageFrame context for this message
* @return the output of the pre-compiled contract.
*/
Bytes compute(Bytes input, MessageFrame messageFrame);
Bytes compute(Bytes input, @Nonnull MessageFrame messageFrame);
}