Skip to content

🚚 Add a Migrator contract #50

🚚 Add a Migrator contract

🚚 Add a Migrator contract #50

Workflow file for this run

name: πŸ—ƒοΈ Storage tests
on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:
# cancel previous runs on the same PR
concurrency:
group: ${{ github.ref }}-storage
cancel-in-progress: true
# All the env required for foundry
env:
FOUNDRY_PROFILE: "ci"
POLYGON_RPC_URL: "https://polygon-mainnet.g.alchemy.com/v2/${{ secrets.API_KEY_ALCHEMY_POLYGON }}"
jobs:
storage-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: 'πŸ”¨ Setup pnpm'
uses: pnpm/action-setup@v2
- name: 'πŸ”¨ Setup Node.js'
id: setup-node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: 'πŸ”¨ Install dependencies'
run: pnpm install --frozen-lockfile
- name: 'πŸ”¨ Install Foundry'
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: 'πŸ’Ύ Foundry fork cache'
uses: actions/cache@v3
with:
path: "~/.foundry/cache"
key: foundry-${{ hashFiles('foundry.toml') }} # where fork block numbers & RPC are stored
- name: 'πŸ’Ύ Foundry compilation cache'
uses: actions/cache@v3
with:
path: |
cache
out
key: foundry-${{ github.repository_id }}-${{ hashFiles('foundry.toml') }}
- name: 'πŸ§ͺ Check FRK Token storage'
uses: Rubilmax/[email protected]
with:
contract: contracts/tokens/FrakToken.sol:FrakToken
rpcUrl: ${{ env.POLYGON_RPC_URL }}
address: "0x6261E4a478C98419EaFa6289509C49058D21Df8c"
failOnRemoval: true
- name: 'πŸ§ͺ Check Fraktion Token storage'
uses: Rubilmax/[email protected]
with:
contract: contracts/fraktions/FraktionTokens.sol:FraktionTokens
rpcUrl: ${{ env.POLYGON_RPC_URL }}
address: "0x4B1611803687Ab821E1b670fE94CB93303D94F8a"
failOnRemoval: true
- name: 'πŸ§ͺ Check content pool storage'
uses: Rubilmax/[email protected]
with:
contract: contracts/reward/contentPool/ContentPool.sol:ContentPool
rpcUrl: ${{ env.POLYGON_RPC_URL }}
address: "0xDCB34659B83C4F8708fd7AcAA3755547BF8BBcA0"
failOnRemoval: true
- name: 'πŸ§ͺ Check referral pool storage'
uses: Rubilmax/[email protected]
with:
contract: contracts/reward/referralPool/ReferralPool.sol:ReferralPool
rpcUrl: ${{ env.POLYGON_RPC_URL }}
address: "0x166d8CFEe1919bC2e8c7AdBB34F1613194e9C599"
failOnRemoval: true
- name: 'πŸ§ͺ Check rewarder storage'
uses: Rubilmax/[email protected]
with:
contract: contracts/reward/Rewarder.sol:Rewarder
rpcUrl: ${{ env.POLYGON_RPC_URL }}
address: "0x8D9fa601DA1416b087E9db6B6EaD63D4920A4528"
failOnRemoval: true
- name: 'πŸ§ͺ Check minter storage'
uses: Rubilmax/[email protected]
with:
contract: contracts/minter/Minter.sol:Minter
rpcUrl: ${{ env.POLYGON_RPC_URL }}
address: "0x1adc8CAaA35551730eCd82e0eEA683Aa90dB6cf0"
failOnRemoval: true