Skip to content

Commit

Permalink
Fix unit tests and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Olshansk committed Jan 17, 2025
1 parent 54742fe commit aa9cd01
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docusaurus/docs/operate/user_guide/check-balance.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ balance using the `poktrolld` command-line interface (CLI).

## Pre-requisites

1. `poktrolld` is installed on your system; see the [installation guide](./install) for more details
1. `poktrolld` is installed on your system; see the [installation guide](./poktrolld_cli.md) for more details
2. You have the address of the wallet you wish to check
3. You know the token denomination you wish to check; `upokt` for POKT tokens

Expand Down
2 changes: 1 addition & 1 deletion docusaurus/docs/operate/user_guide/create-new-wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ refer to the [Cosmos SDK Keyring documentation](https://docs.cosmos.network/main

Ensure you have `poktrolld` installed on your system.

Follow the [installation guide](./install) specific to your operating system.
Follow the [installation guide](./poktrolld_cli.md) specific to your operating system.

## Step 2: Creating the Wallet

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ seed phrase, recovering your account is straightforward!
## Pre-requisites

- You have the mnemonic seed phrase of the wallet you wish to recover
- `poktrolld` is installed on your system; see the [installation guide](./install) for more details
- `poktrolld` is installed on your system; see the [installation guide](./poktrolld_cli.md) for more details

## Step 1: Prepare to Recover Your Wallet

Expand Down
2 changes: 1 addition & 1 deletion docusaurus/docs/operate/user_guide/send-tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Pocket Network using the `poktrolld` command-line interface (CLI).

## Pre-requisites

1. `poktrolld` is installed on your system; see the [installation guide](./install) for more details
1. `poktrolld` is installed on your system; see the [installation guide](./poktrolld_cli.md) for more details
2. You have access to your wallet with sufficient tokens for the transaction and fees
3. You have the recipient's address

Expand Down
4 changes: 2 additions & 2 deletions x/tokenomics/keeper/token_logic_modules_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func TestProcessTokenLogicModules_TLMBurnEqualsMint_Valid_SupplierExceedsMaxClai
service := prepareTestService(serviceComputeUnitsPerRelay)
numRelays := uint64(1000) // By a single supplier for application in this session
supplierInitialStake := cosmosmath.NewInt(1000000)
supplierRevShareRatios := []float32{12.5, 37.5, 50}
supplierRevShareRatios := []float64{12.5, 37.5, 50}

// Prepare the keepers
keepers, ctx := testkeeper.NewTokenomicsModuleKeepers(t,
Expand Down Expand Up @@ -338,7 +338,7 @@ func TestProcessTokenLogicModules_TLMGlobalMint_Valid_MintDistributionCorrect(t
// Test Parameters
appInitialStake := apptypes.DefaultMinStake.Amount.Mul(cosmosmath.NewInt(2))
supplierInitialStake := cosmosmath.NewInt(1000000)
supplierRevShareRatios := []float32{12.5, 37.5, 50}
supplierRevShareRatios := []float64{12.5, 37.5, 50}
globalComputeUnitsToTokensMultiplier := uint64(1)
serviceComputeUnitsPerRelay := uint64(1)
service := prepareTestService(serviceComputeUnitsPerRelay)
Expand Down

0 comments on commit aa9cd01

Please sign in to comment.