• Adrian Sutton's avatar
    op-supervisor: Add log db (#10902) · 1cf5239c
    Adrian Sutton authored
    * op-supervisor: Introduce thread-unsafe log database
    
    * op-supervisor: Add simple r/w locking
    
    * op-supervisor: Add comment
    
    * op-supervisor: Start switching to multi-entry database format
    
    * op-supervisor: Improve test to cover the case where a new block starts at a search checkpoint boundary (other than at the start of the file)
    
    * op-supervisor: Use a flag to indicate when log index should increment rather than a 1 byte increment amount.
    
    * op-supervisor: Comment out unused stuff to make lint happy.
    
    * op-supervisor: Load correct block number and log idx on init
    
    * op-supervisor: Refactor state to only hold context that can always be kept up to date.
    
    * op-supervisor: Support rewinding
    
    * op-supervisor: Remove TODO that probably won't be done there
    
    * op-supervisor: Require first log in block to have logIdx 0
    
    * op-supervisor: Remove completed TODO.
    
    * op-supervisor: Improve testing for logs not existing
    
    * op-supervisor: Fix typo
    
    * op-supervisor: Tidy up TODOs and pending tests.
    
    * op-supervisor: Add invariant assertions for db data
    
    * op-supervisor: Lock db in ClosestBlockInfo
    
    * op-supervisor: Label alerts
    
    * op-supervisor: Use a TruncatedHash for logs everywhere and make it a fixed size array.
    
    * op-supervisor: Separate serialization of initating events
    
    * op-supervisor: Separate serialization of other event types and enforce type code.
    
    * op-supervisor: Introduce entry type
    
    * op-supervisor: Split out an entry database
    
    * op-supervisor: Introduce structs for entry types
    
    * op-supervisor: Use a struct for CanonicalHash too
    1cf5239c
Name
Last commit
Last update
.changeset Loading commit data...
.circleci Loading commit data...
.github Loading commit data...
.vscode Loading commit data...
bedrock-devnet Loading commit data...
cannon Loading commit data...
docs Loading commit data...
op-batcher Loading commit data...
op-bootnode Loading commit data...
op-chain-ops Loading commit data...
op-challenger Loading commit data...
op-conductor Loading commit data...
op-dispute-mon Loading commit data...
op-e2e Loading commit data...
op-heartbeat Loading commit data...
op-node Loading commit data...
op-plasma Loading commit data...
op-preimage Loading commit data...
op-program Loading commit data...
op-proposer Loading commit data...
op-service Loading commit data...
op-supervisor Loading commit data...
op-ufm Loading commit data...
op-wheel Loading commit data...
ops Loading commit data...
ops-bedrock Loading commit data...
packages Loading commit data...
proxyd Loading commit data...
specs Loading commit data...
.coderabbit.yml Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.envrc.example Loading commit data...
.eslintrc.js Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.npmrc Loading commit data...
.nvmrc Loading commit data...
.pnpmfile.cjs Loading commit data...
.prettierrc.js Loading commit data...
.semgrepignore Loading commit data...
.shellcheckrc Loading commit data...
.snyk Loading commit data...
CITATION.cff Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
cloudbuild.yaml Loading commit data...
codecov.yml Loading commit data...
docker-bake.hcl Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
nx.json Loading commit data...
package.json Loading commit data...
pnpm-lock.yaml Loading commit data...
pnpm-workspace.yaml Loading commit data...
versions.json Loading commit data...