- 26 Nov, 2024 10 commits
-
-
Zach Howard authored
-
Maurelian authored
* feat: delete unused deploy functions * feat: Delete some more unused code * fix: Unused imports * feat: reorder Deploy.s.sol helpers
-
George Knee authored
-
smartcontracts authored
Cleans up import statments in all contracts within the src/ directory. We should probably add a semgrep rule or a check that confirms that everything looks good. I'll leave that part for another commit.
-
Maurelian authored
* feat: delete unused deploy functions * feat: Delete some more unused code * fix: Unused imports
-
dependabot[bot] authored
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Matthew Slipper authored
* op-deployer: Add a proxy to handle RPC failures Anvil is very finnicky when it comes to RPC responses. It'll blow up if it encounters any HTTP error, and does not support retries. This PR adds a locally-hosted proxy which sits between Anvil and the fork RPC source and handles retries automatically. * lint * lint again * ignore lint
-
Matthew Slipper authored
-
chuangjinglu authored
Signed-off-by:
chuangjinglu <chuangjinglu@outlook.com>
-
Inphi authored
-
- 25 Nov, 2024 3 commits
-
-
Mael Regnery authored
* fix: use eth_getBlockReceipts for Infura RPC kind * fix infura test
-
Matthew Slipper authored
* ci: Convert all Go tests into a single job Takes all the go-e2e and go-test jobs and combines them into one single super-job. This has the following benefits: 1. We can centralize all config for Go tests in one place and simplify our CI pipeline. 2. It leaves parallelism up to the Go runtime, which is more efficient. 4. It makes our test reporting more accurate. As part of this PR, I also: 1. Created a new resource class just for Go tests. It runs on the large Latitude runner, but limits the number of parallel go test jobs to 3 to prevent resource starvation. 2. Enabled test retries on `gotestsum`. This should reduce the number of flakes we see from the Go tests by retrying them up to 2 times in the event that they fail. Failures are still captured by the test reporting, so we can address them. * code review updates
-
Michael Amadi authored
-
- 23 Nov, 2024 8 commits
-
-
Michael Amadi authored
* add LegacyMintableERC20 tests * fixes
-
Michael Amadi authored
* add test for L1ChugSplashProxy * fixes * fixes
-
Matthew Slipper authored
Most of the time there's no output from our Go tests, it means there's a bug. Lowering the timeout here will reduce the amount of time we spend waiting for jobs to fail. For long-running tests like fault proofs, the value is configured at 20m since those tests take longer.
-
Michael Amadi authored
* improve drippie & faucet tests and coverage * Update packages/contracts-bedrock/test/periphery/faucet/Faucet.t.sol Co-authored-by:
smartcontracts <kelvin@optimism.io> * Update packages/contracts-bedrock/test/periphery/faucet/Faucet.t.sol Co-authored-by:
smartcontracts <kelvin@optimism.io> --------- Co-authored-by:
smartcontracts <kelvin@optimism.io>
-
Sebastian Stammler authored
* ctb: Fix Holocene upgrade script * improve README * pass deploy-config as parameter to just run, other improvements * remove commented-out variables
-
smartcontracts authored
Co-authored-by:
Michael Amadi <amadimichaeld@gmail.com>
-
Michael Amadi authored
-
smartcontracts authored
Moves the task for linting test names to after the tests job so that the contract artifacts actually exist. We don't compile everything ahead of time and rely on forge test to do the compilation in an effort to cut down total compile time.
-
- 22 Nov, 2024 11 commits
-
-
smartcontracts authored
lint-forge-tests-check-no-build was causing issues in CI because it was running as part of contracts-bedrock-checks which depends on contracts-bedrock-build. contracts-bedrock-build builds the contract files EXCEPT for tests whenever contracts-bedrock has changed. This means that contracts-bedrock-build would not build any test files and therefore lint-forge-tests-check-no-build would not find any test files to check and the job would do nothing. However, when contracts-bedrock is NOT changed, the build job gets the full set of artifacts INCLUDING test artifacts from the cache. This would trigger the full check to actually be run and it would properly fail. This PR moves that particular check into contracts-bedrock-tests so that it's guaranteed to have all of the compiled contracts.
-
zhiqiangxu authored
-
Matthew Slipper authored
The tests in the txmgr queue were asserting that calls complete within a certain time window. This was causing flakes, particularly when the CI runner was under load. Generally we should avoid tests that use fixed durations as a way of asserting that code functions correctly.
-
Sam Stokes authored
* op-node: log mgasps across block processing lifecycle * op-node: add 'import_time' field to block processing log * op-node: make log message more descriptive * op-node: log legacy codepath for InsertUnsafePayload * op-node: include final ForkchoiceUpdate in block insertion time * op-node: remove unused BuildTime field from events * op-node: encapsulate log logic in TryUpdateEngineEvent methods * op-node: linter fix * op-node: add comment and adjust sync log wording * op-node: fix BlockHash, BlockNumber in log * op-node: seq add BuildStarted to PayloadProcessEvent * op-node: refactor getBlockProcessingMetrics, protect against divide-by-zero
-
Matthew Slipper authored
This reverts commit 8f5c20ee.
-
zhiqiangxu authored
* fix a deadlock * add comment
-
clabby authored
-
Michael Amadi authored
* improve DeployerWhitelist test * fix L1BlockNumber fallback test * fixes
-
AgusDuha authored
-
AgusDuha authored
-
mbaxter authored
* cannon: Port go map tests * cannon: Port pool_test.go * cannon: Port a few more mutex tests * cannon: Port waitgroup_test.go * cannon: Port oncefunc_test.go (in progress) * cannon: Port atomic_test.go (in progress) * cannon: Port value_test.go (in progress) * cannon: Fix atomic tests by using a test mock * cannon: Fix test fail behavior * cannon: Move test util to a shared module * cannon: Use common testutil throughout * cannon: Fix failing tests * cannon: Add sanity check test program for test runner utils * cannon: Add more util tests, fix step counts * cannon: Rename test util method * cannon: Fix panic, error handling in testutil * cannon: Dedupe test running code * cannon: Simplify testutil interface * cannon: Mark mt tests as slow * cannon: Cut debugging code from test * cannon: Validate gc complete output * cannon: Synchronize access to bool values
-
- 21 Nov, 2024 7 commits
-
-
Yann Hodique authored
* build: add just modules A lot of our build recipes share similar structures. Move some of these to modules so we can control them centrally. * build: add Makefile deprecation helper This allows us to implement deprecated Makefiles as: DEPRECATED_TARGETS := ... include ../just/deprecate.mk * build(docker): add just modules to docker context We need to make sure our build framework is included in the docker build context. Also make sure just is part of the builder image. * build(op-batcher): migrate build to just
-
Sebastian Stammler authored
This is adding op-program/v1.4.0-rc.1 with absolute prestate hash 0x03925193e3e89f87835bbdf3a813f60b2aa818a36bbe71cd5d8fd7e79f5e8afe to the releases.json file. This release contains Sepolia Holocene activation times for OP, Base, Mode, Zora, BUT NOT Metal.
-
Matthew Slipper authored
-
protolambda authored
-
Vinod Damle authored
Test hard fork offset overrides Co-authored-by:
Vinod Damle <vinod@oplabs.co>
-
clabby authored
-
Michael Amadi authored
* make riscv compile without the optimizer turned on * bump riscv.sol * bump riscv.sol
-
- 20 Nov, 2024 1 commit
-
-
Matthew Slipper authored
- Enables support for deploying tagged versions against new chains, but behind a huge warning that requires user input to bypass. Since our tagged release versions do not contain all implementations, using op-deployer in this way will deploy contracts that haven't been governance approved. Since this workflow is useful for development but bad for prod, I've added support for it but users have to bypass a large warning that describes the risks. - Validates the hashes of tagged version artifacts after downloading them. This prevents users from downloading tampered versions of the artifacts from GCS.
-