fix: SSTORE gas refund (#885) #338
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate and Upload Gas Snapshot | |
permissions: read-all | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: {} | |
jobs: | |
build: | |
# trunk-ignore(actionlint/runner-label) | |
runs-on: ubuntu-latest-16-cores | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: Set up Scarb | |
uses: software-mansion/setup-scarb@v1 | |
- name: Generate gas snapshot | |
run: python scripts/gen_snapshot.py | |
- name: Upload gas snapshot to GitHub Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: gas-snapshot | |
path: gas_snapshot.json |