-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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(indexer): bridge process pre-bedrock blocks #7119
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
85a3c89
to
6a46df7
Compare
9414f76
to
8dba43c
Compare
8dba43c
to
685658e
Compare
Semgrep found 1
A secret is hard-coded in the application. Secrets stored in source code, such as credentials, identifiers, and other types of sensitive data, can be leaked and used by internal or external malicious actors. Use environment variables to securely provide credentials and other secrets or retrieve them from a secure vault or Hardware Security Module (HSM). View Dataflow Graphflowchart LR
classDef invis fill:white, stroke: none
classDef default fill:#e7f5ff, color:#1c7fd6, stroke: none
subgraph File0["<b>indexer/database/db.go</b>"]
direction LR
%% Source
subgraph Source
direction LR
v0("<b>[Line: 39]</b> #quot; password=%s#quot;")
end
%% Intermediate
subgraph Traces0[Traces]
direction TB
v2("<b>[Line: 39]</b> dsn")
end
%% Sink
subgraph Sink
direction LR
v1("<b>[Line: 41]</b> gorm.Open(postgres.Open(dsn), &gorm.Config{<br> // The indexer will explicitly manage the transactions<br> SkipDefaultTransaction: true,<br><br> // We may choose to create an adapter such that the<br> // logger emits to the geth logger when on DEBUG mode<br> Logger: logger.Default.LogMode(logger.Silent),<br> })")
end
end
%% Class Assignment
Source:::invis
Sink:::invis
Traces0:::invis
File0:::invis
%% Connections
Source --> Traces0
Traces0 --> Sink
%% Clickable
click v0 href "https://github.com/ethereum-optimism/optimism/blob/685658ee5f8237a0ccf18d69bc141dabd0b1d08d/indexer/database/db.go#L39" "View in source" _blank
click v1 href "https://github.com/ethereum-optimism/optimism/blob/685658ee5f8237a0ccf18d69bc141dabd0b1d08d/indexer/database/db.go#L41" "View in source" _blank
click v2 href "https://github.com/ethereum-optimism/optimism/blob/685658ee5f8237a0ccf18d69bc141dabd0b1d08d/indexer/database/db.go#L39" "View in source" _blank
Semgrep found 1
The application uses an empty credential. This can lead to unauthorized access by either an internal or external malicious actor. Use environment variables to securely provide credentials and other secrets or retrieve them from a secure vault or Hardware Security Module (HSM). View Dataflow Graphflowchart LR
classDef invis fill:white, stroke: none
classDef default fill:#e7f5ff, color:#1c7fd6, stroke: none
subgraph File0["<b>indexer/database/db.go</b>"]
direction LR
%% Source
subgraph Source
direction LR
v0("<b>[Line: 39]</b> #quot; password=%s#quot;")
end
%% Intermediate
subgraph Traces0[Traces]
direction TB
v2("<b>[Line: 39]</b> dsn")
end
%% Sink
subgraph Sink
direction LR
v1("<b>[Line: 41]</b> gorm.Open(postgres.Open(dsn), &gorm.Config{<br> // The indexer will explicitly manage the transactions<br> SkipDefaultTransaction: true,<br><br> // We may choose to create an adapter such that the<br> // logger emits to the geth logger when on DEBUG mode<br> Logger: logger.Default.LogMode(logger.Silent),<br> })")
end
end
%% Class Assignment
Source:::invis
Sink:::invis
Traces0:::invis
File0:::invis
%% Connections
Source --> Traces0
Traces0 --> Sink
%% Clickable
click v0 href "https://github.com/ethereum-optimism/optimism/blob/685658ee5f8237a0ccf18d69bc141dabd0b1d08d/indexer/database/db.go#L39" "View in source" _blank
click v1 href "https://github.com/ethereum-optimism/optimism/blob/685658ee5f8237a0ccf18d69bc141dabd0b1d08d/indexer/database/db.go#L41" "View in source" _blank
click v2 href "https://github.com/ethereum-optimism/optimism/blob/685658ee5f8237a0ccf18d69bc141dabd0b1d08d/indexer/database/db.go#L39" "View in source" _blank
|
bf1ff55
to
299b61d
Compare
685658e
to
76b2f5d
Compare
299b61d
to
0baf7a3
Compare
76b2f5d
to
aa3853a
Compare
0baf7a3
to
26da6b7
Compare
aa3853a
to
9df2a60
Compare
26da6b7
to
4c50792
Compare
9df2a60
to
05171fa
Compare
d8c42b0
to
b0a656a
Compare
b0a656a
to
536a00a
Compare
This PR has been added to the merge queue, and will be merged soon. |
This PR is next in line to be merged, and will be merged as soon as checks pass. |
1 similar comment
This PR is next in line to be merged, and will be merged as soon as checks pass. |
Hey @hamdiallam, this pull request failed to merge and has been dequeued from the merge train. If you believe your PR failed in the merge train because of a flaky test, requeue it by commenting with |
@Mergifyio requeue |
✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically |
This PR has been added to the merge queue, and will be merged soon. |
This PR is next in line to be merged, and will be merged as soon as checks pass. |
This adds support for pre-bedrock blocks for op-mainnet and op-goerli.
Closes ethereum-optimism/devx#67