Skip to content

Commit 7c64eb6

Browse files
authored
Add transient storage support (#898)
1 parent de0452a commit 7c64eb6

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"license": "ISC",
2727
"dependencies": {
2828
"@ethersproject/abi": "^5.0.9",
29-
"@solidity-parser/parser": "^0.18.0",
29+
"@solidity-parser/parser": "^0.19.0",
3030
"chalk": "^2.4.2",
3131
"death": "^1.1.0",
3232
"difflib": "^0.2.4",

test/sources/projects/solc-8/contracts/Contract_solc8.sol

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ using Library_solc8 for uint256;
1010
contract ContractA {
1111
mapping(bytes32 key => uint256) public authorization;
1212
address public someAddress;
13+
bool transient locked;
1314

1415
function throwError(address _add) external {
1516
this;

test/sources/projects/solc-8/hardhat.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ require(__dirname + "/../plugins/nomiclabs.plugin");
33

44
module.exports = {
55
solidity: {
6-
version: "0.8.21",
6+
version: "0.8.28",
77
settings: {
88
optimizer: {
99
enabled: true
1010
},
11+
evmVersion: "cancun",
1112
viaIR: process.env.VIA_IR === "true"
1213
}
1314
},

yarn.lock

+4-3
Original file line numberDiff line numberDiff line change
@@ -905,9 +905,10 @@
905905
dependencies:
906906
antlr4ts "^0.5.0-alpha.4"
907907

908-
"@solidity-parser/parser@^0.18.0":
909-
version "0.18.0"
910-
resolved "https://registry.yarnpkg.com/@solidity-parser/parser/-/parser-0.18.0.tgz#8e77a02a09ecce957255a2f48c9a7178ec191908"
908+
"@solidity-parser/parser@^0.19.0":
909+
version "0.19.0"
910+
resolved "https://registry.yarnpkg.com/@solidity-parser/parser/-/parser-0.19.0.tgz#37a8983b2725af9b14ff8c4a475fa0e98d773c3f"
911+
integrity sha512-RV16k/qIxW/wWc+mLzV3ARyKUaMUTBy9tOLMzFhtNSKYeTAanQ3a5MudJKf/8arIFnA2L27SNjarQKmFg0w/jA==
911912

912913
"@szmarczak/http-timer@^1.1.2":
913914
version "1.1.2"

0 commit comments

Comments
 (0)