-
Notifications
You must be signed in to change notification settings - Fork 131
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
feat(node-api): logging, base handlers & refactor #1776
Merged
Changes from 61 commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
5d17728
yep
archbear fcc25a0
pruner and cli
archbear 4468ff7
Merge branch 'main' into block-store
archbear e484c0d
Merge remote-tracking branch 'origin/main' into block-store
archbear c41039a
msg to warn noop block service
archbear 814c7a3
wire to storage backend
archbear 7477ce0
compiles and wired but chain broken for some reason
archbear 5c007c2
Merge branch 'main' into block-store
archbear 0655d87
Merge branch 'main' into block-store
nidhi-singh02 d30b61c
service name and fix prune function
archbear 2fe7be2
Merge branch 'block-store' of github.com:berachain/beacon-kit into bl…
archbear 3688fc1
Merge branch 'block-store' into api
archbear ebea98a
routed
archbear ba7fb59
Merge remote-tracking branch 'origin/main' into api
archbear 305eb7c
lint
archbear 72856db
generate
archbear 50ee156
gosec
archbear 5d918aa
tidy
archbear fc30772
tidy-sync
archbear 8f29e5a
Merge branch 'main' of github.com:berachain/beacon-kit into api
calbera 8ee3e73
undo
calbera f49ebf5
Merge branch 'main' of github.com:berachain/beacon-kit into api
calbera ed3adee
Merge branch 'main' into api
calbera 7bdd0ab
working changes
archbear 63f0e1c
Merge branch 'main' into api
archbear 9106132
small refactor
archbear 0e0255d
Merge remote-tracking branch 'origin/main' into api
archbear 9e71fa7
generate
archbear 5982620
oops i did it again
archbear 1b33acc
oh baby baby
archbear 147eadc
clarifying comments
calbera f4e605e
nilawayyyy
calbera 6badeb3
hide banner
archbear e09e3c0
Merge branch 'api' of github.com:berachain/beacon-kit into api
archbear e01cc4d
engines go mod
archbear 43fb520
generate
archbear b096b1d
merge api
ocnc2 cf900a4
api logger + refactor deps
ocnc2 3463dc6
base handler
ocnc2 3f6498d
byebye echo log adapter
ocnc2 3da74db
im lazy so heres a decorator
ocnc2 f2c9aeb
ermst
ocnc2 2821f18
Merge remote-tracking branch 'origin/main' into api
archbear 59029c1
tidy
archbear 7883910
merge did some funky stuff
archbear c1bb976
Merge remote-tracking branch 'origin/api' into api-log
ocnc2 67a70c9
gitgit
ocnc2 b840ee3
git moment
ocnc2 e996c0e
lint
ocnc2 79f265a
chagnes
ocnc2 ad5060f
config
ocnc2 476f5b2
lint
ocnc2 ed2ab26
Merge branch 'main' into api-log
ocnc2 4c87848
colors colors
ocnc2 8d22a89
colors
ocnc2 336de53
format + lint
ocnc2 07d87ca
merge main
ocnc2 9ca95a9
merge fixes
ocnc2 b9c0bf4
comments + lint
ocnc2 4638418
Merge branch 'main' into api-log
ocnc2 2482aa8
Merge branch 'main' into api-log
ocnc2 495f893
changes for arch 🎻
ocnc2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// SPDX-License-Identifier: BUSL-1.1 | ||
// | ||
// Copyright (C) 2024, Berachain Foundation. All rights reserved. | ||
// Use of this software is governed by the Business Source License included | ||
// in the LICENSE file of this repository and at www.mariadb.com/bsl11. | ||
// | ||
// ANY USE OF THE LICENSED WORK IN VIOLATION OF THIS LICENSE WILL AUTOMATICALLY | ||
// TERMINATE YOUR RIGHTS UNDER THIS LICENSE FOR THE CURRENT AND ALL OTHER | ||
// VERSIONS OF THE LICENSED WORK. | ||
// | ||
// THIS LICENSE DOES NOT GRANT YOU ANY RIGHT IN ANY TRADEMARK OR LOGO OF | ||
// LICENSOR OR ITS AFFILIATES (PROVIDED THAT YOU MAY USE A TRADEMARK OR LOGO OF | ||
// LICENSOR AS EXPRESSLY REQUIRED BY THIS LICENSE). | ||
// | ||
// TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON | ||
// AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, | ||
// EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF | ||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND | ||
// TITLE. | ||
|
||
package components | ||
|
||
import ( | ||
sdklog "cosmossdk.io/log" | ||
"github.com/berachain/beacon-kit/mod/log/pkg/phuslu" | ||
) | ||
|
||
type ( | ||
Logger = phuslu.Logger[sdklog.Logger] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see if we can do LoggerT for the advanced logger otherwise make the sdk logger a generic type