-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix surplus-related minor issues #450
Comments
I tried to start the single flapper simulation but it failed with the following error: /Users/zoey/Documents/Development/SideStream/unified-auctions-ui/chaos-proxy/src/api.ts:20
throw new Error(`Chaoslabs API request failed with error: ${error instanceof Error ? error.message : error}`);
^
Error: Chaoslabs API request failed with error: Request failed with status code 400
at executeAPIrequest (/Users/zoey/Documents/Development/SideStream/unified-auctions-ui/chaos-proxy/src/api.ts:20:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async startSimulationInstance (/Users/zoey/Documents/Development/SideStream/unified-auctions-ui/chaos-proxy/src/api.ts:25:22)
at async getSimulationUrl (/Users/zoey/Documents/Development/SideStream/unified-auctions-ui/chaos-proxy/src/api.ts:51:24)
at async /Users/zoey/Documents/Development/SideStream/unified-auctions-ui/chaos-proxy/src/index.ts:22:23 |
I do not understand this point. Currently the table state either displays:
A user can see if there are bids yet or not in the
I cannot test this as the simulation does not work properly, the helper functions do portray it properly so I agree with you that it is an issue with the retrieving or the store functions. |
The transaction table haven't showed this kind of thing, only the auction table. See the changes proposed in this PR to understand the difference. https://github.com/sidestream-tech/unified-auctions-ui/pull/451/files
Chaoslabs simulation are no longer maintained as you may heard. I was referencing to our own simulations implemented in #449 (as specified and linked in the readme). See |
I run into the following error when trying to launch the simulation sh: 1: Syntax error: Bad fd number
ERROR: "hardhat:silent" exited with 2. |
@valiafetisov In |
The problem is related to the unified-auctions-ui/core/package.json Line 12 in be5f7f6
The quick fix would be to temporary replace |
I did some digging, and it seems that |
Goal
Test surplus participation using simulation, document and fix related problems
Context
After the new surplus simulation was implemented in #449, we're discovered few issues already documented in the comment there. Now we want to test it further and fix related problems.
Tasks
nextMinimumBid
to make sense (eg a uniswap price * gap to reach 1k net profit)SurplusAuctionBidTransactionTable
"state" should display state, not just dateSurplusAuctionBidTransactionTable
end state should count down, but count up (ie Ended 2s ago, 3s ago, etc. First guess: can be caused by invalid determination of theearliestEndDate
)The text was updated successfully, but these errors were encountered: