Skip to content

Commit 0713cf2

Browse files
heap-coderfrangio
andcommitted
Update solc (#52)
Co-authored-by: frangio <frangio@users.noreply.github.com> Co-authored-by: Francisco Giordano <fg@frang.io>
1 parent 62a880c commit 0713cf2

File tree

5 files changed

+58
-1
lines changed

5 files changed

+58
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
### 0.4.59 (2024-09-06)
4+
5+
- Added `'transient'` as a possible value for `VariableDeclaration.storageLocation`, available since Solidity 0.8.27.
6+
- Added `'prague'` as a possible value for `InlineAssembly.evmVersion`.
7+
38
### 0.4.58 (2024-08-29)
49

510
- Fixed `YulFunctionDefinition.parameters` and `returnVariables`: made optional, used when empty.

package-lock.json

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
"solc-0.8.24": "npm:solc@0.8.24",
6868
"solc-0.8.25": "npm:solc@0.8.25",
6969
"solc-0.8.26": "npm:solc@0.8.26",
70+
"solc-0.8.27": "npm:solc@0.8.27",
7071
"solc-0.8.3": "npm:solc@0.8.3",
7172
"solc-0.8.4": "npm:solc@0.8.4",
7273
"solc-0.8.5": "npm:solc@0.8.5",

scripts/build-schema.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ const schema = {
127127
'default',
128128
'memory',
129129
'storage',
130+
'transient',
130131
),
131132

132133
Visibility: literal(
@@ -490,7 +491,8 @@ const schema = {
490491
'london',
491492
'paris',
492493
'shanghai',
493-
'cancun'
494+
'cancun',
495+
'prague',
494496
),
495497
externalReferences: array(object({
496498
declaration: integer,

test/sources/transient.sol

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pragma solidity >=0.8.27;
2+
3+
contract Foo {
4+
uint256 transient x;
5+
}

0 commit comments

Comments
 (0)