Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
fasmat committed Aug 1, 2024
1 parent 761b368 commit bc5f286
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,25 @@ See [RELEASE](./RELEASE.md) for workflow instructions.

### Improvements

## Release v1.6.6

### Improvements

* [#6198](https://github.com/spacemeshos/go-spacemesh/pull/6198) Configure default TTL for caching poet's /v1/info

* [#6199](https://github.com/spacemeshos/go-spacemesh/pull/6199) Cache poet's /v1/pow_params

## Release v1.6.5

### Improvements

* [#6185](https://github.com/spacemeshos/go-spacemesh/pull/6185) Optimize mempool

* [#6187](https://github.com/spacemeshos/go-spacemesh/pull/6187) The merge tool now ignores files that are not `.key`
files in the `identities` directory when merging two nodes.

* [#6128](https://github.com/spacemeshos/go-spacemesh/pull/6128) Reduce logs spam

## Release v1.6.4

### Improvements
Expand Down
6 changes: 3 additions & 3 deletions activation/poet.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ func (c *poetService) authorize(
func (c *poetService) reauthorize(
ctx context.Context,
id types.NodeID,
challange []byte,
challenge []byte,
logger *zap.Logger,
) (*PoetAuth, error) {
if c.certifier != nil {
Expand All @@ -492,7 +492,7 @@ func (c *poetService) reauthorize(
}
}
}
return c.authorize(ctx, id, challange, c.logger)
return c.authorize(ctx, id, challenge, c.logger)
}

func (c *poetService) Submit(
Expand Down Expand Up @@ -523,7 +523,7 @@ func (c *poetService) Submit(
case err == nil:
return round, nil
case errors.Is(err, ErrUnauthorized):
logger.Warn("failed to submit challenge as unathorized - authorizing again", zap.Error(err))
logger.Warn("failed to submit challenge as unauthorized - authorizing again", zap.Error(err))
auth, err := c.reauthorize(ctx, nodeID, challenge, logger)
if err != nil {
return nil, fmt.Errorf("authorizing: %w", err)
Expand Down

0 comments on commit bc5f286

Please sign in to comment.