Skip to content

Commit

Permalink
[MTG-1151] finding valid proof when there are alternatives (#400)
Browse files Browse the repository at this point in the history
* using the last seen finalized slot to distinguish between the final data

* changed the test

* fmt

* looking up a valid proof when there are alternatives

* fixed usage

* warn on missing proof

* fix

* real world test case and fix for proof logic

* cargo lock update

* refactoring for readability

* test build fixes

* fix for the test

* fixed a test
  • Loading branch information
StanChe authored Feb 4, 2025
1 parent 469ea4a commit 95eefe5
Show file tree
Hide file tree
Showing 8 changed files with 699 additions and 54 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion ingester.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ COPY . .
RUN cargo build --release --features profiling --bin ingester --bin api --bin backfill --bin synchronizer --bin slot_persister

# Final image
FROM rust:1.84-slim-bullseye AS runtime
FROM debian:bullseye-slim AS runtime
ARG APP=/usr/src/app
RUN apt update && apt install -y curl ca-certificates tzdata libjemalloc2 google-perftools graphviz libjemalloc-dev && rm -rf /var/lib/apt/lists/*
COPY --from=cacher /usr/local/lib/libjemalloc.so.2 /usr/local/lib/libjemalloc.so.2
Expand Down
1 change: 1 addition & 0 deletions nft_ingester/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ zip-extract = { workspace = true }
assertables = "7"
base64 = { workspace = true }
spl-pod = { workspace = true }
rand = { workspace = true }

[[bench]]
name = "integrated_benchmark"
Expand Down
Loading

0 comments on commit 95eefe5

Please sign in to comment.