Skip to content

Commit

Permalink
optimism: update CI, update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
protolambda authored and mslipper committed Sep 8, 2022
1 parent 394e621 commit ff0043d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
26 changes: 24 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- checkout
- attach_workspace: {at: "/tmp/build"}
- run:
command: "/tmp/build/hive -sim=optimism/rpc -client=op-l1,op-l2,op-proposer,op-batcher,op-node |& tee /tmp/build/hive-rpc.log"
command: "/tmp/build/hive -sim=optimism/rpc -client=go-ethereum,op-geth,op-proposer,op-batcher,op-node,op-contracts |& tee /tmp/build/hive-rpc.log"
- run:
command: "! grep 'pass.*=false' /tmp/build/hive-rpc.log"
- slack/notify:
Expand All @@ -42,14 +42,33 @@ jobs:
event: pass
template: basic_success_1

hive-testnet-tests:
machine:
image: ubuntu-2004:202201-02
steps:
- checkout
- attach_workspace: {at: "/tmp/build"}
- run:
command: "/tmp/build/hive -sim=optimism/testnet -client=go-ethereum,op-geth,op-proposer,op-batcher,op-node,op-contracts |& tee /tmp/build/hive-testnet.log"
- run:
command: "! grep 'pass.*=false' /tmp/build/hive-testnet.log"
- slack/notify:
channel: C03N11M0BBN
event: fail
template: basic_fail_1
- slack/notify:
channel: C03N11M0BBN
event: pass
template: basic_success_1

hive-p2p-tests:
machine:
image: ubuntu-2004:202201-02
steps:
- checkout
- attach_workspace: {at: "/tmp/build"}
- run:
command: "/tmp/build/hive -sim=optimism/p2p -client=op-l1,op-l2,op-proposer,op-batcher,op-node |& tee /tmp/build/hive-p2p.log"
command: "/tmp/build/hive -sim=optimism/p2p -client=go-ethereum,op-geth,op-proposer,op-batcher,op-node,op-contracts |& tee /tmp/build/hive-p2p.log"
- run:
command: "! grep 'pass.*=false' /tmp/build/hive-p2p.log"
- slack/notify:
Expand Down Expand Up @@ -91,6 +110,9 @@ workflows:
- hive-rpc-tests:
requires: ["build"]
context: slack
- hive-testnet-tests:
requires: ["build"]
context: slack
- hive-p2p-tests:
requires: ["build"]
context: slack
2 changes: 1 addition & 1 deletion simulators/optimism/p2p/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

This test suite tests the P2P functionality in an Optimism Bedrock testnet.

hive --sim optimism/p2p --client=op-l1,op-geth,op-proposer,op-batcher,op-node,op-contracts --docker.output
hive --sim optimism/p2p --client=go-ethereum,op-geth,op-proposer,op-batcher,op-node,op-contracts --docker.output
2 changes: 1 addition & 1 deletion simulators/optimism/rpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ This test suite is a copy of the ETH L1 RPC test suite adapted for Optimism L2.
It tests several real-world scenarios such as sending value transactions,
deploying a contract or interacting with one.

hive --sim optimism/rpc --client=go-ethereum,op-geth,op-node,op-proposer,op-batcher,op-contracts --docker.output
hive --sim optimism/rpc --client=go-ethereum,op-geth,op-proposer,op-batcher,op-node,op-contracts --docker.output

0 comments on commit ff0043d

Please sign in to comment.