From a2887f834516cfba36d3e57788bdec4fdcf30896 Mon Sep 17 00:00:00 2001 From: brentstone Date: Thu, 21 Mar 2024 15:58:53 -0400 Subject: [PATCH 1/2] build migrations in release runtime --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8c3b8a8309..401875bb65 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,8 @@ build-release: $(cargo) build $(jobs) --release --timings --package namada_apps \ --manifest-path Cargo.toml \ --no-default-features \ - --features jemalloc + --features jemalloc \ + --features migrations build-debug: $(cargo) build --package namada_apps --manifest-path Cargo.toml From cf6c983e307d5e9eeeb9ce6705e7e6f4789cb84d Mon Sep 17 00:00:00 2001 From: brentstone Date: Fri, 22 Mar 2024 11:01:33 -0400 Subject: [PATCH 2/2] remove vp user hash from SE --- examples/make-db-migration.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/make-db-migration.rs b/examples/make-db-migration.rs index 7afae91af6..5428f6741b 100644 --- a/examples/make-db-migration.rs +++ b/examples/make-db-migration.rs @@ -92,8 +92,9 @@ fn main() { se_migration() } -// TODO: put in the correct hash -const REMOVED_HASH: &str = "000000000000000000000000000000000000000"; +// The current vp_user hash to be replaced on the SE +const REMOVED_HASH: &str = + "129EE7BEE68B02BFAE638DA2A634B8ECBFFA2CB3F46CFA8E172BAF009627EC78"; fn se_migration() { // Get VP let wasm_path = "wasm";