Skip to content

Commit

Permalink
chore: fix problematic const name and some typos in comment
Browse files Browse the repository at this point in the history
Signed-off-by: mountcount <cuimoman@outlook.com>
  • Loading branch information
mountcount committed Nov 29, 2024
1 parent 607d226 commit 6094821
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/vm/core/accounts/internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const (
// prefixBaseTokens | <accountID> stores the amount of base tokens (big.Int)
// Covered in: TestFoundries
prefixBaseTokens = "b"
// prefixBaseTokens | <accountID> stores a map of <nativeTokenID> => big.Int
// PrefixNativeTokens | <accountID> stores a map of <nativeTokenID> => big.Int
// Covered in: TestFoundries
PrefixNativeTokens = "t"

Expand Down
2 changes: 1 addition & 1 deletion packages/vm/core/testcore/sbtests/gas_limits_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/webapi/websocket/commands/commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 6094821

Please sign in to comment.