Skip to content

Commit

Permalink
fix preprod parsing error in dcspark-core
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGllmt committed May 7, 2024
1 parent c3c94fd commit 69b194f
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 39 deletions.
69 changes: 40 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ members = [


[workspace.dependencies]
cml-chain = { version = "5.3.0" }
cml-core = { version = "5.3.0" }
cml-crypto = { version = "5.3.0" }
cml-multi-era = { version = "5.3.0" }
cml-chain = { version = "5.3.1" }
cml-core = { version = "5.3.1" }
cml-crypto = { version = "5.3.1" }
cml-multi-era = { version = "5.3.1" }
2 changes: 1 addition & 1 deletion docs/docs/indexer/migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Note: this is a destructive action as it will drop all blocks until a given poin
- `cargo rollback epoch 200`
- `cargo rollback height 1000`

Note: these ranges are inclusive. Ex: `epoch 200` means you rollback TO era 200, discarding any epoch afterwards.
Note: these ranges are keep everything up to and including the value specified. Ex: `epoch 200` means you rollback TO era 200 (discarding epoch 201 and above).

# Non-destructive migrations

Expand Down
6 changes: 3 additions & 3 deletions indexer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ strip = true

[dependencies]
# [core]
dcspark-core = { git = "https://github.com/dcSpark/dcspark-core.git", rev = "572af17e3e22101dee64e0999049a571aea26e0f" }
dcspark-blockchain-source = { git = "https://github.com/dcSpark/dcspark-core.git", rev = "572af17e3e22101dee64e0999049a571aea26e0f" }
multiverse = { git = "https://github.com/dcSpark/dcspark-core.git", rev = "572af17e3e22101dee64e0999049a571aea26e0f" }
dcspark-core = { git = "https://github.com/dcSpark/dcspark-core.git", rev = "05ab02e00dec7c204b26ed4b774c3ecd9944d2e7" }
dcspark-blockchain-source = { git = "https://github.com/dcSpark/dcspark-core.git", rev = "05ab02e00dec7c204b26ed4b774c3ecd9944d2e7" }
multiverse = { git = "https://github.com/dcSpark/dcspark-core.git", rev = "05ab02e00dec7c204b26ed4b774c3ecd9944d2e7" }

# [local]
entity = { path = "entity" }
Expand Down
1 change: 0 additions & 1 deletion indexer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ async fn main() -> anyhow::Result<()> {
.with_target("carp", default_trace)
.with_target("cardano-net", tracing::Level::INFO)
.with_target("cardano-sdk", tracing::Level::INFO)
.with_target("dcspark-blockchain-source", tracing::Level::INFO)
.with_default(tracing::Level::INFO);

tracing_subscriber::registry()
Expand Down
2 changes: 1 addition & 1 deletion indexer/tasks/src/multiera/multiera_drep_delegation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ carp_task! {
.1
.transaction_bodies()
.iter()
.any(|x| x.certs().is_some());
.any(|x| x.certs().is_some())
};
execute |previous_data, task| handle(
task.db_tx,
Expand Down

0 comments on commit 69b194f

Please sign in to comment.