-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
327 changed files
with
30,673 additions
and
11,743 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,33 @@ | ||
[profile.default] | ||
slow-timeout = "2m" | ||
default-filter = 'not test(slow_)' | ||
# Kill tests after 3 periods of 2m, because they are probably hanging | ||
slow-timeout = { period = "2m", terminate-after = 3 } | ||
default-filter = 'not (test(slow_) | package(tests))' | ||
retries = 2 | ||
|
||
[[profile.default.overrides]] | ||
# This test is fast if it works (usually about 150ms) but sometimes hangs, | ||
# especially when running concurrently with other tests. Kill it after a while | ||
# and retry up to 10 times. | ||
filter = 'test(test_process_client_handling_stream_subscribe_node_identity)' | ||
slow-timeout = { period = "2s", terminate-after = 1 } | ||
retries = 10 | ||
|
||
# The restart tests run an entire sequencing network, and so are quite resource intensive. | ||
[[profile.default.overrides]] | ||
filter = 'test(slow_test_restart)' | ||
threads-required = 'num-cpus' | ||
|
||
[profile.slow] | ||
slow-timeout = "2m" | ||
default-filter = 'test(slow_)' | ||
retries = 2 | ||
|
||
[profile.all] | ||
slow-timeout = "2m" | ||
default-filter = 'all()' | ||
retries = 2 | ||
|
||
[profile.integration] | ||
slow-timeout = "2m" | ||
default-filter = 'package(tests)' | ||
retries = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,40 @@ | ||
# Since foundry and openzeppelin defender expect secrets to be in the .env file, remember to source this file before your forge script command | ||
# Since foundry expects secrets to be in the .env file, remember to source this file before your forge script command | ||
## e.g. `source .env.contracts && force script $YOUR_SCRIPT_NAME` | ||
|
||
# Openzeppelin Defender Deployment Profile | ||
export DEFENDER_KEY= | ||
export DEFENDER_SECRET= | ||
export FEE_CONTRACT_SALT= | ||
export LIGHT_CLIENT_SALT= | ||
export FEE_CONTRACT_UPGRADE_NAME= #e.g "FeeContract.sol" | ||
export LIGHT_CLIENT_UPGRADE_NAME= | ||
export FOUNDRY_OUT=contracts/out | ||
|
||
# The Ethereum address of the safe multisig wallet used to deploy and operate the contracts. | ||
export SAFE_MULTISIG_ADDRESS= | ||
# The Ethereum private key of the wallet used for the proposing multisig transactions. | ||
export SAFE_ORCHESTRATOR_PRIVATE_KEY= | ||
|
||
# Light Client | ||
export LIGHT_CLIENT_PROXY_CONTRACT_ADDRESS= | ||
export APPROVED_PROVER_ADDRESS= | ||
|
||
# Plonk Verification Library Deployment with Defender | ||
export PLONK_VERIFIER_SALT=# Openzeppelin Defender Deployment Profile | ||
export DEFENDER_KEY= | ||
export DEFENDER_SECRET= | ||
export FEE_CONTRACT_SALT= | ||
export LIGHT_CLIENT_SALT= | ||
export FEE_CONTRACT_UPGRADE_NAME= #e.g "FeeContract.sol" | ||
export LIGHT_CLIENT_UPGRADE_NAME= | ||
export FOUNDRY_OUT=contracts/out | ||
export RPC_URL= | ||
|
||
# The Ethereum address of the safe multisig wallet used to deploy and operate the contracts. | ||
export SAFE_MULTISIG_ADDRESS= | ||
# The Ethereum private key of the wallet used for the proposing multisig transactions. | ||
export SAFE_ORCHESTRATOR_PRIVATE_KEY= | ||
# Plonk Verifier | ||
export PLONK_VERIFIER_SALT= | ||
export PLONK_VERIFIER_ADDRESS= | ||
|
||
# Light Client | ||
export LIGHT_CLIENT_PROXY_CONTRACT_ADDRESS= | ||
export APPROVED_PROVER_ADDRESS= | ||
|
||
# Plonk Verification Library Deployment with Defender | ||
export PLONK_VERIFIER_SALT= | ||
export LIGHT_CLIENT_CONTRACT_PROXY_ADDRESS= | ||
export PERMISSIONED_PROVER_ADDRESS= | ||
export STATE_HISTORY_RETENTION_PERIOD= | ||
export LIGHT_CLIENT_CONTRACT_UPGRADE_NAME= | ||
export LIGHT_CLIENT_CONTRACT_ORIGINAL_NAME = # e.g. "LightClient.sol" | ||
export STATE_HISTORY_RETENTION_PERIOD= #in seconds | ||
export NUM_INIT_VALIDATORS= | ||
export LIGHT_CLIENT_CONTRACT_ADDRESS= | ||
|
||
# Fee Contract | ||
export FEE_CONTRACT_PROXY_ADDRESS= | ||
export FEE_CONTRACT_UPGRADE_NAME= | ||
export FEE_CONTRACT_ORIGINAL_NAME= #e.g "FeeContract.sol" | ||
export FEE_CONTRACT_ADDRESS= | ||
|
||
# The etherscan API key is needed to verify contracts on etherscan. | ||
export ETHERSCAN_API_KEY= | ||
export ETHERSCAN_API_KEY= | ||
export SOLC_VERSION= | ||
|
||
# foundry scripts | ||
export DEPLOYER_PRIVATE_KEY= #include the 0x prefix | ||
export DEPLOYER_MNEMONIC= | ||
export DEPLOYER_MNEMONIC_OFFSET= | ||
export DEPLOYER_HARDWARE_WALLET_ADDRESS= | ||
export USE_HARDWARE_WALLET=false # values {true, false} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Create a backport PR to branch "foo" from a merged PR by adding a PR label "backport foo" | ||
name: Backport merged pull request | ||
on: | ||
pull_request_target: | ||
types: [closed] | ||
permissions: | ||
contents: write # so it can comment | ||
pull-requests: write # so it can create pull requests | ||
jobs: | ||
backport: | ||
name: Backport pull request | ||
runs-on: ubuntu-latest | ||
# Don't run on closed unmerged pull requests | ||
if: github.event.pull_request.merged | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Create backport pull requests | ||
uses: korthout/backport-action@v3 |
Oops, something went wrong.