Skip to content

Commit 9ce02ea

Browse files
heap-coderLoginovIliaericglau
committed
Update solc (#56)
Co-authored-by: LOGINOV ILIA <loginov.ilia.it@gmail.com> Co-authored-by: Eric Lau <ericglau@outlook.com>
1 parent 03999bf commit 9ce02ea

File tree

7 files changed

+61
-18
lines changed

7 files changed

+61
-18
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,4 @@ jobs:
2323
- name: Install dependencies and build
2424
run: npm ci
2525
- name: Run tests
26-
run: npm test -- --exclude test/solc.js
27-
28-
# Solc tests run significantly faster in Node 18
29-
test-solc:
30-
runs-on: ubuntu-latest
31-
steps:
32-
- uses: actions/checkout@v3
33-
with:
34-
submodules: true
35-
- uses: actions/setup-node@v4
36-
with:
37-
node-version: 18.x
38-
cache: npm
39-
- name: Install dependencies and build
40-
run: npm ci
41-
- name: Run tests
42-
run: npm test -- test/solc.js
26+
run: npm test

CHANGELOG.md

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

3+
### 0.4.61 (2025-09-05)
4+
5+
- Added `EnumValue.documentation`, available since Solidity 0.8.30.
6+
37
### 0.4.60 (2025-03-15)
48

59
- Added `ContractDefinition.storageLayout`, available since Solidity 0.8.29, corresponding to `layout at`.

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
@@ -74,6 +74,7 @@
7474
"solc-0.8.28": "npm:solc@0.8.28",
7575
"solc-0.8.29": "npm:solc@0.8.29",
7676
"solc-0.8.3": "npm:solc@0.8.3",
77+
"solc-0.8.30": "npm:solc@0.8.30",
7778
"solc-0.8.4": "npm:solc@0.8.4",
7879
"solc-0.8.5": "npm:solc@0.8.5",
7980
"solc-0.8.6": "npm:solc@0.8.6",

scripts/build-schema.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ const schema = {
330330

331331
EnumValue: {
332332
...baseDefinition,
333+
documentation,
333334
},
334335

335336
ErrorDefinition: {

test/solidity

test/sources/new-0.8.30.sol

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
pragma solidity >=0.8.30;
2+
3+
contract T {
4+
enum E {
5+
// EnumValue.documentation
6+
/// docs
7+
A
8+
}
9+
}

0 commit comments

Comments
 (0)