• George Knee's avatar
    op-batcher: Move decision about data availability type to channel submission time (#12002) · 106993f8
    George Knee authored
    * tidy up godoc
    
    * move data availability config decision to channel submission time
    
    instead of channel creation time
    
    Also, cache the ChannelConfig whenever we switch DA type so it is used by default for new channels
    
    * fix test
    
    * formatting changes
    
    * respond to PR comments
    
    * add unit test for Requeue method
    
    * reduce number of txs in test block
    
    * improve test (more blocks in queue)
    
    * hoist pending tx management up
    
    * wip
    
    * tidy up test
    
    * wip
    
    * fix
    
    * refactor to do requeue before calling nextTxData
    
    * introduce ErrInsufficientData
    
    do not return nextTxData from channel which was discarded by requeue
    
    * run test until nonzero data is returned by TxData
    
    * break up and improve error logic
    
    * fix test to anticipate ErrInsufficientData
    
    * after requeuing, call nextTxData again
    
    * remove unecessary checks
    
    * move err declaration to top of file
    
    * add some comments and whitespace
    
    * hoist lock back up to TxData
    
    * rename variable to blocksToRequeue
    
    * remove panic
    
    * add comment
    
    * use deterministic rng and nonecompressor in test
    
    * test: increase block size to fill channel more quickly
    
    * remove ErrInsufficientData
    
    replace with io.EOF as before
    
    * tidy up
    
    * typo
    106993f8
Name
Last commit
Last update
.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-alt-da 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-node 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/contracts-bedrock 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...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules 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...
justfile Loading commit data...
versions.json Loading commit data...