Add transient storage support (#898)

master
cgewecke 1 week ago committed by GitHub
parent de0452a858
commit 7c64eb6123
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      package.json
  2. 1
      test/sources/projects/solc-8/contracts/Contract_solc8.sol
  3. 3
      test/sources/projects/solc-8/hardhat.config.js
  4. 7
      yarn.lock

@ -26,7 +26,7 @@
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@ethersproject/abi": "^5.0.9", "@ethersproject/abi": "^5.0.9",
"@solidity-parser/parser": "^0.18.0", "@solidity-parser/parser": "^0.19.0",
"chalk": "^2.4.2", "chalk": "^2.4.2",
"death": "^1.1.0", "death": "^1.1.0",
"difflib": "^0.2.4", "difflib": "^0.2.4",

@ -10,6 +10,7 @@ using Library_solc8 for uint256;
contract ContractA { contract ContractA {
mapping(bytes32 key => uint256) public authorization; mapping(bytes32 key => uint256) public authorization;
address public someAddress; address public someAddress;
bool transient locked;
function throwError(address _add) external { function throwError(address _add) external {
this; this;

@ -3,11 +3,12 @@ require(__dirname + "/../plugins/nomiclabs.plugin");
module.exports = { module.exports = {
solidity: { solidity: {
version: "0.8.21", version: "0.8.28",
settings: { settings: {
optimizer: { optimizer: {
enabled: true enabled: true
}, },
evmVersion: "cancun",
viaIR: process.env.VIA_IR === "true" viaIR: process.env.VIA_IR === "true"
} }
}, },

@ -905,9 +905,10 @@
dependencies: dependencies:
antlr4ts "^0.5.0-alpha.4" antlr4ts "^0.5.0-alpha.4"
"@solidity-parser/parser@^0.18.0": "@solidity-parser/parser@^0.19.0":
version "0.18.0" version "0.19.0"
resolved "https://registry.yarnpkg.com/@solidity-parser/parser/-/parser-0.18.0.tgz#8e77a02a09ecce957255a2f48c9a7178ec191908" resolved "https://registry.yarnpkg.com/@solidity-parser/parser/-/parser-0.19.0.tgz#37a8983b2725af9b14ff8c4a475fa0e98d773c3f"
integrity sha512-RV16k/qIxW/wWc+mLzV3ARyKUaMUTBy9tOLMzFhtNSKYeTAanQ3a5MudJKf/8arIFnA2L27SNjarQKmFg0w/jA==
"@szmarczak/http-timer@^1.1.2": "@szmarczak/http-timer@^1.1.2":
version "1.1.2" version "1.1.2"

Loading…
Cancel
Save