From 285ce29576aa09d4745c55f77b81ce169a22a282 Mon Sep 17 00:00:00 2001
From: Bilog WEB3 <155262265+Bilogweb3@users.noreply.github.com>
Date: Mon, 23 Dec 2024 15:55:35 +0100
Subject: [PATCH 01/18] Update Ethdebugger.ts
---
libs/remix-debug/src/Ethdebugger.ts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libs/remix-debug/src/Ethdebugger.ts b/libs/remix-debug/src/Ethdebugger.ts
index a22b29313c..6dc4be709c 100644
--- a/libs/remix-debug/src/Ethdebugger.ts
+++ b/libs/remix-debug/src/Ethdebugger.ts
@@ -10,13 +10,13 @@ import { SolidityProxy, stateDecoder, localDecoder, InternalCallTree } from './s
import { extractStateVariables } from './solidity-decoder/stateDecoder'
/**
- * Ethdebugger is a wrapper around a few classes that helps debugging a transaction
+ * Ethdebugger is a wrapper around a few classes that helps debug a transaction
*
* - TraceManager - Load / Analyze the trace and retrieve details of specific test
* - CodeManager - Retrieve loaded byte code and help to resolve AST item from vmtrace index
* - SolidityProxy - Basically used to extract state variable from AST
- * - Breakpoint Manager - Used to add / remove / jumpto breakpoint
- * - InternalCallTree - Used to retrieved local variables
+ * - Breakpoint Manager - Used to add / remove / jump to breakpoint
+ * - InternalCallTree - Used to retrieve local variables
* - StorageResolver - Help resolving the storage across different steps
*
* @param {Map} opts - { function compilationResult } //
From 66bc414feed66c02246d1e593008ac03380588b9 Mon Sep 17 00:00:00 2001
From: calciumbe <192480234+calciumbe@users.noreply.github.com>
Date: Mon, 23 Dec 2024 20:01:27 +0800
Subject: [PATCH 02/18] fix typo in CONTRIBUTING.md
---
CONTRIBUTING.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 573abd59a7..3aae0cf600 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -30,7 +30,7 @@ There are many languages, for each project. But if you do not see your desired
In addition to writing translations, you can also review other's work.
-### How to make your plugin suport string internationalization?
+### How to make your plugin support string internationalization?
First, put the string in the locale file located under `apps/remix-ide/src/app/tabs/locales/en`.
Each json file corresponds to a module. If the module does not exist, then create a new json and import it in the `index.js`.
Then you can replace the string with an intl component. The `id` prop will be the key of this string.
From f686fd60c34d88bf6e648fd442cd40f9d4eb4a48 Mon Sep 17 00:00:00 2001
From: calciumbe <192480234+calciumbe@users.noreply.github.com>
Date: Mon, 23 Dec 2024 20:01:44 +0800
Subject: [PATCH 03/18] fix typo in
libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx
---
libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx b/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx
index 8eaa6e8ec2..d9f9b44955 100644
--- a/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx
+++ b/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx
@@ -247,7 +247,7 @@ export const TabsUI = (props: TabsUIProps) => {
-
+
{
disabled={state.useFileConfiguration}
value={state.language}
className="custom-select"
- id="compilierLanguageSelector"
+ id="compilerLanguageSelector"
style={{
pointerEvents: state.useFileConfiguration ? 'none' : 'auto'
}}
From 19b8919b6a4f3322ba4cf886b30acccbe0231d5a Mon Sep 17 00:00:00 2001
From: calciumbe <192480234+calciumbe@users.noreply.github.com>
Date: Mon, 23 Dec 2024 20:10:36 +0800
Subject: [PATCH 07/18] fix typo in apps/remixdesktop/test/lib/git.ts
---
apps/remixdesktop/test/lib/git.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/remixdesktop/test/lib/git.ts b/apps/remixdesktop/test/lib/git.ts
index 2a47d54477..e22e1493a4 100644
--- a/apps/remixdesktop/test/lib/git.ts
+++ b/apps/remixdesktop/test/lib/git.ts
@@ -147,7 +147,7 @@ export async function createCommitOnLocalServer(path: string, message: string) {
});
git.stderr.on('data', function (data) {
- console.error('data commiting', data.toString());
+ console.error('data committing', data.toString());
reject(data.toString());
});
From 51b11588b9eeb3510123941be4cf6b8912c006aa Mon Sep 17 00:00:00 2001
From: calciumbe <192480234+calciumbe@users.noreply.github.com>
Date: Mon, 23 Dec 2024 20:10:47 +0800
Subject: [PATCH 08/18] fix typo in
apps/remix-ide-e2e/src/tests/dgit_local.test.ts
---
apps/remix-ide-e2e/src/tests/dgit_local.test.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/remix-ide-e2e/src/tests/dgit_local.test.ts b/apps/remix-ide-e2e/src/tests/dgit_local.test.ts
index a20624a37c..500b034ae8 100644
--- a/apps/remix-ide-e2e/src/tests/dgit_local.test.ts
+++ b/apps/remix-ide-e2e/src/tests/dgit_local.test.ts
@@ -583,7 +583,7 @@ async function createCommitOnLocalServer(path: string, message: string) {
});
git.stderr.on('data', function (data) {
- console.error('data commiting', data.toString());
+ console.error('data committing', data.toString());
reject(data.toString());
});
From 6994b34b159f842d8f8c301f2dee4216fb7d9f32 Mon Sep 17 00:00:00 2001
From: XxAlex74xX <30472093+XxAlex74xX@users.noreply.github.com>
Date: Mon, 23 Dec 2024 12:00:10 +0100
Subject: [PATCH 09/18] Update webpack.config.js
---
apps/vyper/webpack.config.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/vyper/webpack.config.js b/apps/vyper/webpack.config.js
index 4bc648f1db..3c2848f266 100644
--- a/apps/vyper/webpack.config.js
+++ b/apps/vyper/webpack.config.js
@@ -48,7 +48,7 @@ module.exports = composePlugins(withNx(), (config) => {
})
)
- // souce-map loader
+ // source-map loader
config.module.rules.push({
test: /\.js$/,
use: ['source-map-loader'],
From 6ed0de7b4264d3f2886bc7c14dc3089fb5469799 Mon Sep 17 00:00:00 2001
From: Skylar Ray <137945430+sky-coderay@users.noreply.github.com>
Date: Mon, 23 Dec 2024 13:09:29 +0200
Subject: [PATCH 10/18] Update TEST.md
---
apps/remixdesktop/TEST.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/remixdesktop/TEST.md b/apps/remixdesktop/TEST.md
index ea730c689f..b3d44c1172 100644
--- a/apps/remixdesktop/TEST.md
+++ b/apps/remixdesktop/TEST.md
@@ -35,7 +35,7 @@ Normally when you would do a 'real' release you would package remix IDE into the
### Local testing
-In order to facilitate local testing nightwatch will boot the executable with the --e2e-local flag when running locally ( so outside of CIRCLE CI ). This means the electron app with load the local running Remix IDE.
+In order to facilitate local testing nightwatch will boot the executable with the --e2e-local flag when running locally ( so outside of CIRCLE CI ). This means the electron app will load the local running Remix IDE.
So to start testing locally
- run the IDE with 'yarn serve' as you would normally do.
From 2f70152dfa132cb01a1e033b892de0d894215cb0 Mon Sep 17 00:00:00 2001
From: linchizhen
Date: Mon, 23 Dec 2024 20:01:59 +0800
Subject: [PATCH 11/18] chore: fix 404 status URL
Signed-off-by: linchizhen
---
libs/remix-solidity/src/compiler/helper.ts | 2 +-
libs/remix-ui/renderer/src/lib/renderer.tsx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libs/remix-solidity/src/compiler/helper.ts b/libs/remix-solidity/src/compiler/helper.ts
index 8a74603044..d3e3a496a3 100644
--- a/libs/remix-solidity/src/compiler/helper.ts
+++ b/libs/remix-solidity/src/compiler/helper.ts
@@ -39,7 +39,7 @@ export default {
// ^ e.g:
// browser/gm.sol: Warning: Source file does not specify required compiler version! Consider adding "pragma solidity ^0.6.12
- // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.2.0/contracts/introspection/IERC1820Registry.sol:3:1: ParserError: Source file requires different compiler version (current compiler is 0.7.4+commit.3f05b770.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version
+ // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.2.0/contracts/introspection/IERC1820Registry.sol: ParserError: Source file requires different compiler version (current compiler is 0.7.4+commit.3f05b770.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version
getPositionDetails: (msg: string) => {
const result = { } as Record
diff --git a/libs/remix-ui/renderer/src/lib/renderer.tsx b/libs/remix-ui/renderer/src/lib/renderer.tsx
index 75ba8b7e60..7decc50989 100644
--- a/libs/remix-ui/renderer/src/lib/renderer.tsx
+++ b/libs/remix-ui/renderer/src/lib/renderer.tsx
@@ -47,7 +47,7 @@ export const Renderer = ({ message, opt, plugin, context }: RendererProps) => {
// ^ e.g:
// browser/gm.sol: Warning: Source file does not specify required compiler version! Consider adding "pragma solidity ^0.6.12
- // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.2.0/contracts/introspection/IERC1820Registry.sol:3:1: ParserError: Source file requires different compiler version (current compiler is 0.7.4+commit.3f05b770.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version
+ // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.2.0/contracts/introspection/IERC1820Registry.sol: ParserError: Source file requires different compiler version (current compiler is 0.7.4+commit.3f05b770.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version
if (!opt.errLine) {
const positionDetails = helper.getPositionDetails(text)
From 0242f5287be3b5c71780a7f8cecef1e2239843a7 Mon Sep 17 00:00:00 2001
From: wizard <112275929+famouswizard@users.noreply.github.com>
Date: Mon, 23 Dec 2024 13:33:06 +0300
Subject: [PATCH 12/18] Fixed comment typo Update securityAgent.ts
---
libs/remix-ai-core/src/agents/securityAgent.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/remix-ai-core/src/agents/securityAgent.ts b/libs/remix-ai-core/src/agents/securityAgent.ts
index ef69b94d41..066db08dd7 100644
--- a/libs/remix-ai-core/src/agents/securityAgent.ts
+++ b/libs/remix-ai-core/src/agents/securityAgent.ts
@@ -2,7 +2,7 @@
import * as fs from 'fs';
class SecurityAgent {
- private codebase: string[]; // list of code base file
+ private codebase: string[]; // list of code base files
public currentFile: string;
constructor(codebasePath: string) {
From 92decbfbb619ccd54411d87887045703241b6e5b Mon Sep 17 00:00:00 2001
From: Danil <37103154+Danyylka@users.noreply.github.com>
Date: Thu, 19 Dec 2024 19:16:52 +0100
Subject: [PATCH 13/18] Update constants.ts
---
libs/remix-ai-core/src/types/constants.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/remix-ai-core/src/types/constants.ts b/libs/remix-ai-core/src/types/constants.ts
index 44ed95d55c..e37db0c133 100644
--- a/libs/remix-ai-core/src/types/constants.ts
+++ b/libs/remix-ai-core/src/types/constants.ts
@@ -6,4 +6,4 @@ export enum ModelType {
CODE_COMPLETION_INSERTION = 'code_completion_insertion',
}
-export const COMPLETION_SYSTEM_PROMPT = "You are a Solidity AI Assistant that complete user code with provided context. You provide accurate solution and always answer as helpfully as possible, while being safe. You only provide code using this context:\n"
+export const COMPLETION_SYSTEM_PROMPT = "You are a Solidity AI Assistant that completes user code with provided context. You provide accurate solution and always answer as helpfully as possible, while being safe. You only provide code using this context:\n"
From 66a1abf6bd4b9ca40f8463b18f6a5c78f57b159a Mon Sep 17 00:00:00 2001
From: Danil <37103154+Danyylka@users.noreply.github.com>
Date: Thu, 19 Dec 2024 19:18:09 +0100
Subject: [PATCH 14/18] Update models.ts
---
libs/remix-ai-core/src/types/models.ts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libs/remix-ai-core/src/types/models.ts b/libs/remix-ai-core/src/types/models.ts
index 0f46dbd75b..af64d2cb7e 100644
--- a/libs/remix-ai-core/src/types/models.ts
+++ b/libs/remix-ai-core/src/types/models.ts
@@ -26,7 +26,7 @@ const DefaultModels = (): IModel[] => {
};
const model3: IModel = {
- name: 'llaama3.1_8B',
+ name: 'llama3.1_8B',
modelOP: RemoteBackendOPModel.CODELLAMA,
task: 'text-generation',
modelName: 'llama3_1_8B-q4_0.gguf',
@@ -36,7 +36,7 @@ const DefaultModels = (): IModel[] => {
};
const model4: IModel = {
- name: 'llaama3.1_8B_instruct',
+ name: 'llama3.1_8B_instruct',
modelOP: RemoteBackendOPModel.CODELLAMA,
task: 'text-generation',
modelName: 'llama3_1_8B-q4_0_instruct.gguf',
@@ -82,4 +82,4 @@ const GenerationParams:IParams = {
terminal_output: false,
}
-export { DefaultModels, CompletionParams, InsertionParams, GenerationParams }
\ No newline at end of file
+export { DefaultModels, CompletionParams, InsertionParams, GenerationParams }
From b7f13d6e6b9136bb60e43569834ff5b3aaf0b6bc Mon Sep 17 00:00:00 2001
From: Danil <37103154+Danyylka@users.noreply.github.com>
Date: Thu, 19 Dec 2024 19:18:53 +0100
Subject: [PATCH 15/18] Update types.ts
---
libs/remix-ai-core/src/types/types.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/remix-ai-core/src/types/types.ts b/libs/remix-ai-core/src/types/types.ts
index ecf84586a1..1e5d9fb603 100644
--- a/libs/remix-ai-core/src/types/types.ts
+++ b/libs/remix-ai-core/src/types/types.ts
@@ -1,6 +1,6 @@
// model implementation for the model selection component
-import exp from 'constants';
+import constants from 'constants';
import { ModelType } from './constants';
export interface IModelRequirements{
From 56ce75513da648415b66d7a084a81715ef6820ad Mon Sep 17 00:00:00 2001
From: Danil <37103154+Danyylka@users.noreply.github.com>
Date: Thu, 19 Dec 2024 19:19:40 +0100
Subject: [PATCH 16/18] Update abstractAstView.ts
---
.../src/solidity-analyzer/modules/abstractAstView.ts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libs/remix-analyzer/src/solidity-analyzer/modules/abstractAstView.ts b/libs/remix-analyzer/src/solidity-analyzer/modules/abstractAstView.ts
index 8af8cf7994..5434048a91 100644
--- a/libs/remix-analyzer/src/solidity-analyzer/modules/abstractAstView.ts
+++ b/libs/remix-analyzer/src/solidity-analyzer/modules/abstractAstView.ts
@@ -11,7 +11,7 @@ import {
type WrapFunction = ((contracts: ContractHLAst[], isSameName: boolean, version: string) => ReportObj[])
-export default class abstractAstView {
+export default class AbstractAstView {
contracts: ContractHLAst[] = []
currentContractIndex = -1
currentFunctionIndex = -1
@@ -91,7 +91,7 @@ export default class abstractAstView {
parameters: this.getLocalParameters(node)
})
} else if (node.nodeType === 'ModifierInvocation') {
- if (!this.isFunctionNotModifier) throw new Error('abstractAstView.js: Found modifier invocation outside of function scope.')
+ if (!this.isFunctionNotModifier) throw new Error('AbstractAstView.js: Found modifier invocation outside of function scope.')
this.getCurrentFunction().modifierInvocations.push(node)
} else if (relevantNodeFilter(node)) {
let scope: FunctionHLAst | ModifierHLAst | ContractHLAst = (this.isFunctionNotModifier) ? this.getCurrentFunction() : this.getCurrentModifier()
@@ -130,7 +130,7 @@ export default class abstractAstView {
if (inheritsFrom) {
currentContract.stateVariables = currentContract.stateVariables.concat(inheritsFrom.stateVariables)
} else {
- console.log('abstractAstView.js: could not find contract definition inherited from ' + inheritsFromName)
+ console.log('AbstractAstView.js: could not find contract definition inherited from ' + inheritsFromName)
}
})
}
@@ -138,7 +138,7 @@ export default class abstractAstView {
private setCurrentContract (contract: ContractHLAst): void {
const name: string = getContractName(contract.node)
if (this.contracts.map((c: ContractHLAst) => getContractName(c.node)).filter((n) => n === name).length > 0) {
- console.log('abstractAstView.js: two or more contracts with the same name detected, import aliases not supported at the moment')
+ console.log('AbstractAstView.js: two or more contracts with the same name detected, import aliases not supported at the moment')
this.multipleContractsWithSameName = true
}
this.currentContractIndex = (this.contracts.push(contract) - 1)
From 19ac89afdf60b9457d277d9cc952707717274456 Mon Sep 17 00:00:00 2001
From: Skylar Ray <137945430+sky-coderay@users.noreply.github.com>
Date: Mon, 23 Dec 2024 18:02:46 +0200
Subject: [PATCH 17/18] Update types.ts
---
libs/remix-astwalker/src/types.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/remix-astwalker/src/types.ts b/libs/remix-astwalker/src/types.ts
index 469d32c914..6df2eba9da 100644
--- a/libs/remix-astwalker/src/types.ts
+++ b/libs/remix-astwalker/src/types.ts
@@ -1,5 +1,5 @@
// FIXME: should this be renamed to indicate its offset/length orientation?
-// Add "reaadonly property"?
+// Add "readonly property"?
export interface Location {
start: number;
length: number;
From 9ca98d0b8966340e77f9b6f95510365f5ef66d37 Mon Sep 17 00:00:00 2001
From: Skylar Ray <137945430+sky-coderay@users.noreply.github.com>
Date: Mon, 23 Dec 2024 18:03:22 +0200
Subject: [PATCH 18/18] Update compiler-artefacts.ts
---
libs/remix-core-plugin/src/lib/compiler-artefacts.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libs/remix-core-plugin/src/lib/compiler-artefacts.ts b/libs/remix-core-plugin/src/lib/compiler-artefacts.ts
index 1212d7e865..ec5e5e57fb 100644
--- a/libs/remix-core-plugin/src/lib/compiler-artefacts.ts
+++ b/libs/remix-core-plugin/src/lib/compiler-artefacts.ts
@@ -68,7 +68,7 @@ export class CompilerArtefacts extends Plugin {
/**
* Get compilation output for contracts compiled during a session of Remix IDE
- * @returns compilatin output
+ * @returns compilation output
*/
getAllContractDatas() {
return this.filterAllContractDatas(() => true)
@@ -76,7 +76,7 @@ export class CompilerArtefacts extends Plugin {
/**
* filter compilation output for contracts compiled during a session of Remix IDE
- * @returns compilatin output
+ * @returns compilation output
*/
filterAllContractDatas(filter) {
const contractsData = {}