Merge pull request #4130 from xiaolou86/master

Fix typos
tempproxy
Liana Husikyan 1 year ago committed by GitHub
commit 402f427638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/remix-ide/src/app/tabs/network-module.js
  2. 12
      libs/remix-analyzer/src/solidity-analyzer/modules/staticAnalysisCommon.ts
  3. 2
      libs/remix-astwalker/src/sourceMappings.ts
  4. 4
      libs/remix-astwalker/src/types.ts
  5. 2
      libs/remix-lib/src/execution/txListener.ts
  6. 2
      libs/remix-lib/src/execution/txRunnerVM.ts

@ -53,7 +53,7 @@ export class NetworkModule extends Plugin {
this.blockchain.addProvider({ name: network.name, provider })
}
/** Remove a network to the list of availble networks */
/** Remove a network to the list of available networks */
removeNetwork (name) {
this.blockchain.removeProvider(name)
}

@ -427,7 +427,7 @@ function getLibraryCallMemberName (funcCall: FunctionCallAstNode): string {
* function baz() {
* bar(10) => foo.bar(uint)
* @func {ASTNode} function call node
* @func {ASTNode} contract defintion
* @func {ASTNode} contract definition
* @return {string} full qualified identifier for the function call
*/
function getFullQualifiedFunctionCallIdent (contract: ContractDefinitionAstNode, func: FunctionCallAstNode): string {
@ -468,8 +468,8 @@ function isStatement (node: any): boolean {
// #################### Complex Node Identification
/**
* True if function defintion has function body
* @funcNode {ASTNode} function defintion node
* True if function definition has function body
* @funcNode {ASTNode} function definition node
* @return {bool}
*/
function hasFunctionBody (funcNode: FunctionDefinitionAstNode): boolean {
@ -630,7 +630,7 @@ function isStateVariable (name: string, stateVariables: VariableDeclarationAstNo
}
/**
* True if is function defintion that is flaged as constant
* True if is function definition that is flaged as constant
* @node {ASTNode} some AstNode
* @return {bool}
*/
@ -648,7 +648,7 @@ function isVariableTurnedIntoGetter (varDeclNode: VariableDeclarationAstNode): b
}
/**
* True if is function defintion has payable modifier
* True if is function definition has payable modifier
* @node {ASTNode} some AstNode
* @return {bool}
*/
@ -743,7 +743,7 @@ function isFullyImplementedContract (node: ContractDefinitionAstNode): boolean {
}
/**
* True if it is a library contract defintion
* True if it is a library contract definition
* @node {ASTNode} some AstNode
* @return {bool}
*/

@ -56,7 +56,7 @@ export function sourceLocationFromSrc (src: string): Location {
/**
* Routines for retrieving solc AST object(s) using some criteria, usually
* includng "src' information.
* including "src' information.
*/
// eslint-disable-next-line no-redeclare
export class SourceMappings {

@ -6,7 +6,7 @@ export interface Location {
file: number; // Would it be clearer to call this a file index?
}
// This is intended to be compatibile with VScode's Position.
// This is intended to be compatible with VScode's Position.
// However it is pretty common with other things too.
// Note: File index is missing here
export interface LineColPosition {
@ -14,7 +14,7 @@ export interface LineColPosition {
readonly character: number;
}
// This is intended to be compatibile with vscode's Range
// This is intended to be compatible with vscode's Range
// However it is pretty common with other things too.
// Note: File index is missing here
export interface LineColRange {

@ -36,7 +36,7 @@ export class TxListener {
constructor (opt, executionContext) {
this.event = new EventManager()
// has a default for now for backwards compatability
// has a default for now for backwards compatibility
this.executionContext = executionContext
this._api = opt.api
this._resolvedTransactions = {}

@ -34,7 +34,7 @@ export class TxRunnerVM {
constructor (vmaccounts, api, getVMObject) {
this.event = new EventManager()
this.logsManager = new LogsManager()
// has a default for now for backwards compatability
// has a default for now for backwards compatibility
this.getVMObject = getVMObject
this.commonContext = this.getVMObject().common
this.blockNumber = 0

Loading…
Cancel
Save