Skip to content

Commit b45b9a6

Browse files
committed
Merge corvo/define-partitioned-work and resolve conflicts
2 parents 4a6f607 + 9ba1e8b commit b45b9a6

File tree

94 files changed

+14407
-1152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+14407
-1152
lines changed

automation/services/echo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is a simple node service that listens for transactions to a specific addres
44

55
## Usage
66

7-
First you'll need to have a `mina` daemon running on your machine. See [the docs for instructions](https://docs.minaprotocol.com/en/node-operators/getting-started) on getting a node, then run the following command:
7+
First you'll need to have a `mina` daemon running on your machine. See [the docs for instructions](https://docs.minaprotocol.com/node-operators) on getting a node, then run the following command:
88

99
```
1010
$ mina daemon -rest-port 49370 -peer beta.o1test.net:8303

automation/services/faucet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The faucet service is a simple Discord bot that listens for requests for `CODA`
44

55
## Usage
66

7-
First you'll need to have a `coda` daemon running on your machine. See the docs [here](https://docs.minaprotocol.com/en/node-operators/getting-started) for instructions on getting a node, then run the following command:
7+
First you'll need to have a `coda` daemon running on your machine. See the docs [here](https://docs.minaprotocol.com/node-operators) for instructions on getting a node, then run the following command:
88

99
```
1010
$ mina daemon -rest-port 49370 -peer beta.o1test.net:8303

buildkite/scripts/check-compatibility.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function image_tag {
1515
IMAGE_TAG="$SHA-bullseye-berkeley"
1616
}
1717

18-
function download-docker {
18+
function download_docker {
1919
SHA=$1
2020
image_tag $SHA
2121
docker pull gcr.io/o1labs-192920/mina-daemon:$IMAGE_TAG
@@ -27,7 +27,7 @@ function try_docker_shas {
2727
for sha in $DOCKER_SHAS; do
2828

2929
set +e
30-
download-docker $sha
30+
download_docker $sha
3131

3232
if [ $? -eq 0 ] ; then
3333
GOT_DOCKER=1
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
3+
set -eo pipefail
4+
5+
print_usage() {
6+
echo "Usage: $0 [-s|--silent] [-h|--help]"
7+
}
8+
9+
SILENT=0
10+
KEY_LOCATION="/var/secrets/debian/key.gpg"
11+
12+
while [[ "$#" -gt 0 ]]; do case $1 in
13+
-s|--silent) SILENT=1; ;;
14+
-h|--help) print_usage; exit 0;;
15+
*) echo "Unknown parameter passed: $1"; print_usage; exit 1;;
16+
esac; shift; done
17+
18+
sudo chown -R opam ~/.gnupg/
19+
if [ $SILENT == 1 ]; then
20+
gpg --batch --yes --import "$KEY_LOCATION"
21+
else
22+
echo "Importing GPG key"
23+
gpg --import "$KEY_LOCATION"
24+
fi

0 commit comments

Comments
 (0)