diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-07-17 09:25:24 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-07-17 09:25:24 +0300 |
commit | cdf6fdb9d0d864e38ff31a3b06402e5c7dd1090d (patch) | |
tree | a3aa446634644cade45fb2052c2298b1663108c4 /api | |
parent | 7b3a9fbef2c28a6ea7c2b5a49f8a130f4d1bf05f (diff) | |
download | arching-kaos-tools-cdf6fdb9d0d864e38ff31a3b06402e5c7dd1090d.tar.gz arching-kaos-tools-cdf6fdb9d0d864e38ff31a3b06402e5c7dd1090d.tar.bz2 arching-kaos-tools-cdf6fdb9d0d864e38ff31a3b06402e5c7dd1090d.zip |
removing ak-find-latest-mined-sblock
Diffstat (limited to 'api')
-rwxr-xr-x | api/make_cache.sh | 2 | ||||
-rwxr-xr-x | api/tests/latest_known_mined_block.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/api/make_cache.sh b/api/make_cache.sh index e5f9bfc..c075f27 100755 --- a/api/make_cache.sh +++ b/api/make_cache.sh @@ -1,5 +1,5 @@ #!/bin/bash -ak-find-latest-mined-sblock > $AK_CACHEDIR/ak-find-latest-mined-sblock.json +ak schain --get-latest > $AK_CACHEDIR/ak-find-latest-mined-sblock.json ak zchain --crawl > $AK_CACHEDIR/ak-get-chain-minified.json ak zchain --get-latest > $AK_CACHEDIR/ak-get-zlatest.json diff --git a/api/tests/latest_known_mined_block.sh b/api/tests/latest_known_mined_block.sh index c4e40bb..64ff612 100755 --- a/api/tests/latest_known_mined_block.sh +++ b/api/tests/latest_known_mined_block.sh @@ -5,7 +5,7 @@ printf '[%s]\n' "$PROGRAM" printf "TEST\t/slatest\n" printf "\t01:\tendpoint" A="$(curl http://127.0.0.1:8610/v0/slatest 2>/dev/null)" -B="$(ak-find-latest-mined-sblock)" +B="$(ak schain --get-latest)" if [ "$A" == "$B" ] then printf '\t\t\033[0;32mPASSED\033[0;0m' |