Skip to content

Commit

Permalink
note rpc change requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanschalm committed Dec 3, 2024
1 parent 140b324 commit 49bcbf6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions engine/common/rpc/convert/execution_results_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"github.com/onflow/flow-go/utils/unittest"
)

// TODO: fails with input non-nil ChunkBody.ServiceEventCount
func TestConvertExecutionResult(t *testing.T) {
t.Parallel()

Expand All @@ -25,6 +26,7 @@ func TestConvertExecutionResult(t *testing.T) {
assert.Equal(t, er, converted)
}

// TODO: fails with input non-nil ChunkBody.ServiceEventCount
func TestConvertExecutionResults(t *testing.T) {
t.Parallel()

Expand All @@ -43,6 +45,7 @@ func TestConvertExecutionResults(t *testing.T) {
assert.Equal(t, results, converted)
}

// TODO: fails with input non-nil ChunkBody.ServiceEventCount
func TestConvertExecutionResultMetaList(t *testing.T) {
t.Parallel()

Expand Down
7 changes: 4 additions & 3 deletions utils/unittest/fixtures.go
Original file line number Diff line number Diff line change
Expand Up @@ -1326,9 +1326,10 @@ func ChunkFixture(
) *flow.Chunk {
chunk := &flow.Chunk{
ChunkBody: flow.ChunkBody{
CollectionIndex: collectionIndex,
StartState: StateCommitmentFixture(),
EventCollection: IdentifierFixture(),
CollectionIndex: collectionIndex,
StartState: StateCommitmentFixture(),
EventCollection: IdentifierFixture(),
//ServiceEventCount: PtrTo[uint16](0),
TotalComputationUsed: 4200,
NumberOfTransactions: 42,
BlockID: blockID,
Expand Down

0 comments on commit 49bcbf6

Please sign in to comment.