• Conner Fromknecht's avatar
    fix: check for empty block before submitting task in miner · a36e0947
    Conner Fromknecht authored
    Prior to this commit, an empty block would be submitted to the taskCh
    before sanity check whether or not it was empty. This assertion is moved
    up to fail before submitting the task.
    
    It seems the placement of the check before was done to get around the
    StreamUncle unit test, which would allow commit to submit an empty task
    before ultimately failing. Now that the test is modified to reflect the
    expected behavior of the sequencer, this placement is no longer
    necessary.
    a36e0947
Name
Last commit
Last update
.changeset Loading commit data...
.github Loading commit data...
.husky Loading commit data...
.vscode Loading commit data...
go Loading commit data...
integration-tests Loading commit data...
l2geth Loading commit data...
ops Loading commit data...
packages Loading commit data...
patches Loading commit data...
specs Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.eslintrc.js Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.nvmrc Loading commit data...
.prettierrc.js Loading commit data...
.prettierrc.json Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
lerna.json Loading commit data...
package.json Loading commit data...
tsconfig.build.json Loading commit data...
tsconfig.json Loading commit data...
yarn.lock Loading commit data...