Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Auctioneer geth #58

Draft
wants to merge 86 commits into
base: main
Choose a base branch
from

Conversation

bharath-123
Copy link
Contributor

No description provided.

joroshiba and others added 30 commits October 11, 2024 15:45
Acquire a mutex lock and unlock while removing transactions from the
mempool to avoid concurrent errors on the underlying maps.

Changes made:
1. Acquire the pool mutex lock in `ClearAstriaOrdered`
2. Add a test in `legacypool_test.go` called `TestRemoveTxSanity` which
adds a bunch of pending txs and removes them using `removeTx`. We use
`ValidatePoolInternals` method to ensure that the pool state is not
corrupted. This test is a sanity check for us to validate that
`removeTx` works as intended and does not have adverse side effects.
3. Add a test in for the ExecutionAPI where we add an invalid tx which
will have to be removed. We verify that the mempool is cleared
completely after it

---------

Co-authored-by: Bharath <[email protected]>
cherry-pick: fix: use mutex lock for tx removal (#51)
…op (#44)

Causing an issue with dusk-10 and dawn.

Note branch has been forked from `v0.14.1`. Should be merged to main to
fix on head but will also need to use this branch to cut a `v0.14.2` for
`dusk-10` and dawn
PR to merge release/0.14.3 into main
This is utilizing non finalized protos, merge main before merging
Tested locally by running: `docker run -v $PWD:/workdir
protolambda/forkdiff:latest -repo=/workdir -fork=/workdir/fork.yaml
-out=/workdir/index.html`
@bharath-123 bharath-123 force-pushed the bharath/api-to-query-optimistic-block branch from af19469 to ffddf4b Compare December 3, 2024 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants