Commit Graph

65 Commits

Author SHA1 Message Date
Ethan Frey
bff3aff95b Run new "make format" 2022-05-09 22:34:26 +02:00
Alex Peters
0fc0ac585c Replace custom codec with sdk codec 2022-02-21 10:31:36 +01:00
Alexander Peters
b8319aa334 Upgrade to cosmos-sdk v0.45.0 (#717)
* Upgrade to cosmos-sdk v0.44.5

* Upgrade to sdk v0.45.0-rc1

* Fix local test deploy scripts

* Bump to v0.45.0 final release

* Fixed replace to 0.45.0 not rc1

* Fix changed import path since rc1

Co-authored-by: Ethan Frey <ethanfrey@users.noreply.github.com>
2022-01-20 12:47:01 +01:00
fkneeland-figure
57517b0c33 Add golangci lint check on pull requests (#645)
* added golangci lint check on pull requests

* changelog update

* updated to use circleci instead of github actions

* testing a golang change

* added workflow

* updated how we find the golangci command in the make file

* using orb for golangci

* Added golangci install make command

* use docker image for golangci

* stop using make in circleci

* reverted golang change to trigger ci

* gofmt

* make fmt

* fixed a few things

* updated version on golintci

* fixed all the lint errors

* check version

* skipped wrongly failing lint

* Revert generated file changes

* fix import grouping, return errors on failures, initialization of arrays revert

* fixed a few lint errors

* addressed more code review comments

* updated with error check

* increased timeout for golangci-lint

* dont format autogenerated files

Co-authored-by: Carlton Hanna <channa@figure.com>
2021-10-25 09:09:47 +02:00
fkneeland-figure
dd390d7f5f Go Formatting update (#648)
* make fmt

* changelog update
2021-10-21 14:54:16 +02:00
Piotr Husiatyński
b2fc913398 Keeper tests (#590)
* More keeper tests

x/wasm/keeper tests are extended to test various input validation.
Keeper input is validated before passing to the keeper method when used
within wasmd application. We cannot ensure such validation when this
keeper is used outside of wasmd application. To keep it safe, fully
validate keeper methods input.

hackatom.wasm is loaded into memory during initialization to avoid
reading file in each test separately. Once migrated to go 1.16, embed
package should be used instead.

Run goimport on certain files.

Some comments fixed or removed.

* ensure that creator address is not nil
2021-08-27 15:37:07 +02:00
Alexander Peters
70dedadb9c Monitor WasmVM cache metrics (#503)
* Start collect WasmVM cache metrics

* Review comments

* Integrate wasmvm metrics

* Bring all together
2021-04-28 15:08:54 +02:00
Alexander Peters
d90bf6ec3f Extend ContractInfo for custom data (#492)
* Extend ContractInfo with custom data

* Review comments
2021-04-16 13:38:21 +02:00
Alexander Peters
8109bba871 Add extension points to the CLI (#477)
* Extract interfaces for genesis state in CLI

* Add more godoc

* Review feedback
2021-03-31 13:24:06 +02:00
Alexander Peters
0f46dee0c4 Implement IBC contract support (#394)
* Implement IBC contract support

* Update changelog

* Adjust tests for new event logic

* Review comment
2021-01-29 11:11:15 +01:00
Alex Peters
03b31b22dc CLI integration 2021-01-07 14:19:21 +01:00
Alexander Peters
53bbf96e9e Upgrade to cosmos-sdk v0.40.0-rc5 (#345)
* Upgrade to cosmos-sdk v0.40.0-rc5

* Migrate cli queries

* Update changelog

* Remove DONTCOVER filter for coverage
2020-12-17 14:13:18 +01:00
Alex Peters
06f42c56af Fix home dir issue in export command 2020-12-11 11:26:27 +01:00
Alex Peters
ca040da925 Integrate wasmcli into wasmd 2020-11-17 12:54:21 +01:00
Alexander Peters
93761eac33 Upgrade wasmvm aka go-cosmwasm (#311)
* Upgrade wasmvm aka go-cosmwasm

* Update x/wasm/README.md

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>

* Review feedback

* CircleCI: export GORACE

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
2020-11-17 12:53:31 +01:00
Alex Peters
a485d942aa Upgrade to Stargate RC3 2020-11-10 15:04:49 +01:00
Alex Peters
bf83c4476c Upgrade to Stargate RC2 2020-11-03 18:20:26 +01:00
Alex Peters
cd3f72e6f1 Review feedback 2020-10-29 13:55:43 +01:00
Ethan Frey
262f1cfccb Document local cli tests 2020-10-28 10:33:44 +01:00
Ethan Frey
85cccdc0d4 Away from master onto v0.40.0-rc1 2020-10-27 21:04:22 +01:00
Alex Peters
bcb00d6017 Upgrade to Stargate commits 2020-10-27 15:01:22 +01:00
Ethan Frey
67279c356d Remove wasmgovd files and Makefile entry 2020-07-27 20:09:43 +02:00
Ethan Frey
7b1a4de59d Add logic to app.go to configure enabled proposals 2020-07-27 19:20:25 +02:00
Ethan Frey
cd9ae0447b Update binary name in help text 2020-07-27 15:10:13 +02:00
Ethan Frey
5f48074a8a Make the bech32 prefix configurable in Makefile, unique for coral 2020-07-27 15:10:13 +02:00
Alex Peters
660e1fd9b9 Upgrade sdk to launchpad rc0 2020-07-20 15:53:54 +02:00
Alexander Peters
774f6d7876 Introduce Wasmgovd (#189)
* Introduce wasmgovd; disable wasm proposals with wasmd

* Update changelog

* Setup wasmgov with permission Nobody

* Review feedback
2020-07-16 16:47:44 +02:00
Alex Peters
aff2214391 Better naming for proposal type selections 2020-07-15 09:17:01 +02:00
Alex Peters
4400c4526f Move enabled gov types to app construction 2020-07-14 13:41:12 +02:00
Alexander Peters
9ab18fc46f Add wasm gov proposals to cli (#183)
* Add wasm gov proposals to cli

* Update changelog

* Rework gov proposal rest handlers

* Fix json naming

* Pretty print byte arrays in CLI

* Replace ambiguous cli flag and rest routes

* Minor cli usage doc update
2020-07-14 13:30:41 +02:00
Ethan Frey
c829fcff5a Rename import from cosmwasm/wasmd to CosmWasm/wasmd 2020-05-13 22:15:40 +02:00
Sunny Aggarwal
e5efcdb469 update to sdk v0.38.0 2020-01-23 18:07:52 -05:00
Ethan Frey
d505266f8f Fix cli_tests, add --keyring-backend flag to wasmd 2020-01-23 19:59:13 +01:00
Ethan Frey
c02f69de0d make install works 2020-01-23 19:32:10 +01:00
Ethan Frey
a3ec9f95a5 Updated tendermint cmn imports 2020-01-23 18:59:38 +01:00
Ethan Frey
35aab0ee65 Wire up wasm module to the application 2019-11-22 18:15:14 +01:00
Ethan Frey
b2086bb6b4 Search and replace gaiad/cl with wasmd/cli 2019-11-19 22:29:50 +01:00
Ethan Frey
4307d9a50a Rename gaia{d,cli} to wasm{d,cli}, GaiaApp->WasmApp 2019-11-19 22:20:03 +01:00
Marko
9100142381 Remove gaiadebug (#191)
* Remove gaiadebug

- remove gaiadebug in favor of placing the commands in gaiad and gaiacli

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* update go.sum
2019-11-19 14:25:15 +01:00
Alessio Treglia
71f3b4f0fc Drop on-disk keybase in favor of keyring (#164)
* Port to new keyring

* modify add-genesis-account to use keyring

* Adapt lcd tests to use keyring

* Attempt to fix localnet ci job

* Revert "Attempt to fix localnet ci job"

This reverts commit c299dd9ffb2a77a1f3b9b33bb71ef104261ed1fc.

* Try pass env var to docker container

* localnet does need COSMOS_SDK_TEST_KEYRING to function properly

* Revert tiny change

* Simplify tests

* Refresh against sdk's respective branch latest commit

* Refresh against sdk branch's latest commit

* Attempt to reduce diff size

* Refresh against latest commit

* Update against latest commit

* Refresh against sdk's latest master

* Avoid create temporary keybase

* Revert "Avoid create temporary keybase"

This reverts commit c3f6d77f373370fea521edabe60c532c676cd9a6.

* Update docs

* Remove unnecessary arguments

* Remove unnecessary arguments

* Code cleanup

* Refresh sdk module, add upgrade module

* Refresh deps

* Fix merge

* Cleanup, AddrSeed does not need Password anymore
2019-11-18 11:34:26 +00:00
Marko
967fc43f1a Merge PR #188: Add linting to CI
* Add some linting to gaia

- closes #187

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* fail tests

* tests pass

* address PR comments

* some more strictness
2019-11-14 12:04:50 -08:00
Alexander Bezobchuk
474835c6ce Merge PR #153: Bump SDK Version to Latest Master 2019-10-15 17:06:08 -04:00
Alexander Bezobchuk
49990da31b Merge PR #132: Bump SDK version to 01d8a230b22b 2019-09-19 10:08:22 -04:00
Federico Kunze
6970ebe19b Merge PR #122: Genesis Account Command + Types 2019-09-14 20:19:46 -04:00
Alexander Bezobchuk
6fa5988730 Merge PR #119: Upgrade go to 1.13 & Latest SDK Master 2019-09-10 14:56:58 -04:00
Alexander Bezobchuk
5f24b24976 Merge PR #99: Update SDK version to latest master 2019-08-13 14:09:56 -04:00
Alexander Bezobchuk
10cde2212e Merge PR #86: Update SDK to version latest master 2019-08-05 11:50:11 -04:00
Karoly Albert Szabo
e846b872c5 Merge PR #60: Add migrate command to gaiad 2019-07-05 09:55:48 -04:00
Federico Kunze
bab3694437 Merge PR #56: Update to latest SDK: Supply 2019-07-05 09:40:06 -04:00
Alexander Bezobchuk
0432ac52c0 Merge PR #53: Update latest SDK version: Events Refactor 2019-06-26 17:36:33 -04:00