Skip to content

Commit 4d5b168

Browse files
committed
Typo fixes.
1 parent dac8252 commit 4d5b168

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

nil/cmd/nil_block_generator/internal/commands/client_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,18 @@ func (s *NilBlockGeneratorTestSuite) TearDownTest() {
9797
}
9898

9999
func (s *NilBlockGeneratorTestSuite) TestGetBlock() {
100-
smartAccountAdr, hexKey, err := CreateNewSmartAccount(s.url, s.logger)
100+
smartAccountAddr, hexKey, err := CreateNewSmartAccount(s.url, s.logger)
101101
s.Require().NoError(err)
102-
s.Require().NotEmpty(smartAccountAdr)
102+
s.Require().NotEmpty(smartAccountAddr)
103103
s.Require().NotEmpty(hexKey)
104104

105-
contractAddress, err := DeployContract(s.url, smartAccountAdr, s.contractBasePath, hexKey, s.deployArgs, s.logger)
105+
contractAddress, err := DeployContract(s.url, smartAccountAddr, s.contractBasePath, hexKey, s.deployArgs, s.logger)
106106
s.Require().NoError(err)
107107
s.Require().NotEmpty(contractAddress)
108108

109109
var calls []Call
110110
calls = append(calls, *NewCall(s.contractName, s.method, s.contractBasePath+".abi", contractAddress, s.callArgs, 1))
111-
blockHash, err := CallContract(s.url, smartAccountAdr, hexKey, calls, s.logger)
111+
blockHash, err := CallContract(s.url, smartAccountAddr, hexKey, calls, s.logger)
112112
s.Require().NoError(err)
113113
s.Require().NotEmpty(blockHash)
114114
}

nil/internal/types/transaction.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ type AsyncResponsePayload struct {
274274
ReturnData []byte `ssz-max:"10000000"`
275275
}
276276

277-
// AsyncContext contains context of the request. For await requests it contains VM state, which will be restored upon
278-
// the response. For callback requests it contains captured variables(not implemented yet).
277+
// AsyncContext contains the context of the request. For await requests, it contains the VM state, which will be
278+
// restored upon receiving the response. For callback requests, it contains captured variables (not yet implemented).
279279
type AsyncContext struct {
280280
IsAwait bool `json:"isAwait"`
281281
Data []byte `ssz-max:"10000000" json:"data"`

0 commit comments

Comments
 (0)