-
Notifications
You must be signed in to change notification settings - Fork 112
orderwatch,core,blockwatch: Improve Order Event subscription stability #566
orderwatch,core,blockwatch: Improve Order Event subscription stability #566
Commits on Dec 17, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 68a8de2 - Browse repository at this point
Copy the full SHA 68a8de2View commit details -
Configuration menu - View commit details
-
Copy full SHA for aaac163 - Browse repository at this point
Copy the full SHA aaac163View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7111983 - Browse repository at this point
Copy the full SHA 7111983View commit details -
Set all salts to current timestamp in nanoseconds in scenarios to gua…
…rentee unique order hashes
Configuration menu - View commit details
-
Copy full SHA for 9553176 - Browse repository at this point
Copy the full SHA 9553176View commit details -
Refactor scenarios so that CreateSignedTestOrderWithExpirationTime re…
…turns fillable orders
Configuration menu - View commit details
-
Copy full SHA for 87ff0e3 - Browse repository at this point
Copy the full SHA 87ff0e3View commit details -
Make order re-validations async, occur at specific block numbers, fix…
… race-condition on adding orders and batch emit ADDED order events
Configuration menu - View commit details
-
Copy full SHA for f03df52 - Browse repository at this point
Copy the full SHA f03df52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bdc973 - Browse repository at this point
Copy the full SHA 0bdc973View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9323648 - Browse repository at this point
Copy the full SHA 9323648View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f41578 - Browse repository at this point
Copy the full SHA 9f41578View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61b10d9 - Browse repository at this point
Copy the full SHA 61b10d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b65ded1 - Browse repository at this point
Copy the full SHA b65ded1View commit details -
Ensure that we only catch up on order events for newly added order up…
… until the block number where the `handleBlockEvents` lock was acquired`
Configuration menu - View commit details
-
Copy full SHA for 0fb20b2 - Browse repository at this point
Copy the full SHA 0fb20b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 330934c - Browse repository at this point
Copy the full SHA 330934cView commit details -
Don't stop blockWatcher in orderWatcher tests so that we fine-grained…
… control over when blocks are synced
Configuration menu - View commit details
-
Copy full SHA for 2a438d4 - Browse repository at this point
Copy the full SHA 2a438d4View commit details -
Add test ensuring that ADDED order events are batch emitted when batc…
…h added to OrderWatcher
Configuration menu - View commit details
-
Copy full SHA for 8823e9d - Browse repository at this point
Copy the full SHA 8823e9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4823833 - Browse repository at this point
Copy the full SHA 4823833View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd1d1ff - Browse repository at this point
Copy the full SHA bd1d1ffView commit details -
Add tests for whitelist functionality on handleBlockEvents method for…
… fills, cancels, cancelUpTo and re-validations
Configuration menu - View commit details
-
Copy full SHA for f7b352d - Browse repository at this point
Copy the full SHA f7b352dView commit details -
Add test for backfilling order events for blocks processed while vali…
…dating an incoming order
Configuration menu - View commit details
-
Copy full SHA for e9f7b63 - Browse repository at this point
Copy the full SHA e9f7b63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d043b3 - Browse repository at this point
Copy the full SHA 0d043b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebf7452 - Browse repository at this point
Copy the full SHA ebf7452View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25925eb - Browse repository at this point
Copy the full SHA 25925ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86b7ff5 - Browse repository at this point
Copy the full SHA 86b7ff5View commit details -
signal that AtLeastOneBlockProcessed in SyncToLatestBlock before emit…
…ting block events
Configuration menu - View commit details
-
Copy full SHA for 83980ed - Browse repository at this point
Copy the full SHA 83980edView commit details -
Increase block polling interval in integration tests so that at least…
… one block processed in a reasonable amount of time and that blocks are processed soon after we create an order
Configuration menu - View commit details
-
Copy full SHA for 2e5e5a6 - Browse repository at this point
Copy the full SHA 2e5e5a6View commit details -
Add sleep after creating order to allow time for Mesh to sync to the …
…latest block, so that when it validates the order, it does so at a block height where the balance/allowance set by scenario took effect
Configuration menu - View commit details
-
Copy full SHA for 43d7448 - Browse repository at this point
Copy the full SHA 43d7448View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32e5e71 - Browse repository at this point
Copy the full SHA 32e5e71View commit details -
Configuration menu - View commit details
-
Copy full SHA for f53bc66 - Browse repository at this point
Copy the full SHA f53bc66View commit details -
Configuration menu - View commit details
-
Copy full SHA for c181bdd - Browse repository at this point
Copy the full SHA c181bddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 422edfd - Browse repository at this point
Copy the full SHA 422edfdView commit details -
Store lastRevalidatedBlockNumber in DB as int64 since a 64 bit intege…
…r since with ~15sec block times we should be fine for the next 4.38*10^12 years
Configuration menu - View commit details
-
Copy full SHA for 12222c1 - Browse repository at this point
Copy the full SHA 12222c1View commit details -
Add comment explicitly stating that if order not found in DB, we proc…
…eed without further checks
Configuration menu - View commit details
-
Copy full SHA for c320379 - Browse repository at this point
Copy the full SHA c320379View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85387dd - Browse repository at this point
Copy the full SHA 85387ddView commit details -
Pass context into ValidateAndStoreValidOrders so that it's RPC reques…
…ts get cancelled during a graceful shutdown
Configuration menu - View commit details
-
Copy full SHA for 56b577a - Browse repository at this point
Copy the full SHA 56b577aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f1abac - Browse repository at this point
Copy the full SHA 6f1abacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d3ff05 - Browse repository at this point
Copy the full SHA 6d3ff05View commit details -
Co-Authored-By: Alex Browne <stephenalexbrowne@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c1c61fe - Browse repository at this point
Copy the full SHA c1c61feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27a1c4a - Browse repository at this point
Copy the full SHA 27a1c4aView commit details -
Implement method that waits until first block processed by BlockWatch…
…er, the parent context gets cancelled or 60seconds elapses
Configuration menu - View commit details
-
Copy full SHA for fd13db6 - Browse repository at this point
Copy the full SHA fd13db6View commit details -
Break up ValidateAndStoreValidOrders into multiple smaller methods th…
…at could be tested independently
Configuration menu - View commit details
-
Copy full SHA for ce3f6cb - Browse repository at this point
Copy the full SHA ce3f6cbView commit details -
Refactor FindLatestMiniHeader and FindMiniHeaderByBlockNumber to retu…
…rn an error if the miniHeader was not found to adhere to the DB interface expectations
Configuration menu - View commit details
-
Copy full SHA for 41ec802 - Browse repository at this point
Copy the full SHA 41ec802View commit details -
Add test covering edge-case where block at which order validation hap…
…pens gets re-orged out while ETH RPC request is ongoing
Configuration menu - View commit details
-
Copy full SHA for 6d2266f - Browse repository at this point
Copy the full SHA 6d2266fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 555e4cb - Browse repository at this point
Copy the full SHA 555e4cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56878ce - Browse repository at this point
Copy the full SHA 56878ceView commit details -
Revert refactors to OrderWatcher attempting to allow certain events t…
…o get processed immediately, and others asynchronously
Configuration menu - View commit details
-
Copy full SHA for 001c4f3 - Browse repository at this point
Copy the full SHA 001c4f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bd54c0 - Browse repository at this point
Copy the full SHA 6bd54c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f6f583 - Browse repository at this point
Copy the full SHA 7f6f583View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bb22c1 - Browse repository at this point
Copy the full SHA 8bb22c1View commit details -
Insert blocks into DB only _once_ processed by OrderWatcher so that w…
…hen Mesh exits and spins back up, it'll re-process blocks that weren't processed
Configuration menu - View commit details
-
Copy full SHA for 4f9b440 - Browse repository at this point
Copy the full SHA 4f9b440View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c2276f - Browse repository at this point
Copy the full SHA 5c2276fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b2867e - Browse repository at this point
Copy the full SHA 3b2867eView commit details -
Now that we block the block event processing, we don't need to check …
…if a re-org happened and deal with these edge-cases
Configuration menu - View commit details
-
Copy full SHA for ae8de2f - Browse repository at this point
Copy the full SHA ae8de2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0530258 - Browse repository at this point
Copy the full SHA 0530258View commit details -
Configuration menu - View commit details
-
Copy full SHA for 507e532 - Browse repository at this point
Copy the full SHA 507e532View commit details -
Configuration menu - View commit details
-
Copy full SHA for a14f268 - Browse repository at this point
Copy the full SHA a14f268View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41f0227 - Browse repository at this point
Copy the full SHA 41f0227View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3acb32 - Browse repository at this point
Copy the full SHA d3acb32View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2c93f4 - Browse repository at this point
Copy the full SHA b2c93f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9b4f97 - Browse repository at this point
Copy the full SHA a9b4f97View commit details -
Handle the third case where a new latest block has the same timestamp…
… as the old latest block
Configuration menu - View commit details
-
Copy full SHA for 09296f6 - Browse repository at this point
Copy the full SHA 09296f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87b2179 - Browse repository at this point
Copy the full SHA 87b2179View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3bc772 - Browse repository at this point
Copy the full SHA e3bc772View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d3fbc8 - Browse repository at this point
Copy the full SHA 5d3fbc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26cfc2f - Browse repository at this point
Copy the full SHA 26cfc2fView commit details
Commits on Dec 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 391dd91 - Browse repository at this point
Copy the full SHA 391dd91View commit details