From edc5b2e8b638147b446cf71ba1c44f08a179981a Mon Sep 17 00:00:00 2001 From: crStiv Date: Thu, 19 Dec 2024 21:07:04 +0100 Subject: [PATCH 1/4] typo --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d22b378d2a..93f3be501e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,7 @@ name: Tests # Tests runs unit tests -# This workflow is run on pushed to [develop* master*] and every Pull Requeset where a .go, .mod, .sum have been changed +# This workflow is run on pushed to [develop* master*] and every Pull Request where a .go, .mod, .sum have been changed on: pull_request: From caa5febeac292f2f5fbd1a2ca406f843cfad3ae1 Mon Sep 17 00:00:00 2001 From: crStiv Date: Thu, 19 Dec 2024 21:10:42 +0100 Subject: [PATCH 2/4] redundancy --- app/upgrades/mainnet/v1/upgrades.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/upgrades/mainnet/v1/upgrades.go b/app/upgrades/mainnet/v1/upgrades.go index 1dbea60b45..6de8d6b7be 100644 --- a/app/upgrades/mainnet/v1/upgrades.go +++ b/app/upgrades/mainnet/v1/upgrades.go @@ -60,7 +60,7 @@ func BurnToken(ctx sdk.Context, _ *authkeeper.AccountKeeper, bank *bankkeeper.Ba break } - // If account address address is not equal to delegator address burn token + // If account address is not equal to delegator address burn token found = false } if !found { From ca7ce944cfc3d5a5fbbb8271358bce728c08af08 Mon Sep 17 00:00:00 2001 From: crStiv Date: Thu, 19 Dec 2024 21:18:19 +0100 Subject: [PATCH 3/4] typo --- app/upgrades/testnet/v4/upgrades.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/upgrades/testnet/v4/upgrades.go b/app/upgrades/testnet/v4/upgrades.go index 4d9dd59d92..99b7776ea3 100644 --- a/app/upgrades/testnet/v4/upgrades.go +++ b/app/upgrades/testnet/v4/upgrades.go @@ -323,7 +323,7 @@ func RefundIAPNFTBUY(ctx sdk.Context, pylons *pylonskeeper.Keeper, _ *authkeeper // Query All recipes made with cookbook on chain recipes := pylons.GetAllRecipesByCookbook(ctx, cookbook.Id) for _, recipe := range recipes { - // Check If Recipe is executed atleast once + // Check If Recipe is executed at least once if recipe.Entries.ItemOutputs[0].AmountMinted > 0 { // Query All Execution Record of the Recipe executions := pylons.GetAllExecuteRecipeHis(ctx, cookbook.Id, recipe.Id) From 66b9487726971ea1cbbf1e3c98f4181267ada31f Mon Sep 17 00:00:00 2001 From: crStiv Date: Thu, 19 Dec 2024 21:24:30 +0100 Subject: [PATCH 4/4] typo --- app/upgrades/testnet/v5/upgrades.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/upgrades/testnet/v5/upgrades.go b/app/upgrades/testnet/v5/upgrades.go index 926e5dd438..0d3d2140af 100644 --- a/app/upgrades/testnet/v5/upgrades.go +++ b/app/upgrades/testnet/v5/upgrades.go @@ -73,7 +73,7 @@ func BurnToken(ctx sdk.Context, _ *authkeeper.AccountKeeper, bank *bankkeeper.Ba // Mint ubedrock for master wallet func MintUbedrockForInitialAccount(ctx sdk.Context, bank *bankkeeper.BaseKeeper, _ *stakingkeeper.Keeper) { - // Get currect balance of master wallet address + // Get current balance of master wallet address balance := bank.GetBalance(ctx, sdk.MustAccAddressFromBech32(MasterWallet), types.StakingCoinDenom) // check difference in amount to add toAdd := MasterWalletbalance.Sub(balance.Amount)