-
Notifications
You must be signed in to change notification settings - Fork 161
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
Simple leverage functional test #1210
Comments
Right now in the price-feeder we only have one mock provider that points to the same spreadsheet for all instances |
@RafilxTenfen we can't set prices by CLI We'll have to simulate pre/votes by having validators submit txs of prices, much how we do this for oracle simulations |
For this test case I think any reasonable price will work.
|
Prices get reset each voting period, so if a chain is running we will need continual votes for the price to be set. Also are we running these tests with multiple validators? If so it'll be a lot easier on us if we just loop through voting instead of using multiple instances of the price feeder @robert-zaremba |
Ideally we will need a way to instrument the price feeder or validators to use a price source we want for a given test scenario. |
Is this one meant to just be those 4 transactions? If so we can probably omit it (keeper tests and cli already do similar) or expand it into a load test like #1209 |
This task is a warm up - just to have something simpler to start with. We can then transform it into #1209. The idea was to have something like a PoC. |
We use the genesis file from: #1206
a_1
supply and collateralize 10'000umee.a_2
supply 2atom.a_1
borrows 1atoma_2
withdraws (unsupply) 1atoma_1
pays back 1atomFor Admin Use
The text was updated successfully, but these errors were encountered: