maint(ct): use L1Block interfaces in tests
Updates some tests to use the interfaces for L1Block and L1BlockNumber to cut down compile time.
Semgrep found 4 golang_fmt_errorf_no_params findings:
- op-supervisor/supervisor/backend/db/db_test.go
- op-chain-ops/deployer/state/intent.go
- op-chain-ops/deployer/bootstrap/bootstrap.go
No fmt.Errorf invocations without fmt arguments allowed
Semgrep found 1 math-random-used finding:
Do not use math/rand. Use crypto/rand instead.
Semgrep found 1 marshal-json-pointer-receiver finding:
MarshalJSON with a pointer receiver has surprising results: https://github.com/golang/go/issues/22967
Ignore this finding from marshal-json-pointer-receiver.Semgrep found 1 err-nil-check finding:
superfluous nil err check before return
Ignore this finding from err-nil-check.
Needs a rebase
Semgrep found 2 sol-style-input-arg-fmt findings:
- packages/contracts-bedrock/test/kontrol/proofs/utils/DeploymentSummaryFaultProofs.sol
- packages/contracts-bedrock/test/kontrol/proofs/utils/DeploymentSummary.sol
Inputs to functions must be prepended with an underscore (_)