Commit Graph

60 Commits

Author SHA1 Message Date
pinosu 07153801fc
Add cosmwasm project prefix to REST query paths (#743)
* Add cosmwasm project prefix to REST query paths
2022-02-08 08:34:04 +01:00
Alex Peters f8d25eb930
Update IBC protobufs 2022-01-28 11:58:05 +01:00
Ethan Frey fb568e3ef7 Allow sending tokens along with governance wasm_execute proposal 2022-01-24 21:18:29 +01:00
Ethan Frey 6a2a9d0bfa fix tests 2022-01-24 20:23:20 +01:00
Ethan Frey 0a96e26fba Remove RunAs from Migrate proposal 2022-01-24 20:00:01 +01:00
Ethan Frey 53a44eb4d7 Wire up proposal handlers 2022-01-24 19:54:26 +01:00
Ethan Frey d227112cc3 Registered new proposal types 2022-01-24 19:54:26 +01:00
Ethan Frey 6bd6ffe90b Compile proto files 2022-01-24 19:54:26 +01:00
Mauro Lacy bf84b199a8
Proper systemerror follow-up (#715)
* Add custom NoSuchContract error

* Return custom NoSuchContract error from WasmQuerier

* Add custom NoSuchContract error

* Use custom ErrNoSuchContract error

Map to corresponding wasmvmtypes error

* Handle wrapped errors

Co-authored-by: Alex Peters <alpe@users.noreply.github.com>
2022-01-20 17:05:10 +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
Alex Peters 9d57522d67
Upgrade wasmvm to v1.0.0-beta5 2022-01-04 09:51:24 +01:00
Alexander Peters efe87743e4
Limit simulation gas (#674)
* Limit simulation gas

* Put parameters on separate lines
2021-11-17 17:20:26 +01:00
Alexander Peters c18bc4b00e
Add linter name and minor golint related updates (#663) 2021-10-25 15:33:21 +02:00
Alexander Peters dfba1395d9
Fix message representation for signing (#658)
* Introduce RawContractMessage type

* Add json signbytes test for proposals

* No assumptions on MsgIBCSend.data content

* Smart query uses RawContractMessage

* Revert method signature change to be consistent

* Review comment

* Update after discussions
2021-10-25 15:23:19 +02: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
Alex Peters b7a99e69ee
Query all pinned code ids 2021-10-07 13:52:06 +02:00
Alexander Peters 58f3776f6e
Implement tx counter for transaction info (#621)
* Implement tx counter for transaction info

* Count tx before pre-conditions

* Doc update
2021-09-27 21:53:01 +02:00
Alex Peters 0589f38ad3
Optimize BalanceQuery 2021-09-13 14:51:14 +02:00
Alex Peters e9156be200
Refactor events 2021-08-10 18:19:16 +02:00
Alex Peters 7ea8cd788d
Add organisation to grpc gateway path 2021-08-04 17:00:04 +02:00
Ethan Frey cf854947e9 Change IBCContractKeeper interface, code builds 2021-07-28 22:11:27 +02:00
Ethan Frey 18741cb19a Used reserved keyword in protobuf 2021-07-28 11:26:51 +02:00
Ethan Frey c9360f63d1 keeper and types pass tests 2021-07-28 11:24:44 +02:00
Ethan Frey 6bde321974 x/wasm/keeper compiled 2021-07-28 11:24:44 +02:00
Ethan Frey e0811c5f40 x/wasm/types compiles 2021-07-28 11:24:44 +02:00
Ethan Frey 701c0c1ace Remove source, builder from proto files 2021-07-28 11:24:44 +02:00
Ethan Frey 477c794913 Almost all tests pass 2021-07-28 11:18:21 +02:00
Ethan Frey d6432413a6 Fixed remaining PR comments 2021-07-27 14:25:33 +02:00
Ethan Frey 997b53032d Fix up whitespace issues 2021-07-27 14:25:33 +02:00
Ethan Frey 0ebb1efb9e Recompile protobuf files 2021-07-27 14:25:33 +02:00
Ethan Frey 7eb7814437 Update JSON/YAML parsing and test code 2021-07-27 14:25:33 +02:00
Ethan Frey 6c7bb96511 Rename remaining {Init,Migrate}Msg fields 2021-07-27 14:25:33 +02:00
Ethan Frey 699fbbc215 Changed references in code - 2 broken tests 2021-07-27 14:25:33 +02:00
Ethan Frey e144b2ea76 {Init,Migrate}Msg -> Msg in proposals as well 2021-07-27 14:25:33 +02:00
Ethan Frey 1fa2165806 Rename 2 fields and regenerate protobuf 2021-07-27 14:25:33 +02:00
Ethan Frey be79de6c28 Add error messages on invalid event attributes 2021-07-26 22:05:19 +02:00
Ethan Frey 77a38e25ef Contracts to v0.16.0-rc4, wasmvm to v0.16.0-rc2 2021-07-22 15:53:40 +02:00
Ethan Frey a464d6b336 Reserve all attributes that start with _ 2021-07-22 10:05:23 +02:00
Ethan Frey 81c46ae567 Use _contract_address attribute in emitted events 2021-07-21 22:15:49 +02:00
Ethan Frey 8d73c2d657 IBC Code compiles (non-test) 2021-07-21 21:38:58 +02:00
Alex Peters b0b1fa88bc
Upgrade wasmvm v0.15.x 2021-07-07 09:53:03 +02:00
Alexander Peters 273b57a99e
Merge pull request #550 from CosmWasm/increase-default-wasm-size
Multiply default wasm size by 2
2021-07-05 11:00:24 +02:00
orkunkl 85b338a706 Fix test 2021-07-02 12:00:09 +03:00
orkunkl 544eaddf9b Multiply default wasm size by 2 2021-07-02 11:50:40 +03:00
Alexander Peters c05df881fb
Charge gas for custom event attributes and messages (#539)
* Charge gas for custom event attributes

* Introduce gas register for gas costs

* Review feedback

* Tests and minor updates

* Godoc
2021-06-25 10:00:46 +02:00
Alexander Peters 1ada14ed52
Store contract response in event (#535)
* Store contract response in event

* Review feedback
2021-06-14 08:57:04 +02:00
Alex Peters 0dd695c126
Cleanup keeper result types 2021-06-11 12:38:30 +02:00
Alex Peters 98431c6dc9
Remove json type cast for contract msgs 2021-05-21 14:05:44 +02:00
Alexander Peters 3d4b3d184f
Upgrade to wasmvm v0.14.0-rc1 (#508)
* Upgrade to wasmvm v0.14.0-rc1

* Update contracts from cosmwasm#910, re-enable test

* Fix parsing in query type

Co-authored-by: Ethan Frey <ethanfrey@users.noreply.github.com>
2021-04-30 08:26:41 +02:00