Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Setup the RPC lib logger (#121)
Browse files Browse the repository at this point in the history
* Setup the RPC lib logger
  • Loading branch information
vcastellm authored Apr 12, 2024
1 parent c0a88f1 commit 13e5a96
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ func start(cliCtx *cli.Context) error {
},
},
jRPC.WithHealthHandler(http.HandlerFunc(healthHandler(storage))),
jRPC.WithLogger(log.WithFields("module", "rpc")),
)

// Run RPC
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21.3

require (
cloud.google.com/go/kms v1.15.8
github.com/0xPolygon/cdk-rpc v0.0.0-20240403170033-cbb6beafb3a9
github.com/0xPolygon/cdk-rpc v0.0.0-20240412164206-b23522339906
github.com/0xPolygonHermez/zkevm-node v0.0.0-20240222104536-0204affc7436
github.com/ethereum/go-ethereum v1.13.11
github.com/hermeznetwork/tracerr v0.3.2
Expand Down
3 changes: 3 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ collectd.org v0.3.0/go.mod h1:A/8DzQBkF6abtvrT2j/AU/4tiBgJWYyh0y/oB/4MlWE=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
github.com/0xPolygon/cdk-rpc v0.0.0-20240403170033-cbb6beafb3a9 h1:u/29q2qn/YE2pmBdsK435dad6/BD/DEcasc4kCE8ddo=
github.com/0xPolygon/cdk-rpc v0.0.0-20240403170033-cbb6beafb3a9/go.mod h1:2scWqMMufrQXu7TikDgQ3BsyaKoX8qP26D6E262vSOg=
github.com/0xPolygon/cdk-rpc v0.0.0-20240412163301-aa1b57e87e29/go.mod h1:2scWqMMufrQXu7TikDgQ3BsyaKoX8qP26D6E262vSOg=
github.com/0xPolygon/cdk-rpc v0.0.0-20240412164206-b23522339906 h1:Y0VWnpzb8XqsTOYfCUR7l6UsUrbHs4Jg9i2c7oE7WrA=
github.com/0xPolygon/cdk-rpc v0.0.0-20240412164206-b23522339906/go.mod h1:2scWqMMufrQXu7TikDgQ3BsyaKoX8qP26D6E262vSOg=
github.com/0xPolygonHermez/zkevm-data-streamer v0.1.19 h1:wRFA6uF0sqihWKaxKsk+hEkxcQeOU1eKhVzZy90otZ8=
github.com/0xPolygonHermez/zkevm-data-streamer v0.1.19/go.mod h1:0QkAXcFa92mFJrCbN3UPUJGJYes851yEgYHLONnaosE=
github.com/0xPolygonHermez/zkevm-node v0.0.0-20240222104536-0204affc7436 h1:7VzMlnx+SHXkkoKUIIMuJ2pcby4ngVF8vmEtlSuAZRk=
Expand Down
Binary file added main
Binary file not shown.

0 comments on commit 13e5a96

Please sign in to comment.