Skip to content

Commit

Permalink
Try #6030:
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemesh-bors[bot] committed Jun 20, 2024
2 parents 64efc3b + d203962 commit fd606fd
Show file tree
Hide file tree
Showing 40 changed files with 1,578 additions and 280 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ clear-test-cache:
.PHONY: clear-test-cache

test: get-libs
@$(ULIMIT) CGO_LDFLAGS="$(CGO_TEST_LDFLAGS)" gotestsum -- -race -timeout 5m -p 1 $(UNIT_TESTS)
@$(ULIMIT) CGO_LDFLAGS="$(CGO_TEST_LDFLAGS)" gotestsum -- -race -timeout 8m -p 1 $(UNIT_TESTS)
.PHONY: test

generate: get-libs
Expand Down
8 changes: 4 additions & 4 deletions activation/activation.go
Original file line number Diff line number Diff line change
Expand Up @@ -776,14 +776,14 @@ func (b *Builder) createAtx(
NiPosts: []wire.NiPostsV2{
{
Membership: wire.MerkleProofV2{
Nodes: nipostState.Membership.Nodes,
LeafIndices: []uint64{nipostState.Membership.LeafIndex},
Nodes: nipostState.Membership.Nodes,
},
Challenge: types.Hash32(nipostState.NIPost.PostMetadata.Challenge),
Posts: []wire.SubPostV2{
{
Post: *wire.PostToWireV1(nipostState.Post),
NumUnits: nipostState.NumUnits,
Post: *wire.PostToWireV1(nipostState.Post),
NumUnits: nipostState.NumUnits,
MembershipLeafIndex: nipostState.Membership.LeafIndex,
},
},
},
Expand Down

0 comments on commit fd606fd

Please sign in to comment.