Skip to content

Commit

Permalink
fix errors on jvadoc task exeution
Browse files Browse the repository at this point in the history
  • Loading branch information
eum602 committed Oct 1, 2023
1 parent 720acab commit f5b0d01
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,11 @@ default boolean isConsensusMigration() {
*/
OptionalLong getThanosBlockNumber();

/**
* Block number to enable Falcon signature verifier precompiled feature.
*
* @return block number of falcon signature precompiled verifier
*/
OptionalLong getLacchainPostQuantumBlockNumber();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import org.hyperledger.besu.evm.operation.SLoadOperation;
import org.hyperledger.besu.evm.operation.SelfDestructOperation;
import org.hyperledger.besu.evm.precompile.ECRECPrecompiledContract;
import org.hyperledger.besu.evm.precompile.FalconPrecompiledContract;
import org.hyperledger.besu.evm.precompile.IDPrecompiledContract;
import org.hyperledger.besu.evm.precompile.RIPEMD160PrecompiledContract;
import org.hyperledger.besu.evm.precompile.SHA256PrecompiledContract;
Expand Down Expand Up @@ -78,6 +79,7 @@ public interface GasCalculator {
/**
* Returns the gas cost to execute the {@link FalconPrecompiledContract}.
*
* @param input The input representing the message, signature and the correspondent public key
* @return the gas cost to execute the Falcon Signature verification precompiled contract
*/
long falconVerifyPrecompiledContractGasCost(Bytes input);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/** The Falcon precompiled contract. */
public class FalconPrecompiledContract extends AbstractPrecompiledContract {

private static final Logger LOG = LoggerFactory.getLogger(AbstractBLS12PrecompiledContract.class);
Expand All @@ -42,6 +43,11 @@ public class FalconPrecompiledContract extends AbstractPrecompiledContract {

private final FalconSigner falconSigner = new FalconSigner();

/**
* Instantiates a new Falcon precompiled contract.
*
* @param gasCalculator the gas calculator
*/
public FalconPrecompiledContract(final GasCalculator gasCalculator) {
super("Falcon", gasCalculator);
}
Expand Down

0 comments on commit f5b0d01

Please sign in to comment.