Coder Social home page Coder Social logo

isabella232 / optimistic-rollup-integration-tests Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vulcanize/optimistic-rollup-integration-tests

0.0 0.0 0.0 236 KB

Integration tests to be run against the combined functionality of the Optimism go-ethereum fork & optimism-monorepo

License: MIT License

Dockerfile 1.33% Shell 70.62% TypeScript 28.05%

optimistic-rollup-integration-tests's Introduction

Integration Tests

Tests can be added to packages/integration-tests. These tests are built into a Docker container and ran with docker-compose along with the rest of the stack.

Running in CI

When this runs in CI, it references the latest images in ECR for:

  • Postgres
  • Rollup Services
  • L2 Geth
  • Ganache CLI (for simulating L1)

Running locally

This repo can be ran locally against Docker images built from arbitrary git refs. scripts/test.sh will autotmatically build images that don't already exist and run them as part of the integration test suite.

$ ./scripts/test.sh
Build docker images and test using git branches.

CLI Arguments:
  -m|--microservices   - microservices branch
  -p|--postgres        - postgres branch
  -g|--gethl2          - gethl2 branch
  -l|--logs            - grep -E log filter

Default values for branches are master.
Will rebuild if new commits to a branch are detected.


For filtering logs with -l, use the | to delimit names of services.
Possible services are geth_l2, postgres, l1_chain, integration_tests.
Example:
$ ./scripts/test.sh -l 'geth_l2|integration_tests'

Example:
$ ./scripts/test.sh -p master -m new-feature-x -g new-feature-y

optimistic-rollup-integration-tests's People

Contributors

tynes avatar willmeister avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.