Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix problematic const name and some typos in comment #3516

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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