Skip to content

Commit

Permalink
[ETHEREUM-CONTRACTS] update SuperTokenV1Library (#2048)
Browse files Browse the repository at this point in the history
  • Loading branch information
d10r authored Jan 14, 2025
1 parent 1edc4ed commit bd84747
Show file tree
Hide file tree
Showing 33 changed files with 552 additions and 129 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
check-subgraph-indexing-statuses-on-deployed-networks:
name: Check SDK-Core Schema Against Deployed Subgraphs (${{ inputs.subgraph-release }})

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

env:
sdk-core-working-directory: ./packages/sdk-core
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call.deploy-dry-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
deploy-to-forked-network:
name: Deploy Framework and Update Tokens on a Forked Network
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
ethereum-contracts-working-directory: ./packages/ethereum-contracts

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/call.deploy-subgraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
show-contexts:
name: Show Contexts

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Show contexts
Expand All @@ -57,7 +57,7 @@ jobs:
determine-networks:
name: Determine Networks
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
networks: ${{ steps.determine.outputs.networks }}
steps:
Expand All @@ -81,7 +81,7 @@ jobs:
deploy-subgraph:
name: Build and Deploy Subgraph

runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: determine-networks
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call.test-automation-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
test-automation-contract:
name: Test Automation Contracts

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

defaults:
run:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/call.test-ethereum-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
matrix-prep:
name: Preparing Conditional Strategy Matrix

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
Expand All @@ -36,7 +36,7 @@ jobs:

needs: [matrix-prep]

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

strategy:
matrix: ${{ fromJson(needs.matrix-prep.outputs.matrix) }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call.test-hot-fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
test-spec-haskell:
name: Test HotFuzz - Linux

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

defaults:
run:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/call.test-local-subgraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
subgraph-unit-tests:
name: Run subgraph unit tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

defaults:
run:
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
subgraph-integration-tests:
name: Run subgraph integration tests

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

defaults:
run:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/call.test-sdk-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
matrix-prep:
name: Preparing Conditional Strategy Matrix

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
Expand All @@ -39,7 +39,7 @@ jobs:

needs: [matrix-prep]

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

strategy:
matrix: ${{ fromJson(needs.matrix-prep.outputs.matrix) }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call.test-solidity-semantic-money.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
test-solidity-semantic-money:
name: Test solidity-semantic-money - Linux

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call.test-spec-haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
test-spec-haskell:
name: Test Spec Haskell - Linux - ${{ matrix.compiler-name }}

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

strategy:
matrix:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
build-and-test-live-subgraph-previous-releases:
name: Build and test current subgraph release with previous sdk-core versions

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call.upload-coverage-reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
upload-coverage-reports:
name: Upload coverage reports

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd.feature.create-pr-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
create_pr_artifact:
name: Create PR Artifact

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

defaults:
run:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/cd.packages-stable.create-release-drafts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
create-ethereum-contracts-release-draft:
name: Create Ethereum-Contracts Release Draft

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

permissions: write-all

Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
create-subgraph-release-draft:
name: Create Subgraph Release Draft

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

permissions: write-all

Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
create-and-publish-metadata-package:
name: Create Metadata Release Draft and Publish to NPM

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

permissions: write-all

Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
check-sdk-core-version:
name: Checking if SDK-Core should be published

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

outputs:
publish_sdk_core: ${{ env.SHOULD_PUBLISH_SDK_CORE }}
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
create-sdk-core-release-draft:
name: Create SDK-Core Release Draft

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

needs:
[
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
create-sdk-redux-release-draft:
name: Create SDK-Redux Release Draft

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

permissions: write-all

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
check:
name: Checking what packages need to be built

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

defaults:
run:
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:

all-packages-tested:
name: All packages tested (Dev Branch)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-not-requiring-successful-dependent-jobs
if: ${{ always() }}

Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:

needs: [all-packages-tested]

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

defaults:
run:
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:

needs: [all-packages-tested]

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

defaults:
run:
Expand Down Expand Up @@ -280,7 +280,7 @@ jobs:

needs: [all-packages-tested]

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

strategy:
fail-fast: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
check:
name: Checking what packages need to be built

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

defaults:
run:
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
all-packages-tested:
name: All packages tested (Feature Branch)

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

if: always()

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily-slack-message.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
send-slack-message:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/handler.changelog-reminder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
check:
name: Check which packages have been modified

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

outputs:
build_ethereum_contracts: ${{ env.BUILD_ETHEREUM_CONTRACTS }}
Expand All @@ -29,7 +29,7 @@ jobs:
pull-requests: write
issues: write

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

needs: [check]
if: needs.check.outputs.build_ethereum_contracts || needs.check.outputs.build_sdk_core || needs.check.outputs.build_sdk_redux || needs.check.outputs.build_spec_haskell
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/handler.deploy-to-mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
deploy-to-mainnet:
name: Deploy to mainnet

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

env:
RELEASE_VERSION: ${{ github.event.inputs.release_version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/handler.deploy-to-testnets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
deploy-to-testnets:
name: Deploy to testnets

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

env:
RELEASE_VERSION: ${{ github.event.inputs.release_version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/handler.list-super-token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
jobs:

list-super-token-script:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

env:
RELEASE_VERSION: ${{ github.event.inputs.release_version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/handler.placeholder-for-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
placeholder-for-testing:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Test
run: echo test
2 changes: 1 addition & 1 deletion .github/workflows/handler.publish-pr-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

permissions: write-all

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

if: ${{ github.event.workflow_run.conclusion == 'success' }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/handler.publish-release-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

permissions: write-all

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

defaults:
run:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
jobs:

run-ethereum-contracts-script:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/handler.update-evm-contracts-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
update-evm-contracts-docs:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/handler.verify-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
verify-on-etherscan:
name: Verify on Etherscan

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

env:
RELEASE_VERSION: ${{ github.event.inputs.release_version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/handler.xkcd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
post-xkcd:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

permissions:
pull-requests: write
Expand Down
Loading

0 comments on commit bd84747

Please sign in to comment.