Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
chore: [sc-1845] Release Feed v1.15 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
teghnet authored Mar 24, 2023
1 parent 8f1de05 commit 6528596
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 11 deletions.
8 changes: 4 additions & 4 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"oracle-suite": {
"branch": "v0.9.0",
"branch": "v0.9.1",
"description": null,
"homepage": null,
"owner": "chronicleprotocol",
"repo": "oracle-suite",
"rev": "afa937668f81e2b583294d24e116c2e448e5f988",
"sha256": "15k8knsqjalhzy9mdmmi8ppq776gqr05dh15b495vy3bbxzzrrbw",
"rev": "948262fc6a377472c2b3157a7f18520c74dc3265",
"sha256": "1q37928h1d44j0mv19jks56glx155bg292h8wrpfdqq6wbmfrdwy",
"type": "tarball",
"url": "https://github.com/chronicleprotocol/oracle-suite/archive/afa937668f81e2b583294d24e116c2e448e5f988.tar.gz",
"url": "https://github.com/chronicleprotocol/oracle-suite/archive/948262fc6a377472c2b3157a7f18520c74dc3265.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"setzer": {
Expand Down
2 changes: 1 addition & 1 deletion omnia/lib/feed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ constructMessage() {
# compose jq message arguments
_jqArgs=(
--arg assetPair "$_assetPair"
--arg version "$ORACLE_VERSION"
--arg version "$OMNIA_VERSION"
--arg price "$_price"
--arg priceHex "$_priceHex"
--arg time "$_time"
Expand Down
3 changes: 1 addition & 2 deletions omnia/lib/omnia.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#initialize environment
initEnv () {
ORACLE_VERSION=${ORACLE_VERSION:-"0.0.0-unknown"}
OMNIA_VERSION="$(cat ../version)"
OMNIA_VERSION=${OMNIA_VERSION:-"0.0.0-unknown"}

#Load Global configuration
importEnv || exit 1
Expand Down
2 changes: 1 addition & 1 deletion systemd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
in ''
mkdir -p $out/{bin,share}
cp -t $out/bin install-omnia
cp -t $out/share *.service *.json *.ini ${omnia}/*.json
cp -t $out/share *.service *.json *.ini ${omnia}/config/*.json
wrapProgram "$out/bin/install-omnia" \
--prefix PATH : "${path}" \
Expand Down
4 changes: 1 addition & 3 deletions systemd/install-omnia
Original file line number Diff line number Diff line change
Expand Up @@ -381,10 +381,10 @@ copyTorConfig() {

installConfigs() {
copyOmniaConf "feed-ethereum-mainnet.json"
copySplitterConf
copySsbConf
copySpireConf
copyTorConfig
copySplitterConf
copyGoferConf
copyLeelooConf
}
Expand Down Expand Up @@ -614,8 +614,6 @@ done
installConfigs
installServices

"$OMNIA_PATH" info

echo >&2 "To (re)start Omnia now (and auto-start on reboot) run:"
echo "systemctl daemon-reload # Reload systemd services"
echo -n "$systemdCmd"

0 comments on commit 6528596

Please sign in to comment.