Tags: init4tech/builder
Tags
fix(sim): use previous block number for creating alloy db in simulator ( #119) # fix(sim): use previous block number for creating alloy db in simulator PR #116 introduced a logic change that reused the block number from the `block_env` to fetch the state for the alloy DB instance, which results in querying for state of a block number that doesn't exist. This commit reduces that number by 1 to correctly create the AlloyDB state from the previous block instead of the in-progress block.
Adds bundle support to block builder (#8) * WIP: adding bundle fetcher support * WIP: separating auth out into authenticator * WIP: fixing the cannot drop a runtime in a blocking context error * WIP: Fixes tokio runtime drop bug * wip: cleanup and remove imports * chore: fix dep error * chore: mark bundle poller test as it * feat: spawn bundle poller and handle exits * feat: ingest bundle transactions, drop bundle on failure This implements ingesting bundle transactions naively. It does not take into account the bundle "rules", so to say, which would make it a bit more complex. If a transaction fails to decode, the bundle is considered "invalid", and dropped. * chore: clippy * chore: comments * chore: clarify comment on signed orders * chore: dedup oauth, do not use spawn blocking * chore: remove unneeded async * chore: clean up authenticator * feat: track seen bundles to dedup * feat(`oauth`): caching, shareable authenticator (#19) * feat: caching, shareable authenticator * fix: actually spawn builder task lmao * chore: remove unnecesary mut selfs --------- Co-authored-by: evalir <[email protected]>