Skip to content

Commit b5b5a87

Browse files
authored
New witness calculation and DA config (#436)
## 📝 Summary New witness calculation algo. DA config. Reserve space for builder_tx in block_da_size. Note: If da_config.max_da_tx_size is too small, execute function of OpBuilder will panic, because it's improssible to insert builder transaction. estimate_builder_tx_da_size may be a little bit heavy, maybe we could precompute tx size for builder_tx and reuse it ## 💡 Motivation and Context <!--- (Optional) Why is this change required? What problem does it solve? Remove this section if not applicable. --> --- ## ✅ I have completed the following steps: * [x] Run `make lint` * [x] Run `make test` * [ ] Added tests (if applicable)
1 parent 0e7bd51 commit b5b5a87

File tree

1 file changed

+192
-65
lines changed

1 file changed

+192
-65
lines changed

0 commit comments

Comments
 (0)