From bc5f286196e7b74a1168c419e2bc340f8db6c93a Mon Sep 17 00:00:00 2001 From: Matthias <5011972+fasmat@users.noreply.github.com> Date: Thu, 1 Aug 2024 15:21:00 +0000 Subject: [PATCH] Update CHANGELOG --- CHANGELOG.md | 14 ++++++++++++++ activation/poet.go | 6 +++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d59dbdd072..04bc503248 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/activation/poet.go b/activation/poet.go index 08ea9b4fe1..0a30b32953 100644 --- a/activation/poet.go +++ b/activation/poet.go @@ -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 { @@ -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( @@ -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)