Commit Graph

21 Commits

Author SHA1 Message Date
Ethan Frey
c25550d775 put sorting fix next to event filtering 2022-07-29 08:42:47 +02:00
Assaf Morami
9671a21430 Oops 2022-07-28 12:53:28 +03:00
Assaf Morami
ee44cc06d0 Don't pass non-wasm events to reply()
Output events are not part of consensus and can be non-deterministic
2022-07-28 12:52:06 +03:00
Alexander Peters
96a9b5a303 Bump wasmvm to v1.0.0-rc.0 (#844)
* Bump wasmvm to v1.0.0-rc.0

* Fix linter warning

* Replace deprecated types

Co-authored-by: Ethan Frey <ethanfrey@users.noreply.github.com>
2022-05-06 14:54:02 +02:00
Ethan Frey
f35326ab27 Ensure SystemError is consistently unredacted 2022-03-09 19:50:55 +01:00
Alex Peters
654fcec122 Revert "Handle nil logger again"
This reverts commit 66ac1f58ce.
2022-03-02 14:15:11 +01:00
Ethan Frey
66ac1f58ce Handle nil logger again 2022-03-02 10:17:23 +01:00
Ethan Frey
3953bdafcc Adjust error string 2022-03-02 10:07:28 +01:00
Ethan Frey
30bb2900c7 Fix submessage tests 2022-02-23 21:42:38 +01:00
Ethan Frey
8f75ad1faf Fix lint error, failing test 2022-02-23 21:13:33 +01:00
Ethan Frey
446c6642c2 Redact errors returned in reply 2022-02-23 20:47:10 +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
Ethan Frey
7fbf513d71 Simplify filter method 2021-08-12 14:49:43 +02:00
Ethan Frey
f547bf6630 Filter messages, fix new tests, break older ones 2021-08-12 13:28:58 +02:00
Alex Peters
b0b1fa88bc Upgrade wasmvm v0.15.x 2021-07-07 09:53:03 +02:00
Alex Peters
b0885b03c9 Empty (non nil) reply data can overwrites response 2021-06-25 10:44:50 +02:00
Alex Peters
44e7669611 Empty submsg result does not overwrite 2021-06-14 08:28:46 +02:00
Alex Peters
0dd695c126 Cleanup keeper result types 2021-06-11 12:38:30 +02:00
Alex Peters
470b2dacc7 Test Pinned contract does not loop forever 2021-06-07 11:28:10 +02:00
Alexander Peters
305f13cc0a Submessage reply can overwrite caller response (#502)
* Reply may overwrite result data

* Fix interface name

* Refacting for tests

* Test response handler

* Fix naked error
2021-04-27 14:00:42 +02:00