Skip to content

Commit

Permalink
Try #6030:
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemesh-bors[bot] authored Jun 21, 2024
2 parents a608922 + 72f8ec3 commit 398ce1e
Show file tree
Hide file tree
Showing 41 changed files with 1,652 additions and 295 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 @@ -801,14 +801,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
Loading

0 comments on commit 398ce1e

Please sign in to comment.