Skip to content

Commit

Permalink
Add transient storage support (#898)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke authored Nov 25, 2024
1 parent de0452a commit 7c64eb6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"license": "ISC",
"dependencies": {
"@ethersproject/abi": "^5.0.9",
"@solidity-parser/parser": "^0.18.0",
"@solidity-parser/parser": "^0.19.0",
"chalk": "^2.4.2",
"death": "^1.1.0",
"difflib": "^0.2.4",
Expand Down
1 change: 1 addition & 0 deletions test/sources/projects/solc-8/contracts/Contract_solc8.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ using Library_solc8 for uint256;
contract ContractA {
mapping(bytes32 key => uint256) public authorization;
address public someAddress;
bool transient locked;

function throwError(address _add) external {
this;
Expand Down
3 changes: 2 additions & 1 deletion test/sources/projects/solc-8/hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ require(__dirname + "/../plugins/nomiclabs.plugin");

module.exports = {
solidity: {
version: "0.8.21",
version: "0.8.28",
settings: {
optimizer: {
enabled: true
},
evmVersion: "cancun",
viaIR: process.env.VIA_IR === "true"
}
},
Expand Down
7 changes: 4 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -905,9 +905,10 @@
dependencies:
antlr4ts "^0.5.0-alpha.4"

"@solidity-parser/parser@^0.18.0":
version "0.18.0"
resolved "https://registry.yarnpkg.com/@solidity-parser/parser/-/parser-0.18.0.tgz#8e77a02a09ecce957255a2f48c9a7178ec191908"
"@solidity-parser/parser@^0.19.0":
version "0.19.0"
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":
version "1.1.2"
Expand Down

0 comments on commit 7c64eb6

Please sign in to comment.