🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

hardhat-ignore-warnings

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hardhat-ignore-warnings - npm Package Compare versions

Comparing version

to
0.2.10

1

dist/error-codes.d.ts

@@ -15,2 +15,3 @@ export declare const errorCodes: {

readonly 'missing-receive': 3628;
readonly 'transient-storage': 2394;
};

@@ -17,0 +18,0 @@ export declare type WarningId = number | keyof typeof errorCodes;

@@ -18,2 +18,3 @@ "use strict";

'missing-receive': 3628,
'transient-storage': 2394,
};

@@ -20,0 +21,0 @@ function getErrorCode(id) {

2

package.json
{
"name": "hardhat-ignore-warnings",
"version": "0.2.9",
"version": "0.2.10",
"description": "Hardhat plugin to ignore Solidity warnings",

@@ -5,0 +5,0 @@ "author": "Francisco Giordano <fg@frang.io>",

@@ -83,1 +83,3 @@ # hardhat-ignore-warnings

- `missing-receive`: "This contract has a payable fallback function, but no receive ether function. Consider adding a receive ether function." -- To ignore this warning with a comment, it must be placed before the contract definition.
- `transient-storage`: "Transient storage as defined by EIP-1153 can break the composability of smart contracts: Since transient storage is cleared only at the end of the transaction and not at the end of the outermost call frame to the contract within a transaction, your contract may unintentionally misbehave when invoked multiple times in a complex transaction. To avoid this, be sure to clear all transient storage at the end of any call to your contract. The use of transient storage for reentrancy guards that are cleared at the end of the call is safe."

@@ -15,2 +15,3 @@ export const errorCodes = {

'missing-receive': 3628,
'transient-storage': 2394,
} as const;

@@ -17,0 +18,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet