-
Notifications
You must be signed in to change notification settings - Fork 51
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
Support WASM stargate queries #309
Conversation
Since there is no need to set the soft-fork and half height separately, I think it would be better to update only the minor version and recommend it to the public infrastructure providers. I have already confirmed that state breaking does not occur on the mainnet, so I will conduct a final test after conducting additional source code refactoring. |
for i := 0; i < numInputs; i++ { | ||
rate := float64(int64(rand.Float64()*base)) / base | ||
rate := float64(int64(r.Float64()*base)) / base |
Check notice
Code scanning / CodeQL
Floating point arithmetic
for i := 0; i < numInputs; i++ { | ||
rate := float64(int64(rand.Float64()*base)) / base | ||
rate := float64(int64(r.Float64()*base)) / base |
Check notice
Code scanning / CodeQL
Floating point arithmetic
@@ -23,17 +23,17 @@ | |||
|
|||
base := math.Pow10(OracleDecPrecision) | |||
|
|||
rand.Seed(int64(time.Now().Nanosecond())) | |||
numInputs := 10 + (rand.Int() % 100) | |||
r := rand.New(rand.NewSource(int64(time.Now().Nanosecond()))) |
Check warning
Code scanning / CodeQL
Calling the system time
5c90abe
to
76ea3a9
Compare
b8d0aab
to
f4667f7
Compare
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.
LGTM. I bumped go version to 1.20 as well.
Co-authored-by: Inon Man <[email protected]> (cherry picked from commit 63acef9)
Co-authored-by: Inon Man <[email protected]>
Co-authored-by: nghuyenthevinh2000 <[email protected]>
Summary of changes
Enable stargate query through cosmwasm. This will allow Deps to be
<Empty>
Code on Rust side: classic-terra/classic-bindings#1