Skip to content

Commit

Permalink
batch-submitter: updated config (#847)
Browse files Browse the repository at this point in the history
* batch-submitter: backwards compatible configuration

* chore: add changeset

* deps: update

* js: move bcfg interface to core-utils

* batch-submitter: parse USE_SENTRY and add to env example

* chore: add changeset

* batch-submitter: parse as float instead of int

* batch-submitter: better error logging
  • Loading branch information
tynes authored May 13, 2021
1 parent 20242af commit 96a586e
Show file tree
Hide file tree
Showing 9 changed files with 244 additions and 139 deletions.
7 changes: 7 additions & 0 deletions .changeset/lovely-plants-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@eth-optimism/core-utils': patch
'@eth-optimism/data-transport-layer': patch
'@eth-optimism/message-relayer': patch
---

Migrate bcfg interface to core-utils
5 changes: 5 additions & 0 deletions .changeset/soft-squids-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/batch-submitter': patch
---

Updates the configuration to use bcfg in a backwards compatible way
1 change: 1 addition & 0 deletions packages/batch-submitter/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ DEBUG=info*,error*,warn*,debug*
# Leave the SENTRY_DSN variable unset during local development
SENTRY_DSN=
SENTRY_TRACE_RATE=
USE_SENTRY=

L1_NODE_WEB3_URL=http://localhost:9545
L2_NODE_WEB3_URL=http://localhost:8545
Expand Down
1 change: 1 addition & 0 deletions packages/batch-submitter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"@eth-optimism/ynatm": "^0.2.2",
"@ethersproject/abstract-provider": "^5.0.5",
"@ethersproject/providers": "^5.0.14",
"bcfg": "^0.1.6",
"bluebird": "^3.7.2",
"dotenv": "^8.2.0",
"ethers": "5.0.0",
Expand Down
Loading

0 comments on commit 96a586e

Please sign in to comment.