Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
411aa8a2
Unverified
Commit
411aa8a2
authored
Jun 12, 2023
by
mergify[bot]
Committed by
GitHub
Jun 12, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into cleanup/indexer-cruft
parents
22c2b130
2c1ae54b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
18 deletions
+12
-18
smooth-bulldogs-hear.md
.changeset/smooth-bulldogs-hear.md
+5
-0
config.yml
.circleci/config.yml
+0
-9
service.ts
packages/chain-mon/src/wd-mon/service.ts
+7
-9
No files found.
.changeset/smooth-bulldogs-hear.md
0 → 100644
View file @
411aa8a2
---
'
@eth-optimism/chain-mon'
:
patch
---
Fixed an issue with logging the wrong timestamp.
.circleci/config.yml
View file @
411aa8a2
...
@@ -82,7 +82,6 @@ jobs:
...
@@ -82,7 +82,6 @@ jobs:
-
"
packages/chain-mon/node_modules"
-
"
packages/chain-mon/node_modules"
-
"
packages/common-ts/node_modules"
-
"
packages/common-ts/node_modules"
-
"
packages/contracts-bedrock/node_modules"
-
"
packages/contracts-bedrock/node_modules"
-
"
packages/contracts-governance/node_modules"
-
"
packages/contracts-periphery/node_modules"
-
"
packages/contracts-periphery/node_modules"
-
"
packages/core-utils/node_modules"
-
"
packages/core-utils/node_modules"
-
"
packages/drippie-mon/node_modules"
-
"
packages/drippie-mon/node_modules"
...
@@ -584,7 +583,6 @@ jobs:
...
@@ -584,7 +583,6 @@ jobs:
VITE_E2E_RPC_URL_L1
:
http://localhost:8545
VITE_E2E_RPC_URL_L1
:
http://localhost:8545
VITE_E2E_RPC_URL_L2
:
http://localhost:9545
VITE_E2E_RPC_URL_L2
:
http://localhost:9545
bedrock-markdown
:
bedrock-markdown
:
machine
:
machine
:
image
:
ubuntu-2204:2022.07.1
image
:
ubuntu-2204:2022.07.1
...
@@ -1070,13 +1068,6 @@ workflows:
...
@@ -1070,13 +1068,6 @@ workflows:
package_name
:
common-ts
package_name
:
common-ts
requires
:
requires
:
-
yarn-monorepo
-
yarn-monorepo
-
js-lint-test
:
name
:
contracts-tests
coverage_flag
:
contracts-tests
package_name
:
contracts
dependencies
:
hardhat-deploy-config
requires
:
-
yarn-monorepo
-
js-lint-test
:
-
js-lint-test
:
name
:
core-utils-tests
name
:
core-utils-tests
coverage_flag
:
core-utils-tests
coverage_flag
:
core-utils-tests
...
...
packages/chain-mon/src/wd-mon/service.ts
View file @
411aa8a2
...
@@ -191,16 +191,14 @@ export class WithdrawalMonitor extends BaseServiceV2<Options, Metrics, State> {
...
@@ -191,16 +191,14 @@ export class WithdrawalMonitor extends BaseServiceV2<Options, Metrics, State> {
await
this
.
state
.
messenger
.
contracts
.
l2
.
BedrockMessagePasser
.
sentMessages
(
await
this
.
state
.
messenger
.
contracts
.
l2
.
BedrockMessagePasser
.
sentMessages
(
proofEvent
.
args
.
withdrawalHash
proofEvent
.
args
.
withdrawalHash
)
)
const
provenAt
=
`
${
const
block
=
await
proofEvent
.
getBlock
()
(
dateformat
(
const
now
=
new
Date
(
block
.
timestamp
*
1000
)
new
Date
(
const
dateString
=
dateformat
(
(
await
this
.
options
.
l1RpcProvider
.
getBlock
(
proofEvent
.
blockHash
))
now
,
.
timestamp
*
1000
)
),
'
mmmm dS, yyyy, h:MM:ss TT
'
,
'
mmmm dS, yyyy, h:MM:ss TT
'
,
true
)
true
// use UTC time
}
UTC`
)
const
provenAt
=
`
${
dateString
}
UTC`
if
(
exists
)
{
if
(
exists
)
{
this
.
metrics
.
withdrawalsValidated
.
inc
()
this
.
metrics
.
withdrawalsValidated
.
inc
()
this
.
logger
.
info
(
`valid withdrawal`
,
{
this
.
logger
.
info
(
`valid withdrawal`
,
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment