diff --git a/.github/workflows/e2e-contracts-postgres.yml b/.github/workflows/e2e-contracts-postgres.yml deleted file mode 100644 index df676b3b7..000000000 --- a/.github/workflows/e2e-contracts-postgres.yml +++ /dev/null @@ -1,83 +0,0 @@ -name: Contracts E2E Postgres tests - -on: - pull_request: - branches: - - '*' - paths-ignore: - - '.github/workflows/deploy.yml' - - '.github/workflows/docs-release.yml' - - '.github/workflows/outdated.yml' - - '.github/workflows/comment-tag-report.yml' - - '.github/workflows/pr-agent.yml' - - '.github/CODEOWNERS' - - 'config/**' - - 'README.md' - - 'LICENSE' - - 'CONTRIBUTING.md' - - 'utils/slack-notifiers/**' - workflow_dispatch: - push: # Rebuild cache policy - branches: - - 'main' - paths: - - 'Cargo.lock' - - 'Cargo.toml' - -jobs: - contract_test_psql: - strategy: - fail-fast: false - matrix: - contract: [token, pix, periphery, compound, yield, multisig] - name: E2E Postgres on ${{ matrix.contract }} - runs-on: ubuntu-latest - timeout-minutes: 45 - - concurrency: - group: ${{ github.workflow }}-${{ matrix.contract }}-${{ github.ref || github.run_id }} - cancel-in-progress: true - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up Rust - run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.75 - - - name: Rust Cache - uses: Swatinem/rust-cache@v2 - id: cache-cargo - with: - prefix-key: ${{ runner.os }}-v3-cargo - shared-key: stable-release - key: ${{ hashFiles('Cargo.lock', 'Cargo.toml') }} - cache-provider: "github" - cache-directories: "~/.cargo/bin/" - - - name: Install protoc - run: sudo apt-get install -y protobuf-compiler - - - name: Set up Just - uses: extractions/setup-just@v2 - - - name: Install Node.js - uses: actions/setup-node@v4 - with: - node-version-file: .tool-versions - - - name: Set up dependencies - if: ${{ steps.cache-cargo.outputs.cache-hit != 'true' }} - run: | - cargo install killport || true - cargo install wait-service || true - - - name: Clone ${{ matrix.contract }} repository - run: just contracts-clone --${{ matrix.contract }} - - - name: Run e2e tests - run: just contracts-test-stratus-postgres --${{ matrix.contract }} - env: - CARGO_PROFILE_RELEASE_DEBUG: 0 - RUST_LOG: off - RELEASE: 1 diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index f7c45d237..fdf8cc4f1 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -35,16 +35,6 @@ jobs: group: ${{ github.workflow }}-automine-inmemory-${{ github.ref || github.run_id }} cancel-in-progress: true - e2e-automine-stratus-postgres: - name: E2E Automine Stratus Postgres - uses: ./.github/workflows/_setup-e2e.yml - with: - justfile_recipe: 'e2e-stratus-postgres automine' - - concurrency: - group: ${{ github.workflow }}-automine-postgres-${{ github.ref || github.run_id }} - cancel-in-progress: true - e2e-automine-stratus-rocks: name: E2E Automine Stratus Rocks uses: ./.github/workflows/_setup-e2e.yml @@ -65,16 +55,6 @@ jobs: group: ${{ github.workflow }}-external-inmemory-${{ github.ref || github.run_id }} cancel-in-progress: true - e2e-external-stratus-postgres: - name: E2E External Stratus Postgres - uses: ./.github/workflows/_setup-e2e.yml - with: - justfile_recipe: 'e2e-stratus-postgres external' - - concurrency: - group: ${{ github.workflow }}-external-postgres-${{ github.ref || github.run_id }} - cancel-in-progress: true - e2e-external-stratus-rocks: name: E2E External Stratus Rocks uses: ./.github/workflows/_setup-e2e.yml diff --git a/src/eth/primitives/bytecode.rs b/src/eth/primitives/bytecode.rs index 6a5898e86..244b0579f 100644 --- a/src/eth/primitives/bytecode.rs +++ b/src/eth/primitives/bytecode.rs @@ -96,6 +96,7 @@ mod tests { const BYTECODE_PIX: &str = include_str!("../../../tests/fixtures/bytecodes/PixCashier.bin"); #[test] + #[ignore] // TODO: add assertions based on storage layout file generated from source code. fn parse_bytecode_slots() { // brlc snapshot