Skip to content

Commit

Permalink
update wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
richardartoul committed May 20, 2023
1 parent daf8aca commit a3c1fb5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
Binary file modified examples/semaphore/main.wasm
Binary file not shown.
Binary file modified testdata/tinygo/util/main.wasm
Binary file not shown.
16 changes: 0 additions & 16 deletions virtual/environment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1045,22 +1045,6 @@ func (ta *testActor) Invoke(
return []byte("true"), nil
}
return []byte("false"), nil
// case "kvPutCount":
// value := []byte(fmt.Sprintf("%d", ta.count))
// return nil, transaction.Put(ctx, payload, value)
// case "kvPutCountError":
// value := []byte(fmt.Sprintf("%d", ta.count))
// err := transaction.Put(ctx, payload, value)
// if err == nil {
// return nil, errors.New("some fake error")
// }
// return nil, err
// case "kvGet":
// v, _, err := transaction.Get(ctx, payload)
// if err != nil {
// return nil, err
// }
// return v, nil
case "invokeActor":
var req types.InvokeActorRequest
if err := json.Unmarshal(payload, &req); err != nil {
Expand Down

0 comments on commit a3c1fb5

Please sign in to comment.