Skip to content

Commit 2c7f84a

Browse files
authored
Merge pull request #3638 from iron-fish/staging
STAGING -> MASTER
2 parents 4127bb6 + 429afb5 commit 2c7f84a

File tree

44 files changed

+1056
-100
lines changed

Some content is hidden

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

44 files changed

+1056
-100
lines changed

ironfish-cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ironfish",
3-
"version": "0.1.71",
3+
"version": "0.1.72",
44
"description": "CLI for running and interacting with an Iron Fish node",
55
"author": "Iron Fish <[email protected]> (https://ironfish.network)",
66
"main": "build/src/index.js",
@@ -59,8 +59,8 @@
5959
"@aws-sdk/client-s3": "3.127.0",
6060
"@aws-sdk/client-secrets-manager": "3.276.0",
6161
"@aws-sdk/s3-request-presigner": "3.127.0",
62-
"@ironfish/rust-nodejs": "0.1.28",
63-
"@ironfish/sdk": "0.0.48",
62+
"@ironfish/rust-nodejs": "0.1.29",
63+
"@ironfish/sdk": "0.0.49",
6464
"@oclif/core": "1.23.1",
6565
"@oclif/plugin-help": "5.1.12",
6666
"@oclif/plugin-not-found": "2.3.1",

ironfish-cli/src/commands/faucet.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { ONE_FISH_IMAGE, TWO_FISH_IMAGE } from '../images'
1111
const FAUCET_DISABLED = false
1212

1313
export class FaucetCommand extends IronfishCommand {
14-
static description = `Receive coins from the Iron Fish official Faucet`
14+
static description = `Receive coins from the Iron Fish official testnet Faucet`
1515

1616
static flags = {
1717
...RemoteFlags,
@@ -33,10 +33,16 @@ export class FaucetCommand extends IronfishCommand {
3333
this.exit(1)
3434
}
3535

36-
this.log(ONE_FISH_IMAGE)
37-
3836
const client = await this.sdk.connectRpc()
37+
const networkInfoResponse = await client.getNetworkInfo()
38+
39+
if (networkInfoResponse.content === null || networkInfoResponse.content.networkId !== 0) {
40+
// not testnet
41+
this.log(`The faucet is only available for testnet.`)
42+
this.exit(1)
43+
}
3944

45+
this.log(ONE_FISH_IMAGE)
4046
let email = flags.email
4147

4248
if (!email) {

ironfish-cli/src/commands/wallet/post.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export class PostCommand extends IronfishCommand {
3434
}),
3535
broadcast: Flags.boolean({
3636
default: true,
37+
allowNo: true,
3738
description: 'Broadcast the transaction after posting',
3839
}),
3940
}

ironfish-rust-nodejs/npm/darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ironfish/rust-nodejs-darwin-arm64",
3-
"version": "0.1.28",
3+
"version": "0.1.29",
44
"os": [
55
"darwin"
66
],

ironfish-rust-nodejs/npm/darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ironfish/rust-nodejs-darwin-x64",
3-
"version": "0.1.28",
3+
"version": "0.1.29",
44
"os": [
55
"darwin"
66
],

ironfish-rust-nodejs/npm/linux-arm64-gnu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ironfish/rust-nodejs-linux-arm64-gnu",
3-
"version": "0.1.28",
3+
"version": "0.1.29",
44
"os": [
55
"linux"
66
],

ironfish-rust-nodejs/npm/linux-arm64-musl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ironfish/rust-nodejs-linux-arm64-musl",
3-
"version": "0.1.28",
3+
"version": "0.1.29",
44
"os": [
55
"linux"
66
],

ironfish-rust-nodejs/npm/linux-x64-gnu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ironfish/rust-nodejs-linux-x64-gnu",
3-
"version": "0.1.28",
3+
"version": "0.1.29",
44
"os": [
55
"linux"
66
],

ironfish-rust-nodejs/npm/linux-x64-musl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ironfish/rust-nodejs-linux-x64-musl",
3-
"version": "0.1.28",
3+
"version": "0.1.29",
44
"os": [
55
"linux"
66
],

ironfish-rust-nodejs/npm/win32-x64-msvc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ironfish/rust-nodejs-win32-x64-msvc",
3-
"version": "0.1.28",
3+
"version": "0.1.29",
44
"os": [
55
"win32"
66
],

0 commit comments

Comments
 (0)