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

feat: merge with main hotfix #13

Merged
merged 4 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ For the details of mev_params, here are some notices:
1. `make build`
2. `.build/sentry -config ./configs/config.toml`

Sentry settings are configured in the `config.toml` file. The following is an example of a `config.toml` file:
❗❗❗This is an important security notice: Please do not configure any validator's private key here.
Please create entirely new accounts as pay bid accounts.

config-example.toml:
```
[Service]
HTTPListenAddr = "localhost:8555" # The address to listen on for HTTP requests.
Expand Down
3 changes: 2 additions & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ func main() {

openPrometheusAndPprof(cfg.Debug.ListenAddr)

log.Infow("bsc mev-sentry start", "configPath", *configPath, "config", cfg)
log.Infow("bsc mev-sentry start", "configPath", *configPath,
"validator_count", len(cfg.Validators), "builder_count", len(cfg.Builders))

validators := make(map[string]node.Validator)
for _, v := range cfg.Validators {
Expand Down
Loading