diff --git a/packages/vm/core/accounts/internal.go b/packages/vm/core/accounts/internal.go index b61ee38cf6..8395c41612 100644 --- a/packages/vm/core/accounts/internal.go +++ b/packages/vm/core/accounts/internal.go @@ -34,7 +34,7 @@ const ( // prefixBaseTokens | stores the amount of base tokens (big.Int) // Covered in: TestFoundries prefixBaseTokens = "b" - // prefixBaseTokens | stores a map of => big.Int + // PrefixNativeTokens | stores a map of => big.Int // Covered in: TestFoundries PrefixNativeTokens = "t" diff --git a/packages/vm/core/testcore/sbtests/gas_limits_test.go b/packages/vm/core/testcore/sbtests/gas_limits_test.go index 39a49da97a..dae31311ac 100644 --- a/packages/vm/core/testcore/sbtests/gas_limits_test.go +++ b/packages/vm/core/testcore/sbtests/gas_limits_test.go @@ -79,7 +79,7 @@ func testBlockGasOverflow(t *testing.T, w bool) { require.NoError(t, err) // the request number #{nRequests} should overflow the block and be moved to the next one require.Equal(t, nRequests-1, int(fullGasBlockInfo.TotalRequests)) - // gas burned will be sightly below the limit + // gas burned will be slightly below the limit require.LessOrEqual(t, fullGasBlockInfo.GasBurned, limits.MaxGasPerBlock) // 1 requests should be moved to the next block diff --git a/packages/webapi/websocket/commands/commands_test.go b/packages/webapi/websocket/commands/commands_test.go index d4452a176d..6d9270f030 100644 --- a/packages/webapi/websocket/commands/commands_test.go +++ b/packages/webapi/websocket/commands/commands_test.go @@ -96,7 +96,7 @@ func TestFailingSubscriptionDueToFailedSend(t *testing.T) { client := websockethub.NewClient(hub, nil, func(client *websockethub.Client) {}, func(client *websockethub.Client) {}) - // Force a fake cancelation of the websocket hub + // Force a fake cancellation of the websocket hub cancel() err := sendNodeCommand(manager, client, SubscriptionCommand{