aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap2
-rw-r--r--contrib/aml-spa.lock1
-rwxr-xr-xcontrib/check-prebuilt15
m---------contrib/wallet-core0
4 files changed, 18 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 7918837c1..5c6fab802 100755
--- a/bootstrap
+++ b/bootstrap
@@ -13,6 +13,8 @@ echo "$0: Updating submodules"
# but instead always the one that's recorded in the repository.
echo | git submodule update --init --force
+./contrib/check-prebuilt
+
# Generate based on pinned submodule
./contrib/gana-generate.sh
diff --git a/contrib/aml-spa.lock b/contrib/aml-spa.lock
new file mode 100644
index 000000000..34a83616b
--- /dev/null
+++ b/contrib/aml-spa.lock
@@ -0,0 +1 @@
+0.12.1
diff --git a/contrib/check-prebuilt b/contrib/check-prebuilt
new file mode 100755
index 000000000..1e3f4f6b0
--- /dev/null
+++ b/contrib/check-prebuilt
@@ -0,0 +1,15 @@
+#!/usr/bin/env python3
+
+import os
+import sys
+
+contrib = os.path.abspath(os.path.dirname(__file__))
+
+spa_ver_lock = open(contrib + "/" + "aml-spa.lock").read().strip()
+spa_ver_prebuilt = open(contrib + "/" + "wallet-core/aml-backoffice/version.txt").read().strip()
+
+if spa_ver_lock != spa_ver_prebuilt:
+ print("SPA version mismatch")
+ print("lockfile has version", spa_ver_lock)
+ print("prebuilt has version", spa_ver_prebuilt)
+ sys.exit(1)
diff --git a/contrib/wallet-core b/contrib/wallet-core
-Subproject 777bb89eefecfb485561e31b9b9e809c6604277
+Subproject 80900b7858cb531272e0ba5c2a3c8ed0e326540