From 452b46a7afa58f43428db71e41747265d07486b5 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Fri, 10 Jun 2022 04:29:26 +0000 Subject: [PATCH] Pin MDBX at last version with Win/Mac support (#3246) ## Issue Addressed Newer versions of MDBX have removed Windows and macOS support, so this PR pins MDBX at the last working version to prevent an accidental regression via `cargo update`. ## Additional Info This is a short-term solution, if our pinned version of MDBX turns out to be buggy we will need to consider backporting patches from upstream to our own fork. --- slasher/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slasher/Cargo.toml b/slasher/Cargo.toml index 22b3408ab..368350f11 100644 --- a/slasher/Cargo.toml +++ b/slasher/Cargo.toml @@ -13,7 +13,8 @@ flate2 = { version = "1.0.14", features = ["zlib"], default-features = false } lazy_static = "1.4.0" lighthouse_metrics = { path = "../common/lighthouse_metrics" } filesystem = { path = "../common/filesystem" } -mdbx = { package = "libmdbx", version = "0.1.0" } +# MDBX is pinned at the last version with Windows and macOS support. This is only viable short-term. +mdbx = { package = "libmdbx", version = "=0.1.4" } lru = "0.7.1" parking_lot = "0.12.0" rand = "0.8.5"