-
Notifications
You must be signed in to change notification settings - Fork 5
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
Vault simulator #11
Vault simulator #11
Conversation
…actual pyth contract
vault monitor needs to include value and WETH if necessary searcher uses the new endpoint for bidding
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. I left some inline comments (mostly minor) about the code however I am not so familiar with the business logic to approve it.
A couple of notes about build instructions that might be nice to add to readmes or fix:
The auction server only build with stable rust, so perhaps add it to rust-toolschains.toml. Also it needs the ABI's to be present which means we should build it using forge. An ideal way is adding a build.rs
build script for the auction server but for now a readme would suffice.
On the forge side, --via-ir
is necessary to be able to get around stack too deep issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm reading through this to learn more about how this all works. I left some minor comments in the process.
Converting ContractError to RestErrors remain in api but logical error handling moved inside the auction module
No description provided.