diff --git a/contracts/libs/crypto/ECDSA384.sol b/contracts/libs/crypto/ECDSA384.sol index 9a92a0db..af7da5d3 100644 --- a/contracts/libs/crypto/ECDSA384.sol +++ b/contracts/libs/crypto/ECDSA384.sol @@ -7,7 +7,7 @@ import {MemoryUtils} from "../utils/MemoryUtils.sol"; * @notice Cryptography module * * This library provides functionality for ECDSA verification over any 384-bit curve. Currently, - * this is the most efficient implementation out there, consuming ~8.25 million gas per call. + * this is the most efficient implementation out there, consuming ~8.1 million gas per call. * * The approach is Strauss-Shamir double scalar multiplication with 4 bits of precompute + affine coordinates. * For reference, naive implementation uses ~400 billion gas, which is 48000 times more expensive. diff --git a/hardhat.config.ts b/hardhat.config.ts index 5bc94488..cc70cc4a 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -61,7 +61,7 @@ const config: HardhatUserConfig = { gasReporter: { currency: "USD", gasPrice: 50, - enabled: true, + enabled: false, reportPureAndViewMethods: true, coinmarketcap: `${process.env.COINMARKETCAP_KEY}`, }, diff --git a/test/libs/crypto/ECDSA384.test.ts b/test/libs/crypto/ECDSA384.test.ts index 5c105792..591848bb 100644 --- a/test/libs/crypto/ECDSA384.test.ts +++ b/test/libs/crypto/ECDSA384.test.ts @@ -157,7 +157,7 @@ describe("ECDSA384", () => { }); }); - describe.only("brainpoolP384r1", () => { + describe("brainpoolP384r1", () => { const signature = "0x42d803dcea3f9809cda4ce5a541d969dbeacd6ab7bef7788db1e4a00dac3ae87c1c241c24bb39e041725e607718fc322306b08967b56e4e49d7c9afc48833f580ac9b49cdcec0962d564f89a8f0b57a9742573ebcbe709869253e8b466cb33be"; const pubKey =