Skip to content

Commit 6188f37

Browse files
authoredNov 20, 2024··
Merge pull request #1 from makerdao/dev
Base Token Bridge
2 parents 735a864 + 8133c00 commit 6188f37

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+4510
-3
lines changed
 

‎.env.example

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
export FOUNDRY_SCRIPT_DEPS=deployed
2+
export FOUNDRY_EXPORTS_OVERWRITE_LATEST=true
3+
export L1="sepolia"
4+
export L2="base_sepolia"
5+
export MAINNET_RPC_URL=
6+
export BASE_RPC_URL=
7+
export SEPOLIA_RPC_URL=
8+
export BASE_SEPOLIA_RPC_URL=
9+
export L1_PRIVATE_KEY="0x$(cat /path/to/pkey1)"
10+
export L2_PRIVATE_KEY="0x$(cat /path/to/pkey2)"
11+
export ETHERSCAN_KEY=
12+
export BASESCAN_KEY=

‎.github/workflows/certora.yml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Certora
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
certora:
7+
name: Certora
8+
runs-on: ubuntu-latest
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
op-token-bridge:
13+
- escrow
14+
- l1-governance-relay
15+
- l2-governance-relay
16+
- l1-token-bridge
17+
- l2-token-bridge
18+
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v3
22+
with:
23+
submodules: recursive
24+
25+
- uses: actions/setup-java@v2
26+
with:
27+
distribution: 'zulu'
28+
java-version: '11'
29+
java-package: jre
30+
31+
- name: Set up Python 3.8
32+
uses: actions/setup-python@v3
33+
with:
34+
python-version: 3.8
35+
36+
- name: Install solc-select
37+
run: pip3 install solc-select
38+
39+
- name: Solc Select 0.8.21
40+
run: solc-select install 0.8.21
41+
42+
- name: Install Certora
43+
run: pip3 install certora-cli-beta
44+
45+
- name: Verify ${{ matrix.op-token-bridge }}
46+
run: make certora-${{ matrix.op-token-bridge }} results=1
47+
env:
48+
CERTORAKEY: ${{ secrets.CERTORAKEY }}

0 commit comments

Comments
 (0)
Please sign in to comment.