diff --git a/run-ci-tests.sh b/run-ci-tests.sh index dd52223ea6..0d8bac1f56 100755 --- a/run-ci-tests.sh +++ b/run-ci-tests.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e case $TEST_TYPE in diff --git a/run-integration-tests.sh b/run-integration-tests.sh index 3ffbbe4cac..b8573ea87a 100755 --- a/run-integration-tests.sh +++ b/run-integration-tests.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e ./run src/examples/zkapps/hello-world/run.ts --bundle diff --git a/run-jest-tests.sh b/run-jest-tests.sh index d103274798..54b84b73c5 100755 --- a/run-jest-tests.sh +++ b/run-jest-tests.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e shopt -s globstar # to expand '**' into nested directories diff --git a/run-minimal-mina-tests.sh b/run-minimal-mina-tests.sh index d6380585f2..327b5adfd3 100755 --- a/run-minimal-mina-tests.sh +++ b/run-minimal-mina-tests.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e npm run dev diff --git a/run-unit-tests.sh b/run-unit-tests.sh index 3e39307f36..08eaf3e4a3 100755 --- a/run-unit-tests.sh +++ b/run-unit-tests.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e shopt -s globstar # to expand '**' into nested directories./ diff --git a/src/bindings b/src/bindings index 30cefd9fa7..ecc9613933 160000 --- a/src/bindings +++ b/src/bindings @@ -1 +1 @@ -Subproject commit 30cefd9fa75a9c0cb9091edfc96410dea6bbacf1 +Subproject commit ecc9613933a718be067b42c9ab8e3e8b1aa331da diff --git a/src/examples/zkapps/hello-world/hello-world.ts b/src/examples/zkapps/hello-world/hello-world.ts index 6da2800f01..9b8ef89be2 100644 --- a/src/examples/zkapps/hello-world/hello-world.ts +++ b/src/examples/zkapps/hello-world/hello-world.ts @@ -9,7 +9,9 @@ import { state, } from 'o1js'; -export const adminPrivateKey = PrivateKey.random(); +export const adminPrivateKey = PrivateKey.fromBase58( + 'EKFcef5HKXAn7V2rQntLiXtJr15dkxrsrQ1G4pnYemhMEAWYbkZW' +); export const adminPublicKey = adminPrivateKey.toPublicKey(); export class HelloWorld extends SmartContract { diff --git a/src/lib/provable/field.ts b/src/lib/provable/field.ts index 8580f7f5d9..0199b6cf58 100644 --- a/src/lib/provable/field.ts +++ b/src/lib/provable/field.ts @@ -219,7 +219,7 @@ class Field { } /** - * Add a "field-like" value to this {@link Field} element. + * Add a field-like value to this {@link Field} element. * * @example * ```ts diff --git a/src/mina b/src/mina index 03e10fc739..43ab0db62d 160000 --- a/src/mina +++ b/src/mina @@ -1 +1 @@ -Subproject commit 03e10fc739d74f375cedd7388a84767bee4c7eb0 +Subproject commit 43ab0db62dd8423a5e7a88cd99abd8957476075f diff --git a/src/mina-signer/build-cjs.sh b/src/mina-signer/build-cjs.sh index 9c939d28cc..4c9fd72586 100755 --- a/src/mina-signer/build-cjs.sh +++ b/src/mina-signer/build-cjs.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e cp index.cjs dist/node/mina-signer/index.cjs diff --git a/src/mina-signer/build-web.sh b/src/mina-signer/build-web.sh index b6aa9558e8..02ec8e5814 100755 --- a/src/mina-signer/build-web.sh +++ b/src/mina-signer/build-web.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e tsc -p ../../tsconfig.mina-signer-web.json