forked from Finschia/finschia-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MERGING wasmd v0.10.0..v0.11.1: * wasmd v0.10.0 * go-cosmwasm 0.11.0-alpha1 and fix compiler issues * Updated contracts from cosmwasm v0.11.0-alpha3 https://github.com/CosmWasm/cosmwasm/releases/tag/v0.11.0-alpha3 * Return TimeNanos along with BlockInfo * Fix gas on tests * Fix reflect tests * Error message cleanup * Cleanup from pr review * Update go-cosmwasm to v0.11.0-alpha2, contracts to v0.11.0-alpha4 * Update code/tests to new version * Fix old contract naming in integration tests * Implemented files called general_consts.go to all modules that heavly relied on the duplicated "CLientID : 1" Future duplicated variables across the entire module can also be added to it, centralizing therefore all os those kind of values. * Closes #10 Implemented files called general_consts.go to all modules that heavly relied on the duplicated "ClientID : 1" * Add more queries on reflect contract * Test QuerySmart and QueryRaw reflected via contract * Add test for the response of StakingQuery::Validators * Add test for StakingQuery::AllDelegations * Cleanup from PR comments * Add tests for StakingQuery::{Delegation,BondedDenom} * Increment x/wasm error codes by 1 * Return raw stored bytes for raw queries * Update raw query REST response * Use json.RawMessage for better encoding of REST interface on raw queries * Test QueryContractState based on binary * Test nil key and adapt docs * Better calculation of Delegation.CanRedelegate * Wrote gnarly query to get outstanding rewards for delegator * Update app.go for new constructor * Minor PR cleanup * Ensure the DelegationQuery doesn't modify the state * Extra safe we do not write during the query * Prevent integer overflow * Review feedback * Add test showing WasmQuery::Raw fails for missing responses * Update to go-cosmwasm v0.11.0-rc and raw query tests pass * Update to go-cosmwasm v0.11.0 * Download newest contracts * Base64 encoded return data on wasm raw query REST endpoint * Manually encode as base64 as auto-encoded doesn't work FIXES FOR MERGING: * fix: add more properties to wasm keeper constructor - add encodeRouter, queryRouter, distribution keeper - update go.sum * fix: replace contracts with cosmwasm version 0.12.0 * fix: add a newline in the end of download_releases.sh * fix: replace contract for perf_check Co-authored-by: Yongwoo Lee <whylee@linecorp.com> Co-authored-by: Ethan Frey <ethanfrey@users.noreply.github.com> Co-authored-by: Gustavo H. M. Silva <gustavohmsilva@tuta.io> Co-authored-by: Simon Warta <simon@warta.it> Co-authored-by: Alex Peters <alpe@users.noreply.github.com>
- Loading branch information
1 parent
3f2267d
commit e8d32e8
Showing
42 changed files
with
691 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.