Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop-legacy to legacy #1903

Merged
merged 33 commits into from
Aug 4, 2023
Merged

Merge develop-legacy to legacy #1903

merged 33 commits into from
Aug 4, 2023

Conversation

muXxer
Copy link
Collaborator

@muXxer muXxer commented Aug 4, 2023

No description provided.

muXxer and others added 30 commits December 20, 2020 16:09
* Fix `net` runtime problems for lack of glibc
* Avoid SEGFAULTs by not trying linking statically
* Remove CGO_ENABLED from Amd64 go releaser
Rebase "Avoid trying linking statically (#834)" on develop-legacy
Fix panic "Milestone should never be updated"
* adjusts Hornet for WOTS migration

* adds flag to simply attach a milestone on genesis

* adds special config flag to disable migration bundle check in broadcastTransactions (default = false, always check)

* use URTS for Coordinator

* always enable spent addrs when loading up the global snapshot

* shifts protocol bit for Sting to prevent peering to non upgraded nodes

* use intersection instead of union for protocol compatiblity check

* fixes wrong parsing of remote peer handshake msg

* removes config_coo.json file

* fixes batcher_test.go

* excludes white-flag tests from CI
* GoReleaser changes for hornet-legacy

* removed unused configs from dockerfiles

* updated workflows to handle legacy branches

* - Switch version to 0.5.8-rc1

* - Bumped all ports +1 that could interfere with c2 hornet on the same host

* - Added legacy line to HORNET logo

Co-authored-by: Alexander Sporn <[email protected]>
@muXxer muXxer changed the title Develop legacy Merge develop-legacy to legacy Aug 4, 2023
package jwt

import (
"crypto/subtle"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
could not import crypto/subtle (-: could not load export data: cannot import "crypto/subtle" (unexpected escape sequence in export data), possibly version skew - reinstall package) (typecheck)

)

var (
ErrJWTInvalidClaims = echo.NewHTTPError(http.StatusUnauthorized, "invalid jwt claims")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
undeclared name: echo (typecheck)

return c.compare(c.Subject, expected)
}

func (j *Auth) Middleware(skipper middleware.Skipper, allow func(c echo.Context, subject string, claims *AuthClaims) bool) echo.MiddlewareFunc {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
undeclared name: echo (typecheck)

}

func (c *AuthClaims) VerifySubject(expected string) bool {
return c.compare(c.Subject, expected)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
c.Subject undefined (type *AuthClaims has no field or method Subject) (typecheck)

SigningKey: j.secret,
}

return func(next echo.HandlerFunc) echo.HandlerFunc {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
undeclared name: echo (typecheck)

"time"

"github.com/golang-jwt/jwt"
"github.com/labstack/echo/v4"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
"github.com/labstack/echo/v4" imported but not used (typecheck)

}

var result bool
bndl.Consume(func(object objectstorage.StorableObject) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
bndl.Consume undefined (type *CachedBundle has no field or method Consume) (typecheck)

@muXxer muXxer merged commit c564c5d into legacy Aug 4, 2023
@muXxer muXxer deleted the develop-legacy branch August 4, 2023 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants