Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop swarmhash support #147

Merged
merged 4 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ version: 2.1
jobs:
chk_npm_lint_and_test:
docker:
# FIXME: sha3 package fails to build on latest node.js (version 17)
- image: cimg/node:16.20
- image: cimg/node:current
resource_class: small
steps:
- checkout
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/nightly-emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
sudo chown "$USER" /mnt/solc-bin/
ln -s /mnt/solc-bin/ solc-bin

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: 'ethereum/solidity'
ref: 'develop'
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:

- name: Upload soljson.js as an artifact
if: "env.NIGHTLY_ALREADY_EXISTS == 'false'"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: soljson.js
path: solidity/upload/soljson.js
Expand All @@ -94,12 +94,12 @@ jobs:

if: "needs.build-emscripten-nightly.outputs.nightly-already-exists == 'false'"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: 'ethereum/solidity'

- name: Download soljson.js artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: soljson.js

Expand All @@ -119,10 +119,7 @@ jobs:

if: "needs.build-emscripten-nightly.outputs.nightly-already-exists == 'false'"
steps:
# TODO: remove when https://github.com/axic/keccakjs/issues/13 got fixed
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/setup-node@v4

- name: Symlink solc-bin to /mnt/solc-bin
# It's now too big to fit on the main partition on Ubuntu, which is mostly filled with software.
Expand All @@ -131,13 +128,13 @@ jobs:
sudo chown "$USER" /mnt/solc-bin/
ln -s /mnt/solc-bin/ solc-bin

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.TARGET_BRANCH }}
path: 'solc-bin'

- name: Download soljson.js artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: soljson.js

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/random-macosx-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
if: "needs.select-solc-version.outputs.solidity-version"
steps:
- name: Check out Solidity source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'ethereum/solidity'
ref: v${{ env.SOLIDITY_VERSION }}
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
! [[ $(solc/solc --version) =~ [-.]mod ]] || { echo "ERROR: Not a release build!"; exit 1; }

- name: Upload solc as an artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
# NOTE: The name is used for the .zip archive but the file inside is still called solc
name: solc-macosx-amd64-${{ env.FULL_BUILD_VERSION }}
Expand Down Expand Up @@ -365,7 +365,7 @@ jobs:
sudo chown "$USER" /mnt/solc-bin/
ln -s /mnt/solc-bin/ solc-bin

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.TARGET_BRANCH }}
path: 'solc-bin'
Expand All @@ -381,7 +381,7 @@ jobs:
test ! -e "solc-bin/macosx-amd64/solc-macosx-amd64-${{ env.FULL_BUILD_VERSION }}"

- name: Download MacOS artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: solc-macosx-amd64-${{ env.FULL_BUILD_VERSION }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/s3-mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
aws configure set aws_access_key_id '${{ secrets.AWS_ACCESS_KEY_ID }}'
aws configure set aws_secret_access_key '${{ secrets.AWS_SECRET_ACCESS_KEY }}'

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
path: 'solc-bin'
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/t-bytecode-compare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ jobs:
PLATFORM: ${{ matrix.platform }}

steps:
# TODO: remove when https://github.com/axic/keccakjs/issues/13 got fixed
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/setup-node@v4

- name: Symlink solc-bin to /mnt/solc-bin
# It's now too big to fit on the main partition on Ubuntu. macOS runners are fine since
Expand All @@ -43,19 +40,19 @@ jobs:
sudo chown "$USER" /mnt/solc-bin/
ln -s /mnt/solc-bin/ solc-bin

- uses: actions/setup-python@v3
- uses: actions/setup-python@v5
with:
# Use the latest minor release of Python 3. prepare_report.py requires Python >= 3.7
python-version: '3.x'

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: 'ethereum/solidity'
path: 'solidity/'
# bytecode_reports_for_modified_binaries.sh requires access to a working copy with full history
fetch-depth: 0

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.GITHUB_REF }}
path: 'solc-bin/'
Expand All @@ -77,7 +74,7 @@ jobs:
"$base_dir/solidity"

- name: Upload reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.platform }}
path: reports/*
Expand All @@ -87,13 +84,13 @@ jobs:
needs: generate

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: 'ethereum/solidity'
path: 'solidity/'

- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: reports/

Expand Down
Loading
Loading