Skip to content

Commit

Permalink
fixed comment & rm debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dovgopoly committed Dec 9, 2024
1 parent 8b96ee6 commit fdafbbb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/libs/crypto/ECDSA384.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const config: HardhatUserConfig = {
gasReporter: {
currency: "USD",
gasPrice: 50,
enabled: true,
enabled: false,
reportPureAndViewMethods: true,
coinmarketcap: `${process.env.COINMARKETCAP_KEY}`,
},
Expand Down
2 changes: 1 addition & 1 deletion test/libs/crypto/ECDSA384.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ describe("ECDSA384", () => {
});
});

describe.only("brainpoolP384r1", () => {
describe("brainpoolP384r1", () => {
const signature =
"0x42d803dcea3f9809cda4ce5a541d969dbeacd6ab7bef7788db1e4a00dac3ae87c1c241c24bb39e041725e607718fc322306b08967b56e4e49d7c9afc48833f580ac9b49cdcec0962d564f89a8f0b57a9742573ebcbe709869253e8b466cb33be";
const pubKey =
Expand Down

0 comments on commit fdafbbb

Please sign in to comment.